| ... | ... | @@ -232,7 +232,7 @@ const Parser = struct { |
| 232 | 232 | /// / TopLevelComptime ContainerDeclarations |
| 233 | 233 | /// / KEYWORD_pub? TopLevelDecl ContainerDeclarations |
| 234 | 234 | /// / |
| 235 | | /// TopLevelComptime <- KEYWORD_comptime BlockExpr |
| 235 | /// TopLevelComptime <- KEYWORD_comptime Block |
| 236 | 236 | fn parseContainerMembers(p: *Parser) !Members { |
| 237 | 237 | const scratch_top = p.scratch.items.len; |
| 238 | 238 | defer p.scratch.shrinkRetainingCapacity(scratch_top); |
| ... | ... | @@ -849,7 +849,7 @@ const Parser = struct { |
| 849 | 849 | } |
| 850 | 850 | } |
| 851 | 851 | |
| 852 | | /// ContainerField <- KEYWORD_comptime? IDENTIFIER (COLON (KEYWORD_anytype / TypeExpr) ByteAlign?)? (EQUAL Expr)? |
| 852 | /// ContainerField <- KEYWORD_comptime? IDENTIFIER (COLON TypeExpr ByteAlign?)? (EQUAL Expr)? |
| 853 | 853 | fn expectContainerField(p: *Parser) !Node.Index { |
| 854 | 854 | _ = p.eatToken(.keyword_comptime); |
| 855 | 855 | const name_token = p.assertToken(.identifier); |