print the reason for parse errors in error messages
[project/uci.git] / uci.h
diff --git a/uci.h b/uci.h
index 4706255..c558696 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;
 };