[jOOQ/jOOQ#14684] Translator duplicates comment only content
This commit is contained in:
parent
f5cead42d5
commit
b8329abcb0
@ -907,7 +907,9 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
|
||||
}
|
||||
while (parseDelimiterIf(true) && (p = positionBeforeWhitespace) >= 0 && !done());
|
||||
|
||||
retainComments(result, p);
|
||||
if (query != null)
|
||||
retainComments(result, p);
|
||||
|
||||
return done("Unexpected token or missing query delimiter", dsl.queries(result));
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user