summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-11-24 15:43:26 -0800
committerAdrian Thurston <thurston@colm.net>2019-11-24 15:43:26 -0800
commit38f0495adf51690aa7b71800a907e2e59da49651 (patch)
tree9efae8ab333790145747615372acc9da336aaaa8 /test
parent501767464ebc1a0cd4f1d01c18acb8134727954c (diff)
downloadcolm-38f0495adf51690aa7b71800a907e2e59da49651.tar.gz
updated test suite for exclusion of ? from pos 2+ of ` lits
Diffstat (limited to 'test')
-rw-r--r--test/colm.d/exit4.lm5
-rw-r--r--test/colm.d/exit5.lm7
-rw-r--r--test/colm.d/exit6.lm5
-rw-r--r--test/colm.d/pushloc.lm5
4 files changed, 9 insertions, 13 deletions
diff --git a/test/colm.d/exit4.lm b/test/colm.d/exit4.lm
index 3e2d1389..8bc97b75 100644
--- a/test/colm.d/exit4.lm
+++ b/test/colm.d/exit4.lm
@@ -132,7 +132,7 @@ namespace ragel
literal `@ `> `< `% `$
literal `from `to `eof `lerr `err
- literal `when `inwhen `outwhen `>? `$? `%?
+ literal `when `inwhen `outwhen
literal `:= `= `; `.. `::
@@ -252,8 +252,7 @@ namespace ragel
[`@] :Finish | [`>] :Enter | [`%] :Leave | [`$] :All
def aug_cond
- [`>?] :Start1 | [`$?] :All1 | [`%?] :Leave1
- | [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
+ [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
| [`inwhen] :Start3 | [`when] :All3 | [`outwhen] :Leave3
def aug_to_state
diff --git a/test/colm.d/exit5.lm b/test/colm.d/exit5.lm
index c6d4336d..c3fbce12 100644
--- a/test/colm.d/exit5.lm
+++ b/test/colm.d/exit5.lm
@@ -132,8 +132,8 @@ namespace ragel
literal `@ `> `< `% `$
literal `from `to `eof `lerr `err
- literal `when `inwhen `outwhen `>? `$? `%?
-
+ literal `when `inwhen `outwhen
+
literal `:= `= `; `.. `::
literal `>~ `$~ `%~ `<~ `@~ `<>~
@@ -252,8 +252,7 @@ namespace ragel
[`@] :Finish | [`>] :Enter | [`%] :Leave | [`$] :All
def aug_cond
- [`>?] :Start1 | [`$?] :All1 | [`%?] :Leave1
- | [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
+ [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
| [`inwhen] :Start3 | [`when] :All3 | [`outwhen] :Leave3
def aug_to_state
diff --git a/test/colm.d/exit6.lm b/test/colm.d/exit6.lm
index 3595d93e..fccdcae1 100644
--- a/test/colm.d/exit6.lm
+++ b/test/colm.d/exit6.lm
@@ -132,7 +132,7 @@ namespace ragel
literal `@ `> `< `% `$
literal `from `to `eof `lerr `err
- literal `when `inwhen `outwhen `>? `$? `%?
+ literal `when `inwhen `outwhen
literal `:= `= `; `.. `::
@@ -252,8 +252,7 @@ namespace ragel
[`@] :Finish | [`>] :Enter | [`%] :Leave | [`$] :All
def aug_cond
- [`>?] :Start1 | [`$?] :All1 | [`%?] :Leave1
- | [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
+ [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
| [`inwhen] :Start3 | [`when] :All3 | [`outwhen] :Leave3
def aug_to_state
diff --git a/test/colm.d/pushloc.lm b/test/colm.d/pushloc.lm
index 6dd86326..6aa67c6d 100644
--- a/test/colm.d/pushloc.lm
+++ b/test/colm.d/pushloc.lm
@@ -292,7 +292,7 @@ namespace ragel
literal `@ `> `< `% `$
literal `from `to `eof `lerr `err
- literal `when `inwhen `outwhen `>? `$? `%?
+ literal `when `inwhen `outwhen
literal `:= `|= `= `; `.. `../i `::
@@ -569,8 +569,7 @@ namespace ragel
[`@] :Finish | [`>] :Enter | [`%] :Leave | [`$] :All
def aug_cond
- [`>?] :Start1 | [`$?] :All1 | [`%?] :Leave1
- | [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
+ [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
| [`inwhen] :Start3 | [`when] :All3 | [`outwhen] :Leave3
def aug_to_state