-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing errors on some semicolon-delimited generic type parameters
Specifically, in routine implementation headers. Previously, only comma-delimited type parameters were parsing correctly.
- Loading branch information
Showing
4 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...rc/test/resources/au/com/integradev/delphi/grammar/SemicolonSeparatedGenericArguments.pas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
unit SemicolonSeparatedGenericArguments; | ||
|
||
interface | ||
|
||
implementation | ||
|
||
type | ||
TFoo = class | ||
class procedure Bar<T; C>; | ||
end; | ||
|
||
class procedure TFoo.Bar<T; C>; | ||
begin | ||
// ... | ||
end; | ||
|
||
end. |