aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2019-04-11 04:02:41 +0100
committerEdwin Cheng <[email protected]>2019-04-11 04:02:41 +0100
commit74e846b9ecffd819af3109c50e48517b560b17cf (patch)
treedda88fd472e9cb12318a8feecdabd1b545dc8fdc
parentac6ab0758731d0555fbf1b1a918abd3e12c8169d (diff)
Add L_DOLLAR and R_DOLLAR
-rw-r--r--crates/ra_parser/src/syntax_kind/generated.rs4
-rw-r--r--crates/ra_syntax/src/grammar.ron2
2 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_parser/src/syntax_kind/generated.rs b/crates/ra_parser/src/syntax_kind/generated.rs
index 547af1b27..b16177de2 100644
--- a/crates/ra_parser/src/syntax_kind/generated.rs
+++ b/crates/ra_parser/src/syntax_kind/generated.rs
@@ -119,6 +119,8 @@ pub enum SyntaxKind {
119 LIFETIME, 119 LIFETIME,
120 COMMENT, 120 COMMENT,
121 SHEBANG, 121 SHEBANG,
122 L_DOLLAR,
123 R_DOLLAR,
122 SOURCE_FILE, 124 SOURCE_FILE,
123 STRUCT_DEF, 125 STRUCT_DEF,
124 ENUM_DEF, 126 ENUM_DEF,
@@ -460,6 +462,8 @@ impl SyntaxKind {
460 LIFETIME => &SyntaxInfo { name: "LIFETIME" }, 462 LIFETIME => &SyntaxInfo { name: "LIFETIME" },
461 COMMENT => &SyntaxInfo { name: "COMMENT" }, 463 COMMENT => &SyntaxInfo { name: "COMMENT" },
462 SHEBANG => &SyntaxInfo { name: "SHEBANG" }, 464 SHEBANG => &SyntaxInfo { name: "SHEBANG" },
465 L_DOLLAR => &SyntaxInfo { name: "L_DOLLAR" },
466 R_DOLLAR => &SyntaxInfo { name: "R_DOLLAR" },
463 SOURCE_FILE => &SyntaxInfo { name: "SOURCE_FILE" }, 467 SOURCE_FILE => &SyntaxInfo { name: "SOURCE_FILE" },
464 STRUCT_DEF => &SyntaxInfo { name: "STRUCT_DEF" }, 468 STRUCT_DEF => &SyntaxInfo { name: "STRUCT_DEF" },
465 ENUM_DEF => &SyntaxInfo { name: "ENUM_DEF" }, 469 ENUM_DEF => &SyntaxInfo { name: "ENUM_DEF" },
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron
index 0a35e25d5..b41241287 100644
--- a/crates/ra_syntax/src/grammar.ron
+++ b/crates/ra_syntax/src/grammar.ron
@@ -118,6 +118,8 @@ Grammar(
118 "LIFETIME", 118 "LIFETIME",
119 "COMMENT", 119 "COMMENT",
120 "SHEBANG", 120 "SHEBANG",
121 "L_DOLLAR",
122 "R_DOLLAR",
121 ], 123 ],
122 nodes: [ 124 nodes: [
123 "SOURCE_FILE", 125 "SOURCE_FILE",