Commit af95acec authored by Carson McDonald's avatar Carson McDonald

make peek_n append p->pb to list

parent 220f3124
......@@ -3429,7 +3429,7 @@ peek_n(parser_state *p, int c, int n)
list = push(list, (node*)(intptr_t)c0);
} while(n--);
if (p->pb) {
p->pb = append(p->pb, (node*)list);
p->pb = append((node*)list, p->pb);
}
else {
p->pb = list;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment