Skip to content

Commit 2b2af5d

Browse files
authored
Update return-list grammar for forward/move (#726)
1 parent 4e5422d commit 2b2af5d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

source/parse.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7459,8 +7459,11 @@ class parser
74597459
//G
74607460
//G return-list:
74617461
//G expression-statement
7462-
//G '->' type-id
7463-
//G '->' parameter_declaration_list
7462+
//G '->' return-direction? type-id
7463+
//G '->' parameter-declaration-list
7464+
//G
7465+
//G return-direction: one of
7466+
//G 'forward' 'move'
74647467
//G
74657468
//G contract-seq:
74667469
//G contract

0 commit comments

Comments
 (0)