diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-08-21 21:24:10 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-08-21 21:24:10 +0100 |
commit | edb77e692f6419ac23f86bbae0f12453880b6efc (patch) | |
tree | b1d3601bec4172c4a0be13856ad5c9ef9ead12d1 /src/Lexer.hs | |
parent | 903a16174d048af222aff124558d73c0ac5e6080 (diff) | |
download | micro-lang-hs-edb77e692f6419ac23f86bbae0f12453880b6efc.tar.gz micro-lang-hs-edb77e692f6419ac23f86bbae0f12453880b6efc.zip |
Use # as line comment
Diffstat (limited to 'src/Lexer.hs')
-rw-r--r-- | src/Lexer.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |