diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-06-04 21:14:41 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-06-04 21:14:41 -0300 |
| commit | 63c7fff30d41ab691d6f49d8d7b69e60f9a9e80f (patch) | |
| tree | 2addce4256bdabf4cc987fff936b4c04b9df2477 /data/sample-grammars/long-data/numbers.gram | |
| parent | 9b9ce0c3123d70b9e839084aade4f37eb08e328d (diff) | |
Grammar updates
General pass to update grammars to new syntax/features
Diffstat (limited to 'data/sample-grammars/long-data/numbers.gram')
| -rwxr-xr-x | data/sample-grammars/long-data/numbers.gram | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/data/sample-grammars/long-data/numbers.gram b/data/sample-grammars/long-data/numbers.gram index 8525102..31bfc3c 100755 --- a/data/sample-grammars/long-data/numbers.gram +++ b/data/sample-grammars/long-data/numbers.gram @@ -1,4 +1,4 @@ -[binary-digit] 0 +[binary-digit] [0-1] 1 pragma export-rule [binary-digit] @@ -15,26 +15,11 @@ pragma export-rule [binary-digit] pragma export-rule [digit-noone] -[digit-nonzero] 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 +[digit-nonzero] [1..9] pragma export-rule [digit-nonzero] -[digit-twoup] 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 +[digit-twoup] [2..9] pragma export-rule [digit-twoup] |
