https://trac.webkit.org/changeset/191875 broke the !ENABLE(ES6_ARROWFUNCTION_SYNTAX) build: ../../Source/JavaScriptCore/parser/Parser.cpp: In member function 'bool JSC::Parser<T>::parseFunctionInfo(TreeBuilder&, JSC::FunctionRequirements, JSC::SourceParseMode, bool, JSC::ConstructorKind, JSC::SuperBinding, int, JSC::ParserFunctionInfo<TreeBuilder>&, JSC::Parser<T>::FunctionDefinitionType)': ../../Source/JavaScriptCore/parser/Parser.cpp:1695:25: error: 'ARROWFUNCTION' was not declared in this scope ( I don't have any time to investigate this regression, feel free to pick it up. )
I'll check this.
Thanks! This is my fault. I accidentally used ARROWFUNCTION token without ifdef. I'll create the patch once I returned home (in one hour).
I'll keep the minimal ENABLE(ES6_ARROWFUNCTION_SYNTAX) and clean up many ifdefs!
Created attachment 264588 [details] Patch
One difference from the original one is, this patch enables lexing `=>` token. But the parser does not use it for any reductions. This token is just rejected.
Comment on attachment 264588 [details] Patch Thanks!
Comment on attachment 264588 [details] Patch Clearing flags on attachment: 264588 Committed r191946: <http://trac.webkit.org/changeset/191946>
All reviewed patches have been landed. Closing bug.