From a9a6a50c759302e8a8d59bf6c53c72ec804324b3 Mon Sep 17 00:00:00 2001 From: Marcus Klaas de Vries Date: Mon, 14 Jan 2019 19:30:21 +0100 Subject: Fixup tests --- crates/ra_syntax/src/grammar.ron | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'crates/ra_syntax/src/grammar.ron') diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 49b297696..34d2a27d1 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron @@ -215,7 +215,6 @@ Grammar( "PATH", "PATH_SEGMENT", "LITERAL", - "LITERAL_EXPR", "ALIAS", "VISIBILITY", "WHERE_CLAUSE", @@ -434,7 +433,9 @@ Grammar( "Byte": ( traits: ["AstToken"] ), "ByteString": ( traits: ["AstToken"] ), "Char": ( traits: ["AstToken"] ), - "Literal": ( + "TrueKw": ( traits: ["AstToken"] ), + "FalseKw": ( traits: ["AstToken"] ), + "LiteralExpr": ( enum: [ "String", "ByteString", @@ -442,9 +443,11 @@ Grammar( "Byte", "IntNumber", "FloatNumber", + "TrueKw", + "FalseKw", ] ), - "LiteralExpr": (options: ["Literal"]), + "Literal": (options: ["LiteralExpr"]), "Expr": ( enum: [ @@ -474,7 +477,7 @@ Grammar( "PrefixExpr", "RangeExpr", "BinExpr", - "LiteralExpr", + "Literal", ], ), -- cgit v1.2.3