Only assume it is a k&r-declaration, if the unknown identifier in the parameter list...
[cparser] / ast_t.h
diff --git a/ast_t.h b/ast_t.h
index 4c4cf92..ac7919b 100644 (file)
--- a/ast_t.h
+++ b/ast_t.h
@@ -551,6 +551,7 @@ struct declaration_t {
        unsigned int        address_taken : 1;
        unsigned int        is_inline     : 1;
        unsigned int        used          : 1;  /**< Set if the declaration is used. */
+       unsigned int        implicit      : 1;
        type_t             *type;
        symbol_t           *symbol;
        source_position_t   source_position;