Grammalecte  Check-in [ae5af86683]

Overview
Comment:[build][bug] wrong filename
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | build
Files: files | file ages | folders
SHA3-256: ae5af8668338a44566c93eca39aeec8dd55b6a7a36d4968d25200e17b406547c
User & Date: olr on 2018-05-14 15:12:25
Other Links: manifest | tags
Context
2018-05-14
22:21
[fr] extension de détection d’anomalie après d’en/d’y check-in: 411f03eb33 user: olr tags: trunk, fr
15:12
[build][bug] wrong filename check-in: ae5af86683 user: olr tags: trunk, build
14:48
[build] small code clarification check-in: 5e5db6e7b6 user: olr tags: trunk, build
Changes

Modified compile_rules.py from [54ac0cb851] to [1ea2b6d97a].

422
423
424
425
426
427
428
429
430
431
432
433
434
435
436

def make (spLang, sLang, bJavaScript):
    "compile rules, returns a dictionary of values"
    # for clarity purpose, don’t create any file here

    print("> read rules file...")
    try:
        lRules = open(spLang + "/rules_g.grx", 'r', encoding="utf-8").readlines()
    except:
        print("Error. Rules file in project [" + sLang + "] not found.")
        exit()

    # removing comments, zeroing empty lines, creating definitions, storing tests, merging rule lines
    print("  parsing rules...")
    global dDEF







|







422
423
424
425
426
427
428
429
430
431
432
433
434
435
436

def make (spLang, sLang, bJavaScript):
    "compile rules, returns a dictionary of values"
    # for clarity purpose, don’t create any file here

    print("> read rules file...")
    try:
        lRules = open(spLang + "/rules.grx", 'r', encoding="utf-8").readlines()
    except:
        print("Error. Rules file in project [" + sLang + "] not found.")
        exit()

    # removing comments, zeroing empty lines, creating definitions, storing tests, merging rule lines
    print("  parsing rules...")
    global dDEF