Update javascript/extractor/src/com/semmle/js/parser/RegExpParser.java

Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Napalys Klicius
2025-03-11 09:40:24 +01:00
committed by GitHub
parent 08c07f815f
commit 3191b2c6fc

View File

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