summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-11-28 14:03:01 -0800
committerAdrian Thurston <thurston@colm.net>2019-11-28 14:03:01 -0800
commit76bef9c90354a87bbf276f648f486d826d1dad39 (patch)
tree7841eb1e03cc1dc2ed8e57bbc66aabe0e49b2770 /test
parent6241a7bfacc417ce303a6e1fdb79309c8f5cc881 (diff)
downloadcolm-76bef9c90354a87bbf276f648f486d826d1dad39.tar.gz
revert "updated test suite for exclusion of ? from pos 2+ of ` lits"
This reverts commit 38f0495adf51690aa7b71800a907e2e59da49651.
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, 13 insertions, 9 deletions
diff --git a/test/colm.d/exit4.lm b/test/colm.d/exit4.lm
index 8bc97b75..3e2d1389 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,7 +252,8 @@ namespace ragel
[`@] :Finish | [`>] :Enter | [`%] :Leave | [`$] :All
def aug_cond
- [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
+ [`>?] :Start1 | [`$?] :All1 | [`%?] :Leave1
+ | [`> `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 c3fbce12..c6d4336d 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,7 +252,8 @@ namespace ragel
[`@] :Finish | [`>] :Enter | [`%] :Leave | [`$] :All
def aug_cond
- [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
+ [`>?] :Start1 | [`$?] :All1 | [`%?] :Leave1
+ | [`> `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 fccdcae1..3595d93e 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,7 +252,8 @@ namespace ragel
[`@] :Finish | [`>] :Enter | [`%] :Leave | [`$] :All
def aug_cond
- [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
+ [`>?] :Start1 | [`$?] :All1 | [`%?] :Leave1
+ | [`> `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 6aa67c6d..6dd86326 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,7 +569,8 @@ namespace ragel
[`@] :Finish | [`>] :Enter | [`%] :Leave | [`$] :All
def aug_cond
- [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
+ [`>?] :Start1 | [`$?] :All1 | [`%?] :Leave1
+ | [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
| [`inwhen] :Start3 | [`when] :All3 | [`outwhen] :Leave3
def aug_to_state