public override void ExitCobolProgram(ProgramClassParser.CobolProgramContext context) { AttachEndIfExists(context.ProgramEnd()); Exit(); programsStack.Pop(); }