From 5ab1f1df04000219ae19a70c38a66dda3849b665 Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Fri, 20 Jul 2018 12:52:31 -0300 Subject: Update grammars --- data/sample-grammars/pokeattacks.gram | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'data/sample-grammars/pokeattacks.gram') diff --git a/data/sample-grammars/pokeattacks.gram b/data/sample-grammars/pokeattacks.gram index dcbd770..8c192f2 100755 --- a/data/sample-grammars/pokeattacks.gram +++ b/data/sample-grammars/pokeattacks.gram @@ -1,4 +1,4 @@ -[pokeattack] {@oword:=[word-1]} {@tword:=[word-2]} {@ptype:=[poke-type]} [act-pokeattack] +[pokeattack] {@ptype:=[poke-type]} [act-pokeattack] [act-pokeattack] [pokeattack-name] @@ -11,7 +11,9 @@ 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] +[pokeattack-name] {@oword:=[word-1]} {@tword:=[word-2]} [act-pokeattack-name] + +[act-pokeattack-name] <^2> <&1..2> [@oword] [@oword] <^2> <&1..2> [@tword] [@tword] <^2> [@oword] [@tword] <^2> [@tword] [@oword] @@ -57,8 +59,8 @@ pragma suffix-with [word-11] [seperator] pragma prefix-with [word-21] [seperator] -pragma prefix-with [pokeattack-name] [word-11] -pragma suffix-with [pokeattack-name] [word-21] +pragma prefix-with [act-pokeattack-name] [word-11] +pragma suffix-with [act-pokeattack-name] [word-21] [word-1] acid aerial -- cgit v1.2.3