aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-08-21 21:24:10 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-08-21 21:24:10 +0100
commitedb77e692f6419ac23f86bbae0f12453880b6efc (patch)
treeb1d3601bec4172c4a0be13856ad5c9ef9ead12d1
parent903a16174d048af222aff124558d73c0ac5e6080 (diff)
downloadmicro-lang-hs-edb77e692f6419ac23f86bbae0f12453880b6efc.tar.gz
micro-lang-hs-edb77e692f6419ac23f86bbae0f12453880b6efc.zip
Use # as line comment
-rw-r--r--src/Lexer.hs2
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
}