nextc() might have problem on bytes higer than 0x80; close #628

This commit is contained in:
Yukihiro Matz Matsumoto
2012-12-17 17:56:09 +09:00
parent 9de76a71e1
commit 3be5bfbc7a
+1 -1
View File
@@ -3075,7 +3075,7 @@ nextc(parser_state *p)
return -1;
}
else {
c = *p->s++;
c = (unsigned char)*p->s++;
}
if (c == '\n') {
// must understand heredoc