You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i want to known that is there any simple way to do this ?
like ?
IDENTIFIER[tuple("bool", "byte")] =BASE_TYPE
or is there some way to statement the reversed keywords for all identifier ( IDENTIFIER = r'[a-zA-Z_][a-zA-Z0-9._]*' )
The text was updated successfully, but these errors were encountered:
alingse
changed the title
"AttributeError: Name token redefined" when use loop to set
"AttributeError: Name token redefined" when use loop to set NAME[tokenA] = A
Sep 4, 2021
alingse
changed the title
"AttributeError: Name token redefined" when use loop to set NAME[tokenA] = A
"AttributeError: Name token redefined" when use loop to set NAME[token] = A
Sep 4, 2021
I'm looking at the SLY source and an "easy" workaround doesn't seem possible right now. However, I've been doing a bit of recent work on SLY. I'll look into this further.
i want use sly to parse "thrift" file (see https://github.com/alingse/thrift-parser/blob/master/simple.py )
and want to set several base_type to IDENTIFIER, but got AttributeError
see this simplify code https://github.com/alingse/thrift-parser/blob/master/demo3.py#L14-L16
i know this can be rewritten to
i want to known that is there any simple way to do this ?
like ?
or is there some way to statement the reversed keywords for all identifier ( IDENTIFIER = r'[a-zA-Z_][a-zA-Z0-9._]*' )
The text was updated successfully, but these errors were encountered: