Grammalecte  Check-in [9a4522a381]

Overview
Comment:[core][js] gc engine: bug fix > last index array
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core | gcerw
Files: files | file ages | folders
SHA3-256: 9a4522a3818f6d6d40c26983cb79871dcaec738421df610b2a67314cef0ac469
User & Date: olr on 2020-04-17 18:09:57
Other Links: branch diff | manifest | tags
Context
2020-04-17
18:37
merge trunk (empty): conflict solved before check-in: f69a4ea6d7 user: olr tags: gcerw
18:09
[core][js] gc engine: bug fix > last index array check-in: 9a4522a381 user: olr tags: core, gcerw
18:07
cherrypick from trunk: [build] enumerate actions from 1 not from 0 check-in: 570dda15fe user: olr tags: gcerw
Changes

Modified gc_core/js/lang_core/gc_engine_func.js from [0448168ecb] to [52d7c0e0d3].

338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
}

function g_token (lToken, i) {
    if (i < 0) {
        return lToken[0];
    }
    if (i >= lToken.length) {
        return lToken[-1];
    }
    return lToken[i];
}


//////// Disambiguator








|







338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
}

function g_token (lToken, i) {
    if (i < 0) {
        return lToken[0];
    }
    if (i >= lToken.length) {
        return lToken[lToken.length-1];
    }
    return lToken[i];
}


//////// Disambiguator