summaryrefslogtreecommitdiff
path: root/data/sample-grammars/fantasy-locations.gram
diff options
context:
space:
mode:
Diffstat (limited to 'data/sample-grammars/fantasy-locations.gram')
-rwxr-xr-xdata/sample-grammars/fantasy-locations.gram7
1 files changed, 4 insertions, 3 deletions
diff --git a/data/sample-grammars/fantasy-locations.gram b/data/sample-grammars/fantasy-locations.gram
index 7d06791..32ab26f 100755
--- a/data/sample-grammars/fantasy-locations.gram
+++ b/data/sample-grammars/fantasy-locations.gram
@@ -1,7 +1,8 @@
-[fantasy-location-name] {@oname=[name1]} [name2]
+[fantasy-location-name] {@oname=[name1]} [act-fantasy-location-name]
-pragma prefix-with [fantasy-location-name] [@oname]
-pragma prefix-with [fantasy-location-name] [@oname]
+[act-fantasy-location-name] [name2]
+
+pragma prefix-with [act-fantasy-location-name] <&1..2> [@oname]
pragma initial-rule [fantasy-location-name]