m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/lexer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lexer.js')
-rw-r--r--src/lexer.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lexer.js b/src/lexer.js
index 8635e4a..2b3b25a 100644
--- a/src/lexer.js
+++ b/src/lexer.js
@@ -18,6 +18,7 @@ newValueLexeme('constant', '\\d+', Number)
newLexemeType('d', 'd')
newLexemeType('bigPlus', ' \\+ ' )
newLexemeType('bigMinus', ' - ')
+newLexemeType('plus', '\\+')
newLexemeType('minus', '-')
newLexemeType('(', '\\(')
newLexemeType(')', '\\)')