summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-10-28 23:26:23 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-10-28 23:26:23 +0900
commit5347fb923d2ed1564c6d2172f81555a4bff687e7 (patch)
tree1c5b267ef3a77985092e1257d8d2d045aaee33b6 /src/parse.y
parent5d25047344413f8695e1f526ac6e666b8fa8ce81 (diff)
parent832b5296792f2fbcc76ea78b5599e3cd1884cc29 (diff)
downloadmruby-5347fb923d2ed1564c6d2172f81555a4bff687e7.tar.gz
mruby-5347fb923d2ed1564c6d2172f81555a4bff687e7.zip
Merge pull request #2621 from suzukaze/fix-parse_string
Replace int with mrb_bool in parse_string func
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index 1b4791bf0..b98a2c2e2 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++;