mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-21 21:32:00 +00:00
Terminate header generation if #warning is encountered.
This is necessary to ensure that the warning message is printed on subsequent compiles.
This commit is contained in:
parent
a73dce103b
commit
aabbadb34b
@ -2727,7 +2727,9 @@ var
|
||||
begin {DoError}
|
||||
lFirstPtr := firstPtr;
|
||||
if isError then
|
||||
numErrors := numErrors+1;
|
||||
numErrors := numErrors+1
|
||||
else
|
||||
TermHeader;
|
||||
new(msg);
|
||||
if isError then
|
||||
msg^ := '#error:'
|
||||
|
Loading…
x
Reference in New Issue
Block a user