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
In pplexer.py, there is the following definition: INT_LITERAL = sub(r"(?P<p1>(?:0x{H}+)|(?:0[0-7]+)|(?:[1-9]{D}+))(?P<suf>{IS})")
This requires that octal integers consist of more than one digit, and also the same for decimal integers. The following line fixes these problems: INT_LITERAL = sub(r"(?P<p1>(?:0x{H}+)|(?:0[0-7]*)|(?:[1-9]{D}*))(?P<suf>{IS})")
Note in both cases the replacement of a + character with a * character.
The text was updated successfully, but these errors were encountered:
In pplexer.py, there is the following definition:
INT_LITERAL = sub(r"(?P<p1>(?:0x{H}+)|(?:0[0-7]+)|(?:[1-9]{D}+))(?P<suf>{IS})")
This requires that octal integers consist of more than one digit, and also the same for decimal integers. The following line fixes these problems:
INT_LITERAL = sub(r"(?P<p1>(?:0x{H}+)|(?:0[0-7]*)|(?:[1-9]{D}*))(?P<suf>{IS})")
Note in both cases the replacement of a + character with a * character.
The text was updated successfully, but these errors were encountered: