diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lexer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexer.js b/src/lexer.js index eedabd7..97130d8 100644 --- a/src/lexer.js +++ b/src/lexer.js @@ -18,7 +18,7 @@ const newSkippableLexeme = (type, regex) => { newLexemeType(type, regex, () => {}) } -newValueLexeme('number', '\\d+', Number) +newValueLexeme('constant', '\\d+', Number) newLexemeType('d', 'd') newLexemeType('+', '\\+') newSkippableLexeme('whitespace', '\\s+') |