From 39e08325c0e0fba75384579427d1c6f7eca8fbc9 Mon Sep 17 00:00:00 2001 From: Juan Aguilar Santillana Date: Wed, 12 Dec 2018 22:30:57 +0100 Subject: fix rust macro arguments --- testing/templates/rust-macro-args.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 testing/templates/rust-macro-args.html (limited to 'testing/templates') diff --git a/testing/templates/rust-macro-args.html b/testing/templates/rust-macro-args.html new file mode 100644 index 0000000..b009a73 --- /dev/null +++ b/testing/templates/rust-macro-args.html @@ -0,0 +1,26 @@ +{{ + call_a_or_b_on_tail!( + (a: compute_len, b: zero), + the recursive part that skips over all these + tokens doesn't much care whether we will call a + or call b: only the terminal rules care. + ) +}} +{{ + call_a_or_b_on_tail!( + (a: compute_len, b: zero), + and now, to justify the existence of two paths + we will also call a: its input should somehow + be self-referential, so let's make it return + some ninety one! + ) +}} +{{ + call_a_or_b_on_tail!( + (a: compute_len, b: zero), + and now, to justify the existence of two paths + we will also call a: its input should somehow + be self-referential, so let's make it return + some ninety "(\"()"nine! + ) +}} -- cgit