diff options
Diffstat (limited to 'Lib/token.py')
-rwxr-xr-x | Lib/token.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/token.py b/Lib/token.py index c77d343..f75412c 100755 --- a/Lib/token.py +++ b/Lib/token.py @@ -98,7 +98,7 @@ def main(): lines = fp.read().split("\n") fp.close() prog = re.compile( - "#define[ \t][ \t]*([A-Z][A-Z_]*)[ \t][ \t]*([0-9][0-9]*)", + "#define[ \t][ \t]*([A-Z0-9][A-Z0-9_]*)[ \t][ \t]*([0-9][0-9]*)", re.IGNORECASE) tokens = {} for line in lines: |