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