mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
1326454 - Introduce TokenStream::error that reports an error at the current offset.
This commit is contained in:
parent
94c6eea52b
commit
c94ed16b4f
2 changed files with 30 additions and 10 deletions
|
|
@ -366,6 +366,9 @@ class MOZ_STACK_CLASS TokenStream
|
|||
bool reportErrorNoOffset(unsigned errorNumber, ...);
|
||||
bool reportWarning(unsigned errorNumber, ...);
|
||||
|
||||
// Report the given error at the current offset.
|
||||
void error(unsigned errorNumber, ...);
|
||||
|
||||
static const uint32_t NoOffset = UINT32_MAX;
|
||||
|
||||
// General-purpose error reporters. You should avoid calling these
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue