cli: implement limit flag
[oweals/jsonpath.git] / ast.h
diff --git a/ast.h b/ast.h
index c2d6f2b68dace9c3e789f89c4e0029d86010dcb1..ec1f55ca89a870b10213dbbecc359019bf627d04 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -31,8 +31,8 @@ struct jp_opcode {
 struct jp_state {
        struct jp_opcode *pool;
        struct jp_opcode *path;
-       char *error;
-       int erroff;
+       int error_pos;
+       int error_code;
        int off;
 };