Skip to content

Commit f5d8f93

Browse files
committed
Fix #45
1 parent 5693eb9 commit f5d8f93

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demo/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h2>Lambda Calculus mode</h2>
2727
not = \ b . b false true
2828
const = true
2929

30-
# Invalid - multiple definition
30+
# Multiple definition
3131
true = not false
3232

3333
# Invalid names

lambdacalc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ CodeMirror.defineMode("lambdacalc", function(_config, modeConfig) {
2828
const NUMBER = "number";
2929
const EMPTY = "text";
3030
const UNDEF = "error";
31-
const REDEF = "error";
31+
const REDEF = "variable-3";
3232
const FAIL = "error";
3333

3434
const defName = /[a-zA-Z][a-zA-Z0-9_\-']*/

0 commit comments

Comments
 (0)