grammar done
This commit is contained in:
parent
ad543c304d
commit
e628e7c1e2
6 changed files with 1612 additions and 1191 deletions
|
|
@ -133,7 +133,7 @@ void FunctionDefinition::EvalStatement(Statement* stm) {
|
|||
auto function_obj = NDO_CAST(MethodObject, NDO->create("method"));
|
||||
auto method_const_obj = mConstants.addMethod(func.mFunctionId, function_obj);
|
||||
|
||||
for (auto child_stm : stm_func_def->mStatements) {
|
||||
for (auto child_stm : stm_func_def->mStatements->mStatements) {
|
||||
func.EvalStatement(child_stm.data());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue