Skip to content

Commit

Permalink
Support <> in templateArguments
Browse files Browse the repository at this point in the history
  • Loading branch information
HGuillemet committed Jan 8, 2024
1 parent 8008345 commit 2e1f5c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/bytedeco/javacpp/tools/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,9 @@ Type[] templateArguments(Context context) throws ParserException {
}
List<Type> arguments = new ArrayList<>();
for (Token token = tokens.next(); !token.match(Token.EOF); token = tokens.next()) {
if (token.match('>')) {
break;
}
Type type = type(context);
arguments.add(type);
token = tokens.get();
Expand Down

0 comments on commit 2e1f5c9

Please sign in to comment.