skip to the next line and reset column after =end

This commit is contained in:
Nobuyoshi Nakada
2014-04-30 12:32:18 +09:00
parent 82fce52211
commit cf3b880df6
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -4206,6 +4206,9 @@ parser_yylex(parser_state *p)
}
c = nextc(p);
} while (!(c < 0 || isspace(c)));
if (c != '\n') skip(p, '\n');
p->lineno++;
p->column = 0;
goto retry;
}
}