Skip to content

Commit 9dec81a

Browse files
committed
Make debug pragma stricter
1 parent 604cf3e commit 9dec81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdacalc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ CodeMirror.defineMode("lambdacalc", function(_config, modeConfig) {
128128
return;
129129
}
130130
if (stream.peek() === '#') {
131-
if (stream.match(/^#\s*debug\s*$/))
131+
if (stream.match(/^#debug\s*$/))
132132
state.debug = !state.debug;
133133
stream.skipToEnd();
134134
return "comment"

0 commit comments

Comments
 (0)