summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-12-22 12:50:43 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-12-22 12:50:43 +0000
commitc853845e5ca30334d274c3ea2ad6f92b51ba3b67 (patch)
tree3877c866715c5ca992bd3c71c9337bc93a449d7f
parentRename PushObject and PushArray to End... (diff)
downloadlibjsonpp-c853845e5ca30334d274c3ea2ad6f92b51ba3b67.tar.bz2
libjsonpp-c853845e5ca30334d274c3ea2ad6f92b51ba3b67.tar.xz
libjsonpp-c853845e5ca30334d274c3ea2ad6f92b51ba3b67.zip
Fix parse error state
-rw-r--r--libjsonpp/json.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjsonpp/json.ll b/libjsonpp/json.ll
index cef3576..391556d 100644
--- a/libjsonpp/json.ll
+++ b/libjsonpp/json.ll
@@ -148,6 +148,6 @@ text [^\\\"]*
}
<*>. {
- throw ParseError(YYText(), yylineno, YY_START);
+ throw ParseError(YYText(), yylineno, yy_top_state());
}