32 operator double ()
const {
return type==
Int ?
static_cast<double>(
v.l) :
v.d; }
33 operator long ()
const {
return type==
Int ?
v.l :
static_cast<long>(
v.d); }
40 printf(
"(%ld)\n",
v.l);
A class representing a C-preprocessor value.
static CPPValue parseOctal(const std::string &token)
union CPPValue::@026105325157306004343225305026272177106174241033 v
static CPPValue parseDecimal(const std::string &token)
static CPPValue parseHexadecimal(const std::string &token)
static CPPValue parseCharacter(const std::string &token)
static CPPValue parseFloat(const std::string &token)
static CPPValue parseBinary(const std::string &token)