Write the ANSI word "restrict" instead if "__restrict" in print_type_qualifiers().
[cparser] / token_t.h
index c1975a0..27832f8 100644 (file)
--- a/token_t.h
+++ b/token_t.h
@@ -24,13 +24,21 @@ typedef enum {
 #undef T
 } preprocessor_token_type_t;
 
+typedef struct source_position_t source_position_t;
+struct source_position_t {
+       const char *input_name;
+       unsigned    linenr;
+};
+
 typedef struct {
        int type;
        union {
                symbol_t   *symbol;
                int         intvalue;
+               double      floatvalue;
                const char *string;
        } v;
+       source_position_t  source_position;
 } token_t;
 
 void init_tokens(void);