summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-11-10 11:23:07 -0300
committerAdrian Thurston <thurston@colm.net>2019-11-10 11:23:38 -0300
commit21911073a0461412c0e9f2586fa11617cdeed195 (patch)
tree81a0c2ee6f6233a4864dc00d0b29996ad59932ec /test
parenta7f4dc66dc3d5a5492328caace6485e93fe44ad8 (diff)
downloadcolm-21911073a0461412c0e9f2586fa11617cdeed195.tar.gz
rust backend: accept lifetimes in rust_out grammar
fixes #67
Diffstat (limited to 'test')
-rw-r--r--test/ragel.d/rust1.rl2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ragel.d/rust1.rl b/test/ragel.d/rust1.rl
index 8a95425e..5eac919b 100644
--- a/test/ragel.d/rust1.rl
+++ b/test/ragel.d/rust1.rl
@@ -10,6 +10,8 @@
};
}%%
+fn some_fn() -> &'static str { "foo" }
+
%% write data;
fn m( s: String )