Implement initial version scanning function in program when parsing program. (#172)

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
김승현/Tizen Platform Lab(SR)/Engineer/삼성전자 2018-12-11 13:18:01 +09:00 committed by 최영일/Tizen Platform Lab(SR)/Principal Engineer/삼성전자
commit ea7b221a53
6 changed files with 2076 additions and 83 deletions

View file

@ -185,7 +185,7 @@ ScriptParser::ScriptParserResult ScriptParser::parse(StringView scriptSource, St
try {
m_context->vmInstance()->m_parsedSourceCodes.push_back(scriptSource.string());
RefPtr<ProgramNode> program = esprima::parseProgram(m_context, scriptSource, nullptr, strictFromOutside, stackSizeRemain);
RefPtr<ProgramNode> program = esprima::parseProgram(m_context, scriptSource, strictFromOutside, stackSizeRemain);
script = new Script(fileName, new StringView(scriptSource));
InterpretedCodeBlock* topCodeBlock;