diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-07-14 10:15:10 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:43 -0400 |
commit | ccb322db6d1f14c3013bacb01dcb064a3f7fa28f (patch) | |
tree | 31d99375ece8cdadb53154a62524d87c7bad4837 /js/src/frontend/Parser.h | |
parent | 03df00e45ff4dd24b739a973d56edaf800313f7f (diff) | |
download | uxp-ccb322db6d1f14c3013bacb01dcb064a3f7fa28f.tar.gz |
420857 - Part 1: Report the position of opening brace for missing brace error in function body.
Diffstat (limited to 'js/src/frontend/Parser.h')
-rw-r--r-- | js/src/frontend/Parser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/frontend/Parser.h b/js/src/frontend/Parser.h index 7866bc4fd7..b1d3bdee06 100644 --- a/js/src/frontend/Parser.h +++ b/js/src/frontend/Parser.h @@ -1459,6 +1459,8 @@ class Parser final : public ParserBase, private JS::AutoGCRooter bool hasValidSimpleStrictParameterNames(); + void reportMissingClosing(unsigned errorNumber, unsigned noteNumber, uint32_t openedPos); + void reportRedeclaration(HandlePropertyName name, DeclarationKind prevKind, TokenPos pos, uint32_t prevPos); bool notePositionalFormalParameter(Node fn, HandlePropertyName name, uint32_t beginPos, |