Skip to content

Commit

Permalink
Support anonymous template parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
HGuillemet committed Feb 8, 2024
1 parent 80d0828 commit b457073
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/bytedeco/javacpp/tools/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,8 @@ TemplateMap template(Context context) throws ParserException {
String key = t.value;
map.put(key, map.get(key));
token = tokens.next();
} else {
map.put("[" + (map.size() + 1) + "]", null); // Anonymous type
}
} else if (token.match(Token.IDENTIFIER)) {
Type type = type(context); // ignore?
Expand Down

0 comments on commit b457073

Please sign in to comment.