Enable tokenizer to support separators between keywords and integers
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from smnp.token.tools import tokenizeChar
|
||||
from smnp.token.tools import charTokenizer
|
||||
from smnp.token.type import TokenType
|
||||
|
||||
|
||||
def tokenizeComma(input, current, line):
|
||||
return tokenizeChar(TokenType.COMMA, ',', input, current, line)
|
||||
return charTokenizer(TokenType.COMMA, ',')(input, current, line)
|
||||
|
||||
Reference in New Issue
Block a user