We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ae33e2 commit e264c04Copy full SHA for e264c04
lambdacalc.js
@@ -21,7 +21,7 @@ CodeMirror.defineMode("lambdacalc", function(_config, modeConfig) {
21
const assign = /=/
22
const brack = /\(|\)/
23
const lamArg = /[a-zA-Z_][a-zA-Z0-9_\-']*|\./
24
- const numconst = /\d+/
+ const numconst = /-?\d+/
25
26
function expectDefOrTerm(stream, state) {
27
if (stream.match(/.*=/, false)) return expectDef(stream, state);
0 commit comments