Grammalecte  Check-in [0f84492767]

Overview
Comment:[build] don’t show unnamed rules
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | build
Files: files | file ages | folders
SHA3-256: 0f844927676a3a3a614dbfd733dd4c312c53019e90d152404e6586088acc2077
User & Date: olr on 2017-05-17 07:40:56
Other Links: manifest | tags
Context
2017-05-18
04:44
[fr] pt: mère au foyer check-in: f795b86c7c user: olr tags: trunk, fr
2017-05-17
07:40
[build] don’t show unnamed rules check-in: 0f84492767 user: olr tags: trunk, build
07:39
[fr] nommage des règles du processeur check-in: fff3554c64 user: olr tags: trunk, fr
Changes

Modified compile_rules.py from [ace64a19d1] to [9ba071ca61].

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)








<







187
188
189
190
191
192
193

194
195
196
197
198
199
200
            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

        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)