aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser
diff options
context:
space:
mode:
authorLenard Pratt <[email protected]>2019-04-15 10:09:58 +0100
committerLenard Pratt <[email protected]>2019-04-22 21:33:48 +0100
commitafaeb18910414166801e3ca51272cfa3661175a4 (patch)
tree41a0c9907afb41464af0ca0f5eee6b5419bffc30 /crates/ra_parser
parent1705e5887d5c71cad846cb7e840b3c4e03942856 (diff)
Addeded resolver and db
Diffstat (limited to 'crates/ra_parser')
-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