mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
nextc() might have problem on bytes higer than 0x80; close #628
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user