Allow rules to be connected
This commit is contained in:
parent
8e22324ce2
commit
fcc4076d62
|
@ -141,8 +141,10 @@ rewrite(void)
|
||||||
int i;
|
int i;
|
||||||
if(p[0] == '<' && p[1] == '>') {
|
if(p[0] == '<' && p[1] == '>') {
|
||||||
Rule *r = &rules[rules_len++];
|
Rule *r = &rules[rules_len++];
|
||||||
p += 3;
|
p += 2;
|
||||||
r->a = parse_rule(p), p = walk(p) + 1;
|
while((c = *p) && c <= ' ') p++;
|
||||||
|
r->a = parse_rule(p), p = walk(p);
|
||||||
|
while((c = *p) && c <= ' ') p++;
|
||||||
r->b = parse_rule(p), p = walk(p);
|
r->b = parse_rule(p), p = walk(p);
|
||||||
return save(-1, p);
|
return save(-1, p);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue