From c853845e5ca30334d274c3ea2ad6f92b51ba3b67 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 22 Dec 2019 12:50:43 +0000 Subject: Fix parse error state --- libjsonpp/json.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- cgit v1.2.3