fixed a bug: did not handle %while in FIXED terms
This commit is contained in:
parent
ba88529f50
commit
a9ad34c8db
|
@ -319,7 +319,8 @@ simpleproduction(p_gram *p; register int *conflres;)
|
||||||
{ if (g_gettype(&elem) == TERM) {
|
{ if (g_gettype(&elem) == TERM) {
|
||||||
register p_term q = g_getterm(&elem);
|
register p_term q = g_getterm(&elem);
|
||||||
|
|
||||||
if (g_gettype(q->t_rule) != ALTERNATION &&
|
if (! (q->t_flags & RESOLVER) &&
|
||||||
|
g_gettype(q->t_rule) != ALTERNATION &&
|
||||||
g_gettype(q->t_rule) != EORULE) {
|
g_gettype(q->t_rule) != EORULE) {
|
||||||
while (g_gettype(q->t_rule) != EORULE) {
|
while (g_gettype(q->t_rule) != EORULE) {
|
||||||
*p_rule++ = *q->t_rule++;
|
*p_rule++ = *q->t_rule++;
|
||||||
|
|
Loading…
Reference in a new issue