Space as spacer

This commit is contained in:
Devine Lu Linvega 2024-04-04 11:14:32 -07:00
parent 18abf56626
commit 511053b4ca
2 changed files with 4 additions and 5 deletions

View File

@ -23,7 +23,7 @@ walk(char *s)
{ {
char c; char c;
while((c = *s++)) while((c = *s++))
if(*s == ')') break; if(*s == ')' || *s == ' ') break;
return s; return s;
} }

View File

@ -1,5 +1,4 @@
<> (dup ?x) (?x ?x done) <> (foo ?a) (fuu ?a)
<> (hello ?x) (bye ?x) <> (?b bar) (?b baz)
<> (a (b (c))) (end)
(hello world) (foo bar)