diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index d7505ea06..bddd96a5c 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -424,10 +424,10 @@ Grammar( | |||
424 | "PrefixExpr": (options: ["Expr"]), | 424 | "PrefixExpr": (options: ["Expr"]), |
425 | "RangeExpr": (), | 425 | "RangeExpr": (), |
426 | "BinExpr": (), | 426 | "BinExpr": (), |
427 | "String": (), | 427 | "String": ( traits: ["AstToken"] ), |
428 | "Byte": (), | 428 | "Byte": ( traits: ["AstToken"] ), |
429 | "ByteString": (), | 429 | "ByteString": ( traits: ["AstToken"] ), |
430 | "Char": (), | 430 | "Char": ( traits: ["AstToken"] ), |
431 | "Literal": (), | 431 | "Literal": (), |
432 | 432 | ||
433 | "Expr": ( | 433 | "Expr": ( |
@@ -505,7 +505,7 @@ Grammar( | |||
505 | ), | 505 | ), |
506 | "TypeParam": ( traits: ["NameOwner"] ), | 506 | "TypeParam": ( traits: ["NameOwner"] ), |
507 | "LifetimeParam": ( options: [ "Lifetime" ] ), | 507 | "LifetimeParam": ( options: [ "Lifetime" ] ), |
508 | "Lifetime": (), | 508 | "Lifetime": ( traits: ["AstToken"] ), |
509 | "WhereClause": (), | 509 | "WhereClause": (), |
510 | "ExprStmt": ( | 510 | "ExprStmt": ( |
511 | options: [ ["expr", "Expr"] ] | 511 | options: [ ["expr", "Expr"] ] |
@@ -562,7 +562,7 @@ Grammar( | |||
562 | "PathSegment": ( | 562 | "PathSegment": ( |
563 | options: [ "NameRef" ] | 563 | options: [ "NameRef" ] |
564 | ), | 564 | ), |
565 | "Comment": (), | 565 | "Comment": ( traits: ["AstToken"] ), |
566 | "Whitespace": (), | 566 | "Whitespace": ( traits: ["AstToken"] ), |
567 | }, | 567 | }, |
568 | ) | 568 | ) |