possible fix for torsion lineno

This commit is contained in:
marauder2k7 2024-05-24 09:48:42 +01:00
parent b7c04c5734
commit b338458a1d
2 changed files with 2 additions and 0 deletions

View file

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

View file

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