Skip to content

Commit

Permalink
fixing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
objeck committed Dec 21, 2024
1 parent 133d4f5 commit f1bcdad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/compiler/intermediate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5832,7 +5832,7 @@ int IntermediateEmitter::CalculateEntrySpace(SymbolTable* table, int &index, Int
GetLogger() << L"\t" << index << L": FUNC_PARM: name=" << entry->GetName() << std::endl;
#endif
declarations->AddParameter(new IntermediateDeclaration(entry->GetName(), FUNC_PARM));
entry->SetId(index++);
entry->SetId(index);
index += 2;
var_space += 2;
break;
Expand Down
Binary file modified docs/api.zip
Binary file not shown.

0 comments on commit f1bcdad

Please sign in to comment.