ref: 2e8f865a978cba527282aacebfc99b9a6317c051
parent: d82e1615b58bf59f1d8b14dd62c588be6ea1881c
author: Peter Mikkelsen <peter@pmikkelsen.com>
date: Sat Jul 27 06:29:26 EDT 2024
Parse 1 2 3⊢4 5 6 correctly
--- a/parse.c
+++ b/parse.c
@@ -339,8 +339,14 @@
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){