mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-27 10:32:35 +00:00
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:
parent
49deff3c86
commit
344bf6999f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user