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);
|
||||
return;
|
||||
}
|
||||
while(f && fread(&c, 1, 1, f) && c && c != 0xa)
|
||||
*prog_++ = c;
|
||||
*prog_++ = 0x20;
|
||||
while(f && fread(&c, 1, 1, f) && c)
|
||||
*prog_++ = c == 0xa ? 0x20 : c;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
<> (?x world) (?x whurl)
|
||||
<> (?b bar) (?b baz)
|
||||
|
||||
(hello world)
|
||||
((foo baz) bar)
|
Loading…
Reference in New Issue