allow variables starting with $ and @

This commit is contained in:
pantor
2021-01-16 16:40:03 +01:00
parent 316567898e
commit a3b0b41d48
4 changed files with 14 additions and 0 deletions
+2
View File
@@ -169,6 +169,8 @@ class Lexer {
minus_state = MinusState::Operator;
return scan_number();
case '_':
case '@':
case '$':
minus_state = MinusState::Operator;
return scan_id();
default: