mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-08-15 07:27:27 +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:
@@ -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:'
|
||||
|
Reference in New Issue
Block a user