diff options
author | Lenard Pratt <[email protected]> | 2019-04-15 10:09:58 +0100 |
---|---|---|
committer | Lenard Pratt <[email protected]> | 2019-04-22 21:33:48 +0100 |
commit | afaeb18910414166801e3ca51272cfa3661175a4 (patch) | |
tree | 41a0c9907afb41464af0ca0f5eee6b5419bffc30 /crates/ra_parser | |
parent | 1705e5887d5c71cad846cb7e840b3c4e03942856 (diff) |
Addeded resolver and db
Diffstat (limited to 'crates/ra_parser')
-rw-r--r-- | crates/ra_parser/src/grammar/Untitled-1.rs | 13 |
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 @@ | |||
1 | macro_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 | |||