Skip to content
Browse files

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

  • Loading branch information...
1 parent 9de76a7 commit 3be5bfbc7a3b1e05f2d3af4fbd65a3d3b076f0ea @matz matz committed Dec 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/parse.y
View
2 src/parse.y
@@ -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

0 comments on commit 3be5bfb

Please sign in to comment.
Something went wrong with that request. Please try again.