diff options
author | Marcus Klaas de Vries <[email protected]> | 2019-01-15 14:24:04 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-19 12:37:25 +0000 |
commit | afaa26636e4391ebacfc09e9c994c11bab58b834 (patch) | |
tree | 79d66f1d2eb70f3092285ab37f1e21c3832ea8b8 /crates/ra_syntax/src/grammar.ron | |
parent | 0a82d9cdc975da27e78839e1a8cb873ba99ae64b (diff) |
Add additional pattern variants
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 2aaad46b1..b524c8aaf 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -490,14 +490,14 @@ Grammar( | |||
490 | "RefPat": ( options: [ "Pat" ]), | 490 | "RefPat": ( options: [ "Pat" ]), |
491 | "BindPat": ( traits: ["NameOwner"] ), | 491 | "BindPat": ( traits: ["NameOwner"] ), |
492 | "PlaceholderPat": (), | 492 | "PlaceholderPat": (), |
493 | "PathPat": (), | 493 | "PathPat": ( options: ["Path"] ), |
494 | "StructPat": (), | 494 | "StructPat": (), |
495 | "FieldPatList": (), | 495 | "FieldPatList": (), |
496 | "TupleStructPat": ( | 496 | "TupleStructPat": ( |
497 | options: ["Path"], | 497 | options: ["Path"], |
498 | collections: [["args", "Pat"]], | 498 | collections: [["args", "Pat"]], |
499 | ), | 499 | ), |
500 | "TuplePat": (), | 500 | "TuplePat": ( collections: [["args", "Pat"]] ), |
501 | "SlicePat": (), | 501 | "SlicePat": (), |
502 | "RangePat": (), | 502 | "RangePat": (), |
503 | 503 | ||