Merge pull request #495 from iij/pr-hexstr-load-broken

Fix wrong storage of data when hex-style string is loaded
This commit is contained in:
Yukihiro "Matz" Matsumoto
2012-10-19 05:31:58 -07:00
+1 -1
View File
@@ -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;