absyntax/absyntax.cc
changeset 965 c9eeb67ba939
parent 958 7474d2cd1d6e
child 1041 56ebe2a31b5b
equal deleted inserted replaced
964:5f4dfe6670da 965:c9eeb67ba939
    39 
    39 
    40 #include "absyntax.hh"
    40 #include "absyntax.hh"
    41 //#include "../stage1_2/iec.hh" /* required for BOGUS_TOKEN_ID, etc... */
    41 //#include "../stage1_2/iec.hh" /* required for BOGUS_TOKEN_ID, etc... */
    42 #include "visitor.hh"
    42 #include "visitor.hh"
    43 #include "../main.hh" // required for ERROR() and ERROR_MSG() macros.
    43 #include "../main.hh" // required for ERROR() and ERROR_MSG() macros.
       
    44 
    44 
    45 
    45 
    46 
    46 
    47 
    47 /* The base class of all symbols */
    48 /* The base class of all symbols */
    48 symbol_c::symbol_c(
    49 symbol_c::symbol_c(
    57   this->last_column  = last_column;
    58   this->last_column  = last_column;
    58   this->last_order   = last_order;
    59   this->last_order   = last_order;
    59   this->parent       = NULL;
    60   this->parent       = NULL;
    60   this->datatype     = NULL;
    61   this->datatype     = NULL;
    61   this->scope        = NULL;
    62   this->scope        = NULL;
    62   this->const_value._real64.status   = cs_undefined;
       
    63   this->const_value._int64.status    = cs_undefined;
       
    64   this->const_value._uint64.status   = cs_undefined;
       
    65   this->const_value._bool.status     = cs_undefined;
       
    66 }
    63 }
    67 
    64 
    68 
    65 
    69 
    66 
    70 token_c::token_c(const char *value, 
    67 token_c::token_c(const char *value,