Changeset 1152
- Timestamp:
- Jun 7, 2013, 4:56:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dassmodus/trunk/dassmodus/nosferatu/nosferatu/tools/bacsource2configrules.py
r990 r1152 79 79 80 80 RXP_STRUCT_ITEM = re.compile(r''' 81 ^\s+{ "(?P<name>[^"]+)"\s*,81 ^\s+{\s*"(?P<name>[^"]+)"\s*, 82 82 \s*(?P<resitem>[^,]+)\s*(, 83 83 \s*(?P<rcode>[^}]+))?},?\s*(/\*.*\*/)? … … 122 122 123 123 RXP_COMMAND_ENTRY = re.compile(r''' 124 ^\s +{\s+NT_\("(?P<cmdtext>[^"]+)"\),125 \s*(?P<cmd>[^ "]+),126 \s*_\("(?P<usage>[^"]*)"\), 127 \s +NT_\("(?P<help>[^)]*)"\),128 \s*(?P<inrunscript>\w+) }124 ^\s*{\s*NT_\("(?P<cmdtext>[^"]+)"\), 125 \s*(?P<cmd>[^,]+), 126 \s*_\("(?P<usage>[^"]*)"\),\s*\n* 127 \s*NT_\("(?P<help>[^"]*)"\), 128 \s*(?P<inrunscript>\w+)\s*} 129 129 ''', re.X|re.M|re.S) 130 130 … … 302 302 #bl[item["resitem"]].append(item["name"]) 303 303 #item.pop('rcode') 304 bl[item["resitem"]].append( PrettyNames[item.pop('name')])304 bl[item["resitem"]].append(prettyName(item.pop('name'))) 305 305 306 306 #print " appended to bl[" , item["resitem"] , "]" , item
Note:
See TracChangeset
for help on using the changeset viewer.