aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/grammar
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_parser/src/grammar')
-rw-r--r--crates/ra_parser/src/grammar/Untitled-1.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/crates/ra_parser/src/grammar/Untitled-1.rs b/crates/ra_parser/src/grammar/Untitled-1.rs
new file mode 100644
index 000000000..2106872c8
--- /dev/null
+++ b/crates/ra_parser/src/grammar/Untitled-1.rs
@@ -0,0 +1,13 @@
1macro_rules! vec {
2 ($($item:expr),*) =>
3 {
4 {
5 let mut v = Vec::new();
6 $(
7 v.push($item);
8 )*
9 v
10 }
11 };
12}
13