summaryrefslogtreecommitdiff
path: root/js/src/irregexp/RegExpParser.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-08 15:48:25 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:17 -0400
commitb41de8683d8d28d08a6e2b79511610a268342a0e (patch)
tree82fa4225aaad95443ba9d82599d4d28582bfcdb6 /js/src/irregexp/RegExpParser.h
parent068916b59a847bede7c6c788e803442c1833fe67 (diff)
downloaduxp-b41de8683d8d28d08a6e2b79511610a268342a0e.tar.gz
1326454 - Rename TokenStream::getBracedUnicode to TokenStream::matchBracedUnicode and make its signature fallible.
Diffstat (limited to 'js/src/irregexp/RegExpParser.h')
-rw-r--r--js/src/irregexp/RegExpParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/irregexp/RegExpParser.h b/js/src/irregexp/RegExpParser.h
index b5228a86f9..0a7e618589 100644
--- a/js/src/irregexp/RegExpParser.h
+++ b/js/src/irregexp/RegExpParser.h
@@ -211,7 +211,7 @@ class RegExpParser
bool ParseBackReferenceIndex(int* index_out);
bool ParseClassAtom(char16_t* char_class, widechar *value);
- RegExpTree* ReportError(unsigned errorNumber);
+ RegExpTree* ReportError(unsigned errorNumber, const char* param = nullptr);
void Advance();
void Advance(int dist) {
next_pos_ += dist - 1;