Grammalecte  Check-in [1833934b94]

Overview
Comment:[core][js] gc engine: fix tags enumeration
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core | rg
Files: files | file ages | folders
SHA3-256: 1833934b9415f3c0359e0ff6028d1f945c1f2a20a85c44aa79c2127a9b60eb8b
User & Date: olr on 2018-09-17 10:46:58
Other Links: branch diff | manifest | tags
Context
2018-09-17
11:31
[core][js] gc engine: fix disambiguator bugs check-in: a773775ee3 user: olr tags: core, rg
10:46
[core][js] gc engine: fix tags enumeration check-in: 1833934b94 user: olr tags: core, rg
10:27
[build] deprecated code check-in: e87660c39d user: olr tags: build, rg
Changes

Modified gc_core/js/lang_core/gc_engine.js from [ce27c539b1] to [176acccae7].

484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
                            }
                        }
                    }
                }
            }
            // token tags
            if (dToken.hasOwnProperty("aTags") && dNode.hasOwnProperty("<tags>")) {
                for (let sTag in dToken["aTags"]) {
                    if (dNode["<tags>"].hasOwnProperty(sTag)) {
                        if (bDebug) {
                            console.log("  MATCH: /" + sTag);
                        }
                        yield { "iNode1": iNode1, "dNode": dGraph[dNode["<tags>"][sTag]] };
                        bTokenFound = true;
                    }







|







484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
                            }
                        }
                    }
                }
            }
            // token tags
            if (dToken.hasOwnProperty("aTags") && dNode.hasOwnProperty("<tags>")) {
                for (let sTag of dToken["aTags"]) {
                    if (dNode["<tags>"].hasOwnProperty(sTag)) {
                        if (bDebug) {
                            console.log("  MATCH: /" + sTag);
                        }
                        yield { "iNode1": iNode1, "dNode": dGraph[dNode["<tags>"][sTag]] };
                        bTokenFound = true;
                    }