[LEXER] minor fix in str condition
This commit is contained in:
parent
c22ab63479
commit
db9411d0d0
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ def t_BOOL(t):
|
||||||
|
|
||||||
# ID needs to be the last so it doesnt catch everything (literally)
|
# ID needs to be the last so it doesnt catch everything (literally)
|
||||||
def t_ID(t):
|
def t_ID(t):
|
||||||
r"[\w.]+"
|
r"[\w_]+(\.[\w_]+)*"
|
||||||
return t
|
return t
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue