summaryrefslogtreecommitdiff
path: root/yy
diff options
context:
space:
mode:
Diffstat (limited to 'yy')
-rw-r--r--yy/kalmia.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/yy/kalmia.y b/yy/kalmia.y
index 3d28248..9b2574c 100644
--- a/yy/kalmia.y
+++ b/yy/kalmia.y
@@ -91,7 +91,9 @@
%%
-document: PROLOG tag { *document = $2; }
+document:
+ tag { *document = $1; }
+ | PROLOG tag { *document = $2; }
tags: