absyntax_utils/absyntax_utils.hh
changeset 596 4efb11e44065
parent 587 1ecf916cc397
child 666 8ba9ec4bae50
equal deleted inserted replaced
595:c41975a290ce 596:4efb11e44065
    53 
    53 
    54 
    54 
    55 /* returns 0 if the names are equal!! Case is ignored. */
    55 /* returns 0 if the names are equal!! Case is ignored. */
    56 int compare_identifiers(symbol_c *ident1, symbol_c *ident2);
    56 int compare_identifiers(symbol_c *ident1, symbol_c *ident2);
    57 
    57 
    58 /* extract the value of an integer/hex_integer/real from an integer_c/hex_integer_c/real_c symbol !! */
       
    59 int64_t   extract_int64_value  (symbol_c *sym, bool *overflow = NULL);
       
    60 int64_t   extract_uint64_value (symbol_c *sym, bool *overflow = NULL);
       
    61 uint64_t  extract_hex_value    (symbol_c *sym);
       
    62 real64_t  extract_real_value   (symbol_c *sym, bool *overflow = NULL);
       
    63   
       
    64 /* A symbol table with all globally declared functions... */
    58 /* A symbol table with all globally declared functions... */
    65 extern function_declaration_c null_symbol1;
    59 extern function_declaration_c null_symbol1;
    66 typedef dsymtable_c<function_declaration_c *, &null_symbol1> function_symtable_t;
    60 typedef dsymtable_c<function_declaration_c *, &null_symbol1> function_symtable_t;
    67 extern function_symtable_t function_symtable;
    61 extern function_symtable_t function_symtable;
    68 
    62