From 84cfdc8e8784546455172b3466d56e78fcc0b12f Mon Sep 17 00:00:00 2001 From: Samuel Audet Date: Mon, 8 Jan 2024 22:25:31 +0900 Subject: [PATCH] Fix javadoc --- src/main/java/org/bytedeco/javacpp/tools/Parser.java | 2 +- src/main/java/org/bytedeco/javacpp/tools/Templates.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bytedeco/javacpp/tools/Parser.java b/src/main/java/org/bytedeco/javacpp/tools/Parser.java index fc986258..1b3446fe 100644 --- a/src/main/java/org/bytedeco/javacpp/tools/Parser.java +++ b/src/main/java/org/bytedeco/javacpp/tools/Parser.java @@ -767,7 +767,7 @@ Type[] templateArguments(Context context) throws ParserException { /** * Read and return the operator following an operator keyword: - * any of new, delete, + - * / % ^ & | ~ ! = < > += -= *= /= %= ^= &= |= << >> >>= <<= == != <= >= <=>(since C++20) && || ++ -- , ->* -> ( ) [ ] + * any of {@code new, delete, + - * / % ^ & | ~ ! = < > += -= *= /= %= ^= &= |= << >> >>= <<= == != <= >= <=>(since C++20) && || ++ -- , ->* -> ( ) [ ]} * taking care of template arguments, if any. */ private String operator(Context context) throws ParserException { diff --git a/src/main/java/org/bytedeco/javacpp/tools/Templates.java b/src/main/java/org/bytedeco/javacpp/tools/Templates.java index ee5e1c97..8f754cd8 100644 --- a/src/main/java/org/bytedeco/javacpp/tools/Templates.java +++ b/src/main/java/org/bytedeco/javacpp/tools/Templates.java @@ -32,7 +32,7 @@ class Templates { static final Pattern templatePattern = Pattern.compile("<[^<>=]*>"); - /** Remove template arguments from s, taking care of nested templates, default arguments (xxx<>), operator <=>, ->, etc... */ + /** Remove template arguments from s, taking care of nested templates, default arguments {@code (xxx<>), operator <=>, ->}, etc */ static String strip(String s) { Matcher m; do {