-
Notifications
You must be signed in to change notification settings - Fork 682
Add support for function argument initializers. #2571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for function argument initializers. #2571
Conversation
@@ -76,6 +76,9 @@ typedef enum | |||
#ifndef CONFIG_DISABLE_ES2015_CLASS | |||
SCAN_STACK_CLASS, /**< class language element */ | |||
#endif /* !CONFIG_DISABLE_ES2015_CLASS */ | |||
#ifndef CONFIG_DISABLE_ES2015_FUNCTION_PARAMETER_INITIALIZER | |||
SCAN_STACK_FUNCTION_PARAMETERS, /**< function parameter initializer */ | |||
#endif /* CONFIG_DISABLE_ES2015_FUNCTION_PARAMETER_INITIALIZER */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closing comments of #ifndef
s should be perfixed with !
(all over the commit).
8e96969
to
75ce74c
Compare
EcmaScript 2015 14.1. Note: arrow functions with default arguments are not supported yet. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
75ce74c
to
5562a2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (informal)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
EcmaScript 2015 14.1.
Note: arrow functions with default arguments are not supported yet.