summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJun Hiroe <[email protected]>2014-10-27 01:50:21 +0900
committerJun Hiroe <[email protected]>2014-10-28 00:11:34 +0900
commit832b5296792f2fbcc76ea78b5599e3cd1884cc29 (patch)
tree05c0ce1625cb6e27615d1ee1dc2e19892d60603d
parent9d8be78f3a3a6144dc1270578c2739311b44af75 (diff)
downloadmruby-832b5296792f2fbcc76ea78b5599e3cd1884cc29.tar.gz
mruby-832b5296792f2fbcc76ea78b5599e3cd1884cc29.zip
Replace int with mrb_bool in parse_string func
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index 644250079..531d00cfb 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -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++;