src/java.desktop/share/native/liblcms/cmscgats.c
Print this page
rev 10611 : 8057934: Upgrade to LittleCMS 2.6 breaks AIX build
*** 75,85 ****
// Symbols
typedef enum {
! SNONE,
SINUM, // Integer
SDNUM, // Real
SIDENT, // Identifier
SSTRING, // string
SCOMMENT, // comment
--- 75,85 ----
// Symbols
typedef enum {
! SUNDEFINED,
SINUM, // Integer
SDNUM, // Real
SIDENT, // Identifier
SSTRING, // string
SCOMMENT, // comment
*** 548,558 ****
if (res == 0) return TabKeys[x-1].sy;
if (res < 0) r = x - 1;
else l = x + 1;
}
! return SNONE;
}
// 10 ^n
static
--- 548,558 ----
if (res == 0) return TabKeys[x-1].sy;
if (res < 0) r = x - 1;
else l = x + 1;
}
! return SUNDEFINED;
}
// 10 ^n
static
*** 733,743 ****
*idptr = '\0';
key = BinSrchKey(it8->id);
! if (key == SNONE) it8->sy = SIDENT;
else it8->sy = key;
}
else // Is a number?
if (isdigit(it8->ch) || it8->ch == '.' || it8->ch == '-' || it8->ch == '+')
--- 733,743 ----
*idptr = '\0';
key = BinSrchKey(it8->id);
! if (key == SUNDEFINED) it8->sy = SIDENT;
else it8->sy = key;
}
else // Is a number?
if (isdigit(it8->ch) || it8->ch == '.' || it8->ch == '-' || it8->ch == '+')
*** 1324,1334 ****
it8->Allocator.BlockSize = 0;
it8->ValidKeywords = NULL;
it8->ValidSampleID = NULL;
! it8 -> sy = SNONE;
it8 -> ch = ' ';
it8 -> Source = NULL;
it8 -> inum = 0;
it8 -> dnum = 0.0;
--- 1324,1334 ----
it8->Allocator.BlockSize = 0;
it8->ValidKeywords = NULL;
it8->ValidSampleID = NULL;
! it8 -> sy = SUNDEFINED;
it8 -> ch = ' ';
it8 -> Source = NULL;
it8 -> inum = 0;
it8 -> dnum = 0.0;