summaryrefslogtreecommitdiff
path: root/data/sample-grammars/pokeattacks.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/pokeattacks.gram
parent05c9922b30cd0dcd2a452673c2e155215d074b19 (diff)
Update grammars
Diffstat (limited to 'data/sample-grammars/pokeattacks.gram')
-rwxr-xr-xdata/sample-grammars/pokeattacks.gram10
1 files changed, 6 insertions, 4 deletions
diff --git a/data/sample-grammars/pokeattacks.gram b/data/sample-grammars/pokeattacks.gram
index 7d0ec00..dcbd770 100755
--- a/data/sample-grammars/pokeattacks.gram
+++ b/data/sample-grammars/pokeattacks.gram
@@ -1,13 +1,15 @@
-[pokeattack] {@oword:=[word-1]} {@tword:=[word-2]} {@ptype:=[poke-type]} [pokeattack-name]
+[pokeattack] {@oword:=[word-1]} {@tword:=[word-2]} {@ptype:=[poke-type]} [act-pokeattack]
+
+[act-pokeattack] [pokeattack-name]
[attack-type] ( [@ptype] type)
( [@ptype] / [@ptype] type)
[attack-pp] ( [5..40] pp )
-pragma suffix-with [pokeattack] [move-kind]
-pragma suffix-with [pokeattack] [attack-type]
-pragma suffix-with [pokeattack] [attack-pp]
+pragma suffix-with [act-pokeattack] [move-kind]
+pragma suffix-with [act-pokeattack] [attack-type]
+pragma suffix-with [act-pokeattack] [attack-pp]
[pokeattack-name] <^2> <&1..2> [@oword] [@oword]
<^2> <&1..2> [@tword] [@tword]