aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/storycode.l
diff options
context:
space:
mode:
Diffstat (limited to 'libstorycode/storycode.l')
-rw-r--r--libstorycode/storycode.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstorycode/storycode.l b/libstorycode/storycode.l
index cadd771..2e063f8 100644
--- a/libstorycode/storycode.l
+++ b/libstorycode/storycode.l
@@ -102,8 +102,8 @@ BGCOL { BEGIN(col); return SC_BGCOL; }
\n { BEGIN(0); lineno++; }
-"[" { sqb_caller = YY_START; BEGIN(sqb); return SC_SQOPEN; }
-"]" { BEGIN(sqb_caller); return SC_SQCLOSE; }
+"[" { sqb_caller = YY_START; BEGIN(sqb); return '['; }
+"]" { BEGIN(sqb_caller); return ']'; }
[{] { return '{'; }
[}] { return '}'; }
[. ] {}