summaryrefslogtreecommitdiff
path: root/upb/json/parser.c
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2016-04-15 12:38:45 -0700
committerJosh Haberman <jhaberman@gmail.com>2016-04-15 12:38:45 -0700
commit04786dc2b3c68c8449b19fa2d12bd929f9813155 (patch)
treea7ebd5475394d32c15e9d6e69cd27d9fbb5985a6 /upb/json/parser.c
parent5b1804d52a13723303c290e8b4e7ce8f25f2599c (diff)
Also regenerate JSON parser.
Diffstat (limited to 'upb/json/parser.c')
-rw-r--r--upb/json/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/json/parser.c b/upb/json/parser.c
index 1662f1a..f16af48 100644
--- a/upb/json/parser.c
+++ b/upb/json/parser.c
@@ -1527,7 +1527,7 @@ _again:
#line 1270 "upb/json/parser.rl"
if (p != pe) {
- upb_status_seterrf(&parser->status, "Parse error at '%.*s'\n", p, pe - p);
+ upb_status_seterrf(&parser->status, "Parse error at '%.*s'\n", pe - p, p);
upb_env_reporterror(parser->env, &parser->status);
} else {
capture_suspend(parser, &p);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback