From 464b83c0dd41e51ab7a1dbbe4e3c30612b7ae9be Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Wed, 22 Mar 2017 08:30:49 -0400 Subject: Partially update grammars. Update some of the sample grammars to the new format. --- RGens/data/sample-grammars/media.gram | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'RGens/data/sample-grammars/media.gram') diff --git a/RGens/data/sample-grammars/media.gram b/RGens/data/sample-grammars/media.gram index 42eef6d..ba6dae1 100644 --- a/RGens/data/sample-grammars/media.gram +++ b/RGens/data/sample-grammars/media.gram @@ -7,11 +7,8 @@ pragma export-rule [television-station] pragma export-rule [radio-station] pragma export-rule [newspaper] -[television-station] [chan+name] channel [med-chan-num] - [chan+name] channel [low-chan-num] - -pragma range-rule [med-chan-num] 2 45 -pragma range-rule [low-chan-num] 2 12 +[television-station] [chan+name] channel [2..45] + [chan+name] channel [2..12] [chan+name] k [chan-name2] w [chan-name2] @@ -25,8 +22,8 @@ pragma range-rule [low-chan-num] 2 12 [radio+name2] [letter] [letter] [letter] [chan-type] -[chan-type] -fm [[chantype=fm]] - -am [[chantype=am]] +[chan-type] -fm {chantype=fm} + -am {chantype=am} [radio+chan] 9 [radio-9chan] [$chantype-1chan] -- cgit v1.2.3