Overview
Comment: | [core][js] gc engine: fix disambiguator bugs |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core | rg |
Files: | files | file ages | folders |
SHA3-256: |
a773775ee315ffa6b36f977e1042cc26 |
User & Date: | olr on 2018-09-17 11:31:48 |
Other Links: | branch diff | manifest | tags |
Context
2018-09-17
| ||
11:32 | [fr][bugs] remove useless parameters check-in: 8b769e5c52 user: olr tags: fr, rg | |
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 | |
Changes
Modified gc_core/js/lang_core/gc_engine.js from [176acccae7] to [c507c29b13].
︙ | |||
1259 1260 1261 1262 1263 1264 1265 | 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 | - + + | //////// Disambiguator function select (dTokenPos, nPos, sWord, sPattern, lDefault=null) { if (!sWord) { return true; } |
︙ | |||
1281 1282 1283 1284 1285 1286 1287 | 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 | - + + | return true; } function exclude (dTokenPos, nPos, sWord, sPattern, lDefault=null) { if (!sWord) { return true; } |
︙ | |||
1317 1318 1319 1320 1321 1322 1323 | 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 | - + - + | if (lMorph.length === 0 || lMorph.length === 1) { if (lDefault) { dToken["lMorph"] = lDefault; } return true; } let lSelect = lMorph.filter( sMorph => sMorph.search(sPattern) !== -1 ); |
︙ |