summaryrefslogtreecommitdiff
path: root/ragel/host-rust/rlhc.lm
diff options
context:
space:
mode:
Diffstat (limited to 'ragel/host-rust/rlhc.lm')
-rw-r--r--ragel/host-rust/rlhc.lm3
1 files changed, 3 insertions, 0 deletions
diff --git a/ragel/host-rust/rlhc.lm b/ragel/host-rust/rlhc.lm
index 61daa84f..a9c42c2d 100644
--- a/ragel/host-rust/rlhc.lm
+++ b/ragel/host-rust/rlhc.lm
@@ -25,6 +25,8 @@ namespace rust_out
literal `{ `}
+ token lifetime / "'" id /
+
token string /
'"' ( [^"\\] | '\\' any ) * '"' |
"'" ( [^'\\] | '\\' any ) * "'"
@@ -40,6 +42,7 @@ namespace rust_out
| [number]
| [symbol]
| [string]
+ | [lifetime]
| [`{ _IN_ item* _EX_ `} ]
def rust_out