diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-10-19 05:31:58 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-10-19 05:31:58 -0700 |
| commit | eaf26aa57e5af822ad6abb842d796c7374e873ca (patch) | |
| tree | 12f6a9a6fd31d56d206c38339e413c302f127b14 | |
| parent | 17278e8ca69d79f4d37e65830c95cc6004c2d8f5 (diff) | |
| parent | c2a6ff7af8a49609fb3126271cf4ebbfa3c2403e (diff) | |
| download | mruby-eaf26aa57e5af822ad6abb842d796c7374e873ca.tar.gz mruby-eaf26aa57e5af822ad6abb842d796c7374e873ca.zip | |
Merge pull request #495 from iij/pr-hexstr-load-broken
Fix wrong storage of data when hex-style string is loaded
| -rw-r--r-- | src/parse.y | 2 |
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; |
