Improved documentation, removed union fram change note.

This commit is contained in:
Napalys
2025-03-11 08:27:38 +01:00
parent 9c8e0a5537
commit 08c07f815f
5 changed files with 16 additions and 6 deletions

View File

@@ -297,8 +297,8 @@ public class RegExpParser {
disjuncts.add(this.parseAlternativeInsideQuotedString());
}
if (disjuncts.size() == 1) return disjuncts.get(0);
return this.finishTerm(new Disjunction(loc, disjuncts));
}
return this.finishTerm(new Disjunction(loc, disjuncts));
}
private RegExpTerm parseAlternativeInsideQuotedString() {
SourceLocation loc = new SourceLocation(pos());