mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
js-runtime: redundant loop removed
This commit is contained in:
@@ -735,10 +735,6 @@ ParseState.prototype.process = function (agenda,callback) {
|
|||||||
|
|
||||||
var items = this.chart.lookupAC(fid,label);
|
var items = this.chart.lookupAC(fid,label);
|
||||||
if (items == null) {
|
if (items == null) {
|
||||||
var fid2 = this.chart.lookupPC(fid,label,this.chart.offset);
|
|
||||||
if (fid2 != null) {
|
|
||||||
agenda.push(item.shiftOverArg(sym.i,fid2));
|
|
||||||
}
|
|
||||||
var rules = this.chart.expandForest(fid);
|
var rules = this.chart.expandForest(fid);
|
||||||
for (j in rules) {
|
for (j in rules) {
|
||||||
var rule = rules[j];
|
var rule = rules[j];
|
||||||
|
|||||||
Reference in New Issue
Block a user