summaryrefslogtreecommitdiff
path: root/test/trans.d
diff options
context:
space:
mode:
Diffstat (limited to 'test/trans.d')
-rw-r--r--test/trans.d/ragel.lm8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/trans.d/ragel.lm b/test/trans.d/ragel.lm
index eda96275..64d5bb6a 100644
--- a/test/trans.d/ragel.lm
+++ b/test/trans.d/ragel.lm
@@ -107,11 +107,7 @@ namespace ragel
literal `@ `> `< `% `$
literal `from `to `eof `lerr `err
- literal `when `inwhen `outwhen
-
- token in_when /'>?'/
- token all_when /'$?'/
- token leave_when /'%?'/
+ literal `when `inwhen `outwhen `>? `$? `%?
literal `:= `|= `= `; `.. `../i `::
@@ -281,7 +277,7 @@ namespace ragel
[`@] :Finish | [`>] :Enter | [`%] :Leave | [`$] :All
def aug_cond
- [in_when] :Start1 | [all_when] :All1 | [leave_when] :Leave1
+ [`>?] :Start1 | [`$?] :All1 | [`%?] :Leave1
| [`> `when] :Start2 | [`$ `when] :All2 | [`% `when] :Leave2
| [`inwhen] :Start3 | [`when] :All3 | [`outwhen] :Leave3