diff options
author | Josh Haberman <jhaberman@gmail.com> | 2016-04-15 12:38:45 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2016-04-15 12:38:45 -0700 |
commit | 04786dc2b3c68c8449b19fa2d12bd929f9813155 (patch) | |
tree | a7ebd5475394d32c15e9d6e69cd27d9fbb5985a6 /upb | |
parent | 5b1804d52a13723303c290e8b4e7ce8f25f2599c (diff) |
Also regenerate JSON parser.
Diffstat (limited to 'upb')
-rw-r--r-- | upb/json/parser.c | 2 |
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); |