Skip to content

Commit

Permalink
add labels defined on command line to symData
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeturic committed Jun 16, 2019
1 parent 104b5a9 commit fd5b155
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Core/Assembler.cpp
Expand Up @@ -158,6 +158,10 @@ bool runArmips(ArmipsArguments& arguments)
}

Global.symbolTable.addLabels(arguments.labels);
for (const LabelDefinition& label : arguments.labels)
{
symData.addLabel(label.value, label.name);
}

if (Logger::hasError())
return false;
Expand Down

0 comments on commit fd5b155

Please sign in to comment.