]> pilppa.org Git - uci.git/blobdiff - uci.h
print the reason for parse errors in error messages
[uci.git] / uci.h
diff --git a/uci.h b/uci.h
index 4706255db9dc66da1789bc66b37d03511a1c9243..c558696ea78e235285dcd6eadc66c0e00b140679 100644 (file)
--- a/uci.h
+++ b/uci.h
@@ -97,6 +97,7 @@ struct uci_parse_context
        struct uci_config *cfg;
        FILE *file;
        char *buf;
+       char *reason;
        int bufsz;
 };