Add comment for global variables

This commit is contained in:
nub31
2025-01-27 19:32:11 +01:00
parent ab3106434e
commit 5d5781dbd7

View File

@@ -47,7 +47,7 @@ public class Generator
foreach (var globalVariable in _definitions.OfType<GlobalVariableDefinitionNode>())
{
var symbol = _symbolTable.ResolveGlobalVariable(globalVariable.Name);
_builder.AppendLine($" {symbol.Identifier}: resq 1");
_builder.AppendLine($" {symbol.Identifier}: resq 1 ; {globalVariable.Name}");
}
_builder.AppendLine();