mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
Remove Parser::reportWithNode and its remaining callers.
All of the callsites have a full ParseNode* at hand, of which the offset can be directly accessed.
This commit is contained in:
parent
a389b4e151
commit
ff81b6b3d8
2 changed files with 7 additions and 24 deletions
|
|
@ -907,7 +907,6 @@ class Parser final : private JS::AutoGCRooter, public StrictModeGetter
|
|||
bool reportHelper(ParseReportKind kind, bool strict, uint32_t offset,
|
||||
unsigned errorNumber, va_list args);
|
||||
public:
|
||||
bool reportWithNode(ParseReportKind kind, bool strict, Node pn, unsigned errorNumber, ...);
|
||||
bool reportNoOffset(ParseReportKind kind, bool strict, unsigned errorNumber, ...);
|
||||
|
||||
/* Report the given error at the current offset. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue