aboutsummaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-06-06 18:00:23 +0000
committerOmar Polo <op@omarpolo.com>2024-06-06 18:00:23 +0000
commit3b2ee15a6b0c42c392ce6898afbf5f60b086af8e (patch)
tree940aa16160defad6a366ddde237c3bf96bffe409 /parse.y
parent235f5e70ee3c6fc3e78f9d526b7e99f4d6e502cf (diff)
fix previous; was causing a shift/reduce conflict
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y7
1 files changed, 6 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index cdb4e53..5c04b25 100644
--- a/parse.y
+++ b/parse.y
@@ -147,8 +147,13 @@ typedef struct {
%%
+/*
+ * Allow
+ */
+grammar : nl conf | conf
+ ;
+
conf : /* empty */
- | conf nl
| conf include nl
| conf varset nl
| conf option nl