mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 06:22:25 +00:00
Support 64 bit integer literals on all builds, and fix 64 bit Console.hex display.
This commit is contained in:
parent
7fad168e40
commit
dc699db9f5
199 changed files with 478 additions and 477 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* voc 1.95 [2016/09/14] for gcc LP64 on cygwin xtspkaSfF */
|
||||
/* voc 1.95 [2016/09/15] for gcc LP64 on cygwin xtspkaSfF */
|
||||
|
||||
#define INTEGER int16
|
||||
#define LONGINT int32
|
||||
|
|
@ -102,7 +102,8 @@ void Console_Bool (BOOLEAN b)
|
|||
|
||||
void Console_Hex (int32 i)
|
||||
{
|
||||
int32 k, n;
|
||||
int16 k;
|
||||
int64 n;
|
||||
k = -28;
|
||||
while (k <= 0) {
|
||||
n = __MASK(__ASH(i, k), -16);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue