aboutsummaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-05 16:10:56 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-05 16:10:56 -0800
commit966905fba74407dfc4086674ecf199f20e2683fb (patch)
treedbda47343176e600fe2122199659fa17a98ab21a /parser.h
parent914ac561dd29f976e86938a237b4e1140b77761e (diff)
fix memory leaks; no error until exit
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.h b/parser.h
index 168c7e9..334834a 100644
--- a/parser.h
+++ b/parser.h
@@ -14,7 +14,7 @@ struct ARRAY_STRUCT {
};
struct VALUE_STRUCT {
- enum { VWORD, VINT, VFLOAT, VSTR, VQUOTE } type;
+ enum { VWORD, VINT, VFLOAT, VSTR, VQUOTE, VERR } type;
union {
long double int_float;
array_t *quote;