make peek_n append p->pb to list

This commit is contained in:
Carson McDonald
2014-04-28 14:11:18 -04:00
parent 220f3124b9
commit af95acec17
+1 -1
View File
@@ -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;