diff -r 61410284a9b4 -r dabffc3086dc absyntax/absyntax.hh --- a/absyntax/absyntax.hh Tue Jun 05 11:10:12 2012 +0200 +++ b/absyntax/absyntax.hh Tue Jun 05 19:17:29 2012 +0200 @@ -48,9 +48,10 @@ #include // required for NULL #include +#include /* Forward declaration of the visitor interface - * dclared in the visitor.hh file + * declared in the visitor.hh file * We cannot include the visitor.hh file, as it will * include this same file first, as it too requires references * to the abstract syntax classes defined here. @@ -61,7 +62,6 @@ class symbol_c; // forward declaration - /* The base class of all symbols */ class symbol_c { @@ -83,7 +83,12 @@ * If it points to an object of type invalid_type_name_c, it means it is invalid. * Otherwise, it points to an object of the apropriate data type (e.g. int_type_name_c, bool_type_name_c, ...) */ - symbol_c *datatype; + symbol_c *datatype; + + double *const_value_real; + int64_t *const_value_integer; + uint64_t *const_value_uinteger; + bool *const_value_bool; public: @@ -302,6 +307,4 @@ #undef SYM_REF5 #undef SYM_REF6 - - #endif /* _ABSYNTAX_HH */