X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fparser%2FLexer.x;h=51aa2f397f1f01fa99544604f2a4dd8c7e60fbd7;hp=d350f11ee4e7522a4f299ba203bd96775d341063;hb=fa306a37eaae1020f4cbd6cbed04847db6c23273;hpb=987cb6856527112e9addf397a25bec8b6e6aa66b diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index d350f11..51aa2f3 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -1954,6 +1954,8 @@ lexTokenAlr = do mPending <- popPendingImplicitToken ITlet -> setAlrExpectingOCurly (Just ALRLayoutLet) ITof -> setAlrExpectingOCurly (Just ALRLayoutOf) ITdo -> setAlrExpectingOCurly (Just ALRLayoutDo) + ITmdo -> setAlrExpectingOCurly (Just ALRLayoutDo) + ITrec -> setAlrExpectingOCurly (Just ALRLayoutDo) _ -> return () return t