mirror of
https://github.com/pantor/inja.git
synced 2026-11-20 14:56:52 +00:00
allow variables starting with $ and @
This commit is contained in:
1 parent
316567898e
commit
a3b0b41d48
4 files changed
+14
No files matched your search
@@ -169,6 +169,8 @@ class Lexer {
|
||||
minus_state = MinusState::Operator;
|
||||
return scan_number();
|
||||
case '_':
|
||||
case '@':
|
||||
case '$':
|
||||
minus_state = MinusState::Operator;
|
||||
return scan_id();
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user