summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-10-19 21:45:14 +0900
committerYukihiro Matsumoto <[email protected]>2012-10-19 21:45:14 +0900
commit48550047112bd66e097e4ad0203ddeb2978fc133 (patch)
tree84af23aba43f2ec471537794d192c73104704c3c
parent3efbea3fab1fedf1f6b783204fd226653e908f6e (diff)
parenteaf26aa57e5af822ad6abb842d796c7374e873ca (diff)
downloadmruby-48550047112bd66e097e4ad0203ddeb2978fc133.tar.gz
mruby-48550047112bd66e097e4ad0203ddeb2978fc133.zip
Merge branch 'master' of github.com:mruby/mruby
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index af12112c7..b903ac840 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -3329,7 +3329,7 @@ read_escape(parser_state *p)
break;
}
}
- c = scan_hex(buf, i+1, &i);
+ c = scan_hex(buf, i, &i);
if (i == 0) {
yyerror(p, "Invalid escape character syntax");
return 0;