Merge pull request #2621 from suzukaze/fix-parse_string

Replace int with mrb_bool in parse_string func
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-10-28 23:26:23 +09:00
+1 -1
View File
@@ -3838,7 +3838,7 @@ parse_string(parser_state *p)
newtok(p);
while ((c = nextc(p)) != end || nest_level != 0) {
if (hinf && (c == '\n' || c < 0)) {
int line_head;
mrb_bool line_head;
tokadd(p, '\n');
tokfix(p);
p->lineno++;