Skip to content
Permalink
Browse files

add labels defined on command line to symData

  • Loading branch information...
Zeturic committed Jun 16, 2019
1 parent 104b5a9 commit fd5b15592d11d40dd0c8c07f8a9fbd25673b650f
Showing with 4 additions and 0 deletions.
  1. +4 −0 Core/Assembler.cpp
@@ -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;

0 comments on commit fd5b155

Please sign in to comment.
You can’t perform that action at this time.