This commit is contained in:
parent
f9dbae56bb
commit
d80725f4c8
|
@ -89,9 +89,8 @@ tokenize(char *t, FILE *f)
|
||||||
r->a = parse_rulefrag(f), r->b = parse_rulefrag(f);
|
r->a = parse_rulefrag(f), r->b = parse_rulefrag(f);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while(f && fread(&c, 1, 1, f) && c && c != 0xa)
|
while(f && fread(&c, 1, 1, f) && c)
|
||||||
*prog_++ = c;
|
*prog_++ = c == 0xa ? 0x20 : c;
|
||||||
*prog_++ = 0x20;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<> (?x world) (?x whurl)
|
||||||
<> (?b bar) (?b baz)
|
<> (?b bar) (?b baz)
|
||||||
|
|
||||||
|
(hello world)
|
||||||
((foo baz) bar)
|
((foo baz) bar)
|
Loading…
Reference in New Issue