Commit 5347fb92 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2621 from suzukaze/fix-parse_string

Replace int with mrb_bool in parse_string func
parents 5d250473 832b5296
...@@ -3838,7 +3838,7 @@ parse_string(parser_state *p) ...@@ -3838,7 +3838,7 @@ parse_string(parser_state *p)
newtok(p); newtok(p);
while ((c = nextc(p)) != end || nest_level != 0) { while ((c = nextc(p)) != end || nest_level != 0) {
if (hinf && (c == '\n' || c < 0)) { if (hinf && (c == '\n' || c < 0)) {
int line_head; mrb_bool line_head;
tokadd(p, '\n'); tokadd(p, '\n');
tokfix(p); tokfix(p);
p->lineno++; p->lineno++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment