cmake: Find libubox/list.h header file
[oweals/jsonpath.git] / ast.h
diff --git a/ast.h b/ast.h
index c2d6f2b68dace9c3e789f89c4e0029d86010dcb1..fbf93dea8bbea51fa8073a5b5c66a00d8f7d98ac 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013-2014 Jo-Philipp Wich <jow@openwrt.org>
+ * Copyright (C) 2013-2014 Jo-Philipp Wich <jo@mein.io>
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -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;
 };