From c17d210b439e60eaaa5964ffe2eaa0351f4300f5 Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Sat, 4 Jun 2022 14:49:49 -0400 Subject: [PATCH] Fix scanning bug: = is now a terminator --- src/ludus/scanner.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ludus/scanner.clj b/src/ludus/scanner.clj index fa91d17..c6e9cd7 100644 --- a/src/ludus/scanner.clj +++ b/src/ludus/scanner.clj @@ -114,7 +114,7 @@ (defn- whitespace? [c] (or (= c \space) (= c \tab))) -(def terminators #{\: \; \newline \{ \} \( \) \[ \] \$ \# \- \< \& \, \| nil \\}) +(def terminators #{\: \; \newline \{ \} \( \) \[ \] \$ \# \- \= \& \, \| nil \\}) (defn- terminates? [c] (or (whitespace? c) (contains? terminators c)))