mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 922432 - OdinMonkey: improve error reporting (r=sstangl)
--HG-- extra : rebase_source : 73e87b5ef47215bd84df38de6f3ce68ba9686e65
This commit is contained in:
parent
7039ba4996
commit
867ebc38b0
@ -1324,7 +1324,7 @@ class MOZ_STACK_CLASS ModuleCompiler
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool fail(ParseNode *pn, const char *str) {
|
bool fail(ParseNode *pn, const char *str) {
|
||||||
return failOffset(pn ? pn->pn_pos.begin : parser_.tokenStream.currentToken().pos.end, str);
|
return failOffset(pn ? pn->pn_pos.begin : parser_.tokenStream.peekTokenPos().begin, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool failfVA(ParseNode *pn, const char *fmt, va_list ap) {
|
bool failfVA(ParseNode *pn, const char *fmt, va_list ap) {
|
||||||
|
Loading…
Reference in New Issue
Block a user