Grammalecte  Check-in [59749c193f]

Overview
Comment:[core][bug] wrong parameter name
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core | rg
Files: files | file ages | folders
SHA3-256: 59749c193f1159e6cc166b90208bc6bcaead35afd5d1b32c6937f8e576be65cf
User & Date: olr on 2018-06-12 10:04:14
Other Links: branch diff | manifest | tags
Context
2018-06-12
10:46
[misc] SublimeText syntax rules update check-in: eb14e38462 user: olr tags: misc, rg
10:04
[core][bug] wrong parameter name check-in: 59749c193f user: olr tags: core, rg
09:50
[build][core] option for actions check-in: c5640a1fc5 user: olr tags: core, build, rg
Changes

Modified gc_core/py/lang_core/gc_engine.py from [ab8127fecd] to [f8ff5d45bc].

648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
                if "<rules>" in dPointer["dNode"]:
                    bHasChanged, errs = self._executeActions(dGraph, dPointer["dNode"]["<rules>"], dPointer["iToken"]-1, dPriority, dOpt, sCountry, bShowRuleId, bDebug, bContext)
                    dErr.update(errs)
                    if bHasChanged:
                        bChange = True
        return (bChange, dErr)

    def _executeActions (self, dGraph, dNode, nTokenOffset, dPriority, dOpt, sCountry, bShowRuleId, bDebug, bContext):
        "execute actions found in the DARG"
        dErrs = {}
        bChange = False
        for sLineId, nextNodeKey in dNode.items():
            for sRuleId in dGraph[nextNodeKey]:
                try:
                    bCondMemo = None







|







648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
                if "<rules>" in dPointer["dNode"]:
                    bHasChanged, errs = self._executeActions(dGraph, dPointer["dNode"]["<rules>"], dPointer["iToken"]-1, dPriority, dOpt, sCountry, bShowRuleId, bDebug, bContext)
                    dErr.update(errs)
                    if bHasChanged:
                        bChange = True
        return (bChange, dErr)

    def _executeActions (self, dGraph, dNode, nTokenOffset, dPriority, dOptions, sCountry, bShowRuleId, bDebug, bContext):
        "execute actions found in the DARG"
        dErrs = {}
        bChange = False
        for sLineId, nextNodeKey in dNode.items():
            for sRuleId in dGraph[nextNodeKey]:
                try:
                    bCondMemo = None

Modified gc_lang/fr/rules_graph.grx from [7b0c3364ab] to [f1f6850dff].

74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
        <<- ~4:7>> que|Z|a|perdu

TEST: il ne pense qu’à sa gueule.


__avoir_confiance_en__
    >avoir confiance dans [moi|toi|soi|lui|elle|nous|vous|eux|elles]
        <<-  -3>> en                                                                                # Avoir confiance en quelqu’un ou quelque chose.\3 \1 \2 \3|http://grammalecte.net

TEST: Elle avait confiance {{dans}} lui.


__code_legacy__
    legacy code
    code legacy







|







74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
        <<- ~4:7>> que|Z|a|perdu

TEST: il ne pense qu’à sa gueule.


__avoir_confiance_en__
    >avoir confiance dans [moi|toi|soi|lui|elle|nous|vous|eux|elles]
        <<- /gn/ -3>> en                                                                                # Avoir confiance en quelqu’un ou quelque chose.\3 \1 \2 \3|http://grammalecte.net

TEST: Elle avait confiance {{dans}} lui.


__code_legacy__
    legacy code
    code legacy