Skip to content

Commit

Permalink
[Objective-C] Fix className and categoryName positions in categoryImp…
Browse files Browse the repository at this point in the history
…lementation rule to correctly represent objc syntax (#3333)
  • Loading branch information
wangxi761 authored Apr 19, 2023
1 parent b574b2f commit c0ad641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objc/ObjectiveCParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ classImplementation

categoryImplementation
: '@implementation'
categoryName=genericTypeSpecifier LP className=identifier RP implementationDefinitionList?
className=genericTypeSpecifier LP categoryName=identifier RP implementationDefinitionList?
'@end'
;

Expand Down

0 comments on commit c0ad641

Please sign in to comment.