aboutsummaryrefslogtreecommitdiff
path: root/lux-bootstrapper/src
diff options
context:
space:
mode:
authorEduardo Julian2021-08-09 23:02:01 -0400
committerEduardo Julian2021-08-09 23:02:01 -0400
commit464b6e8f5e6c62f58fa8c7ff61ab2ad215e98bd1 (patch)
tree1ae9d95956cee4251cd29a3e24c246c4360d567d /lux-bootstrapper/src
parentf621a133e6e0a516c0586270fea8eaffb4829d82 (diff)
Improved single-line comment syntax (from "##" to "...").
Diffstat (limited to 'lux-bootstrapper/src')
-rw-r--r--lux-bootstrapper/src/lux/lexer.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/lux-bootstrapper/src/lux/lexer.clj b/lux-bootstrapper/src/lux/lexer.clj
index 49e29710a..47c985f21 100644
--- a/lux-bootstrapper/src/lux/lexer.clj
+++ b/lux-bootstrapper/src/lux/lexer.clj
@@ -42,7 +42,7 @@
(return (&/T [meta ($White_Space white-space)]))))
(def ^:private lex-comment
- (|do [_ (&reader/read-text "##")
+ (|do [_ (&reader/read-text "...")
[meta _ comment] (&reader/read-regex #"^(.*)$")]
(return (&/T [meta ($Comment comment)]))))