Reconnected rule IDs
This commit is contained in:
parent
ad2dbb2a1f
commit
45ebcb6a23
|
@ -136,7 +136,7 @@ add_rule(char *p)
|
||||||
{
|
{
|
||||||
char c;
|
char c;
|
||||||
Rule *r = rules_++;
|
Rule *r = rules_++;
|
||||||
p += 2;
|
r->id = rules_ - rules - 1, p += 2;
|
||||||
while((c = *p) && c <= ' ') p++;
|
while((c = *p) && c <= ' ') p++;
|
||||||
r->a = parse_rule(p), p = walk(p);
|
r->a = parse_rule(p), p = walk(p);
|
||||||
while((c = *p) && c <= ' ') p++;
|
while((c = *p) && c <= ' ') p++;
|
||||||
|
|
Loading…
Reference in New Issue