Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 95fe55c in mainline


Ignore:
Timestamp:
2014-08-28T09:33:23Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
4236b18
Parents:
dd8b6a8
Message:

Autogen must be able to cope with member names containing digits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/autogen.py

    rdd8b6a8 r95fe55c  
    128128
    129129def filter_pairs(lines):
    130         pattern = re.compile("^\tEMITTED_CONSTANT ([A-Z_]*) = \$([0-9]*)$");
     130        pattern = re.compile("^\tEMITTED_CONSTANT ([A-Z_][A-Z0-9_]*) = \$([0-9]+)$");
    131131        pairs = []
    132132        for line in lines:
Note: See TracChangeset for help on using the changeset viewer.