A linelike production might not have TK_newline in the look-ahead,
so don't assume it. If it isn't there, make the look-ahead
set empty.
Signed-off-by: NeilBrown <neil@brown.name>
}
sn = save_set(g, LA);
LA = set_find(g, sn);
}
sn = save_set(g, LA);
LA = set_find(g, sn);
- symset_add(&LAnl, TK_newline, 0);
+ if (symset_find(&LA, TK_newline))
+ symset_add(&LAnl, TK_newline, 0);
snnl = save_set(g, LAnl);
LAnl = set_find(g, snnl);
}
snnl = save_set(g, LAnl);
LAnl = set_find(g, snnl);
}