From edb77e692f6419ac23f86bbae0f12453880b6efc Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 21 Aug 2022 21:24:10 +0100 Subject: Use # as line comment --- src/Lexer.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Lexer.hs b/src/Lexer.hs index 848a892..83a1391 100644 --- a/src/Lexer.hs +++ b/src/Lexer.hs @@ -13,7 +13,7 @@ scanner = T.makeTokenParser style names = ["module", "private", "def", "return", "->"] style = emptyDef - { T.commentLine = "//", + { T.commentLine = "#", T.reservedOpNames = ops, T.reservedNames = names } -- cgit v1.2.3