Do not give an error for files that end with an #endif with no newline.

This was a problem introduced by commit 30a04d42c5.
This commit is contained in:
Stephen Heumann 2023-03-14 21:59:21 -05:00
parent 49deff3c86
commit 344bf6999f
1 changed files with 3 additions and 3 deletions

View File

@ -506,8 +506,6 @@ lab1 anop
beq la2
la1 brl lb5
la2 anop
! CheckConditionals;
jsl CheckConditionals
! if not lastWasReturn then begin
! lastWasReturn := true;
! needWriteLine := true;
@ -522,8 +520,10 @@ la2 anop
lda #eolChar
sta ch
brl le2
! CheckConditionals;
la3 jsl CheckConditionals
! ch := chr(eofChar);
la3 stz ch
stz ch
! if needWriteLine then begin {do eol processing}
! WriteLine;