DescriptionParser: Refactor strict mode checks for functions
Moves the strict mode checks and error reporting for the function and
parameter names into a separate CheckStrictFunctionNameAndParameters()
function in ParserBase. Parsing of arrow functions will then use this
new function instead of duplicating the error code.
BUG=
R=marja@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=21896
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|