Skip to content
Permalink
Browse files
in peekc_n, adjust column number after calling nextc
  • Loading branch information
kazuho committed Dec 21, 2015
1 parent 2ca825a commit adadbf5
Showing 1 changed file with 1 addition and 0 deletions.
@@ -3473,6 +3473,7 @@ peekc_n(parser_state *p, int n)
do {
c0 = nextc(p);
if (c0 == -1) return c0; /* do not skip partial EOF */
if (c0 >= 0) --p->column;
list = push(list, (node*)(intptr_t)c0);
} while(n--);
if (p->pb) {

0 comments on commit adadbf5

Please sign in to comment.