fixed tester and parameter passing bugs

This commit is contained in:
Samuel D. Crow
2021-04-16 22:01:48 -05:00
parent 9ddac1afd6
commit 7c5f331395
4 changed files with 12 additions and 3 deletions

View File

@@ -505,7 +505,7 @@ variableType::variableType(enum SCOPES s, string &name, enum TYPES t, fn *fnHand
string variableType::boxName()
{
ostringstream ss;
if (myScope==S_LOCAL)
if (myScope==S_LOCAL || myScope==S_PARAMETER)
{
ss << "sub" << this->handle->getID() << "->v" << this->getID();
return ss.str();