~pmikkelsen/lpa

2e8f865a978cba527282aacebfc99b9a6317c051 — Peter Mikkelsen 2 months ago d82e161
Parse 1 2 3⊢4 5 6 correctly
1 files changed, 7 insertions(+), 1 deletions(-)

M parse.c
M parse.c => parse.c +7 -1
@@ 339,8 339,14 @@ func:
	if(val == nil)
		val = parseconst(t);

	if(peekclass(t) == NameclassFunc)
	if(peekclass(t) == NameclassFunc){
		if(strand){
			addchild(strand, val);
			val = strand;
			strand = nil;
		}
		goto func;
	}

	if(!(isexprsep(t) || peek(t) == TokRparen)){ /* Stranding */
		if(!strand){