Skip to content

Commit

Permalink
* Let Parser support templates with unnamed type parameters (pull #…
Browse files Browse the repository at this point in the history
  • Loading branch information
HGuillemet committed Feb 11, 2024
1 parent 80d0828 commit 9940c31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,4 +1,5 @@

* Let `Parser` support templates with unnamed type parameters ([pull #742](https://github.com/bytedeco/javacpp/pull/742))
* Prevent `Parser` from producing duplicate declarations for basic containers ([pull #741](https://github.com/bytedeco/javacpp/pull/741))

### January 29, 2024 version 1.5.10
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/bytedeco/javacpp/tools/Parser.java
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("typename arg" + map.size(), null); // Anonymous type
}
} else if (token.match(Token.IDENTIFIER)) {
Type type = type(context); // ignore?
Expand Down

0 comments on commit 9940c31

Please sign in to comment.