clear lines, and dont try to print lines when there is no file.
This commit is contained in:
marauder2k7 2024-06-07 20:13:56 +01:00
parent eeb002ce6b
commit 8140ed9b64
4 changed files with 20 additions and 12 deletions

View file

@ -2742,6 +2742,7 @@ void CMDSetScanBuffer(const char *sb, const char *fn)
fileName = fn;
scanIndex = 0;
yylineno = 1;
lines.clear();
}
int CMDgetc()