Overview
| Comment: | [build] check suggestions |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | build |
| Files: | files | file ages | folders |
| SHA3-256: |
ee5c769ea3a22450e2df557418fa824d |
| User & Date: | olr on 2017-06-20 05:17:49 |
| Other Links: | manifest | tags |
Context
|
2017-06-20
| ||
| 06:50 | [fr] màj: det_plur +nom sing check-in: b1a65853ff user: olr tags: trunk, fr | |
| 05:17 | [build] check suggestions check-in: ee5c769ea3 user: olr tags: trunk, build | |
| 05:17 | [fr] nr: confusion <mai/mais> check-in: 357cc0bf30 user: olr tags: trunk, fr | |
Changes
Modified compile_rules.py from [b76ec26418] to [1657201ddf].
| ︙ | ︙ | |||
355 356 357 358 359 360 361 |
for x in re.finditer("group[(](\d+)[)]", sAction):
if int(x.group(1)) > nGroup:
print("# Error in groups in replacement at line " + sIdAction + " ("+str(nGroup)+" groups only)")
else:
for x in re.finditer(r"\\(\d+)", sAction):
if int(x.group(1)) > nGroup:
print("# Error in groups in replacement at line " + sIdAction + " ("+str(nGroup)+" groups only)")
| | | 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 |
for x in re.finditer("group[(](\d+)[)]", sAction):
if int(x.group(1)) > nGroup:
print("# Error in groups in replacement at line " + sIdAction + " ("+str(nGroup)+" groups only)")
else:
for x in re.finditer(r"\\(\d+)", sAction):
if int(x.group(1)) > nGroup:
print("# Error in groups in replacement at line " + sIdAction + " ("+str(nGroup)+" groups only)")
if re.search("[.]\\w+[(]|sugg\\w+[(]", sAction):
print("# Error in action at line " + sIdAction + ": This action looks like code. Line should begin with =")
if cAction == "-":
## error detected --> suggestion
if not sAction:
print("# Error in action at line " + sIdAction + ": This action is empty.")
if sAction[0:1] == "=":
|
| ︙ | ︙ |