summaryrefslogtreecommitdiff
path: root/data/sample-grammars/fantasy-locations.gram
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-06-07 20:37:39 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-06-07 20:37:39 -0300
commit7422af49fa5c4da57323abe676a99468d401c44b (patch)
treef335050a1176e3b72fe3799bfca840244646d176 /data/sample-grammars/fantasy-locations.gram
parent05c9922b30cd0dcd2a452673c2e155215d074b19 (diff)
Update grammars
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]