Differences From Artifact [9ba071ca61]:
- File compile_rules.py — part of check-in [e6a7cd50a7] at 2017-05-16 23:52:20 on branch trunk — [build] count unnamed rules (user: olr, size: 27822) [annotate] [blame] [check-ins using] [more...]
To Artifact [ace64a19d1]:
- File compile_rules.py — part of check-in [fff3554c64] at 2017-05-17 07:39:21 on branch trunk — [fr] nommage des règles du processeur (user: olr, size: 27849) [annotate] [blame] [check-ins using]
︙ | |||
187 188 189 190 191 192 193 194 195 196 197 198 199 200 | 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | + | sRuleId = m.group('ruleid')[1:-1] if sRuleId in aRULESET: print("# Error. Several rules have the same id: " + sRuleId) exit() aRULESET.add(sRuleId) else: nRULEWITHOUTNAME += 1 print(sLineId) nPriority = dOptPriority.get(sOption, 4) if m.group('priority'): nPriority = int(m.group('priority')[1:]) s = s[m.end(0):] else: print("# Warning. No option defined at line: " + sLineId) |
︙ |