Changeset da5ba3a in mainline
- Timestamp:
- 2014-08-28T20:47:06Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b3f77c
- Parents:
- 0f2a9be
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/autogen.py
r0f2a9be rda5ba3a 128 128 129 129 def filter_pairs(lines): 130 pattern = re.compile("^\tEMITTED_CONSTANT ([A-Z_][A-Z0-9_]*) = \$?([0-9]+)$");130 pattern = re.compile("^\tEMITTED_CONSTANT ([A-Z_][A-Z0-9_]*) = (\$|#)?([0-9]+)$"); 131 131 pairs = [] 132 132 for line in lines: … … 134 134 if res == None: 135 135 continue 136 pairs = pairs + [res.group(1, 2)]136 pairs = pairs + [res.group(1, 3)] 137 137 return pairs 138 138
Note:
See TracChangeset
for help on using the changeset viewer.