Skip to content

Commit

Permalink
Update Assembler.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaProductions committed Dec 4, 2023
1 parent adbf147 commit f266603
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/XSharp/XSharp/Assembler/Gen1/Assembler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public void Add(params Instruction[] aReaders)
}

// Allows to emit footers to the code and datamember sections
protected virtual void OnBeforeFlush(TextWriter output)
protected virtual void OnBeforeFlush()
{

}
Expand All @@ -188,20 +188,20 @@ public string GetIdentifier(string aPrefix)

private bool mFlushInitializationDone = false;

protected void BeforeFlush(TextWriter output)
protected void BeforeFlush()
{
if (mFlushInitializationDone)
{
return;
}
mFlushInitializationDone = true;
OnBeforeFlush(output);
OnBeforeFlush();
//MergeAllElements();
}

public virtual void FlushText(TextWriter aOutput)
{
BeforeFlush(aOutput);
BeforeFlush();
BeforeFlushText(aOutput);
// Write out data declarations
aOutput.WriteLine();
Expand Down

0 comments on commit f266603

Please sign in to comment.