This is an automated email from the ASF dual-hosted git repository. afs pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/jena.git
commit 4a0ca2071e61f7f135d2cee846f8158c8214e9da Author: Andy Seaborne <[email protected]> AuthorDate: Sun Jun 28 22:03:15 2026 +0100 Add comment in main.jj --- jena-arq/Grammar/arq.jj | 1 + jena-arq/Grammar/main.jj | 1 + 2 files changed, 2 insertions(+) diff --git a/jena-arq/Grammar/arq.jj b/jena-arq/Grammar/arq.jj index 988beb3f17..1062221641 100644 --- a/jena-arq/Grammar/arq.jj +++ b/jena-arq/Grammar/arq.jj @@ -2480,6 +2480,7 @@ TOKEN: ["\u200C"-"\u200D"] | ["\u2070"-"\u218F"] | ["\u2C00"-"\u2FEF"] | ["\u3001"-"\uD7FF"] | ["\uF900"-"\uFFFD"] // [#x10000-#xEFFFF] + // \-U not legal here so as an extension allow surrogate pairs. // Put in surrogate pairs because by the time javacc sees codepoints, // they are in UTF-16. | <SURROGATE_PAIR> diff --git a/jena-arq/Grammar/main.jj b/jena-arq/Grammar/main.jj index 2be4b93b03..c8e75a01dc 100644 --- a/jena-arq/Grammar/main.jj +++ b/jena-arq/Grammar/main.jj @@ -3066,6 +3066,7 @@ TOKEN: ["\u3001"-"\uD7FF"] | ["\uF900"-"\uFFFD"] // [#x10000-#xEFFFF] #ifdef ARQ + // \-U not legal here so as an extension allow surrogate pairs. // Put in surrogate pairs because by the time javacc sees codepoints, // they are in UTF-16. | <SURROGATE_PAIR>
