#define PARSER_DEFS_H 1
#include "doublest.h"
+#include "vec.h"
struct block;
int class;
};
+typedef struct type *type_ptr;
+DEF_VEC_P (type_ptr);
/* For parsing of complicated types.
An array should be preceded in the list by the size of the array. */
tp_pointer,
tp_reference,
tp_array,
- tp_function,
+ tp_function,
+ tp_function_with_arguments,
tp_const,
tp_volatile,
tp_space_identifier,
enum type_pieces piece;
int int_val;
struct type_stack *stack_val;
+ VEC (type_ptr) *typelist_val;
};
/* The type stack is an instance of this structure. */
extern void type_stack_cleanup (void *arg);
+extern void push_typelist (VEC (type_ptr) *typelist);
+
extern int length_of_subexp (struct expression *, int);
extern int dump_subexp (struct expression *, struct ui_file *, int);