diff options
author | Aleksey Kladov <[email protected]> | 2018-11-07 15:38:43 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-11-07 15:42:36 +0000 |
commit | 2ed1514df3f8837ccebdbbfdadbe89e79b4a4365 (patch) | |
tree | 82af1d514d9865db4e2cc163a7ffa601a7c294db /crates/ra_syntax/src/grammar | |
parent | f8b36bbc3b968754b71844d942286e81415627b8 (diff) |
rename ROOT -> SOURCE_FILE
Diffstat (limited to 'crates/ra_syntax/src/grammar')
-rw-r--r-- | crates/ra_syntax/src/grammar/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar/mod.rs b/crates/ra_syntax/src/grammar/mod.rs index 95c437983..06a37d648 100644 --- a/crates/ra_syntax/src/grammar/mod.rs +++ b/crates/ra_syntax/src/grammar/mod.rs | |||
@@ -53,7 +53,7 @@ pub(crate) fn root(p: &mut Parser) { | |||
53 | let m = p.start(); | 53 | let m = p.start(); |
54 | p.eat(SHEBANG); | 54 | p.eat(SHEBANG); |
55 | items::mod_contents(p, false); | 55 | items::mod_contents(p, false); |
56 | m.complete(p, ROOT); | 56 | m.complete(p, SOURCE_FILE); |
57 | } | 57 | } |
58 | 58 | ||
59 | #[derive(Clone, Copy, PartialEq, Eq)] | 59 | #[derive(Clone, Copy, PartialEq, Eq)] |