mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 23:29:27 +00:00
Enable automatic comparison with 0 for long longs.
This allows them to be used in if statements and as controlling expressions for loops.
This commit is contained in:
parent
a59a2427fd
commit
10cf6e446d
@ -1757,6 +1757,8 @@ if expressionType^.kind = scalarType then begin
|
||||
Gen1t(pc_ldc, 0, cgWord);
|
||||
cgLong,cgULong:
|
||||
GenLdcLong(0);
|
||||
cgQuad,cgUQuad:
|
||||
GenLdcQuad(longlong0);
|
||||
cgReal,cgDouble,cgComp,cgExtended:
|
||||
GenLdcReal(0.0);
|
||||
otherwise:
|
||||
|
Loading…
Reference in New Issue
Block a user