Fixed off by one rule id
This commit is contained in:
parent
4078919811
commit
8d207d42a5
|
@ -251,7 +251,7 @@ rewrite(void)
|
|||
}
|
||||
/* phase: define */
|
||||
if(c == '<' && s[1] == '>') {
|
||||
r = rules_, r->id = rules_ - rules - 1;
|
||||
r = rules_, r->id = rules_ - rules;
|
||||
s = parse_frag(&r->b, parse_frag(&r->a, s + 2));
|
||||
if(*r->a) {
|
||||
if(!quiet) fprintf(stderr, "<> (%s) (%s)\n", r->a, r->b);
|
||||
|
|
Loading…
Reference in New Issue