20 #ifndef GCC_GENGTYPE_H
21 #define GCC_GENGTYPE_H
23 #define obstack_chunk_alloc ((void *(*) (long)) xmalloc)
24 #define obstack_chunk_free ((void (*) (void *)) free)
25 #define OBSTACK_CHUNK_SIZE 0
75 static inline const char*
205 const char *from,
const char *to);
327 ((x)->kind == TYPE_UNION \
328 || ((x)->kind == TYPE_LANG_STRUCT \
329 && (x)->u.s.lang_struct->kind == TYPE_UNION))
398 extern const
char *
srcdir;
416 (const struct
fileloc *pos, const
char *msg, ...) ATTRIBUTE_PRINTF_2;
419 extern
char *
xasprintf (const
char *, ...) ATTRIBUTE_PRINTF_1;
426 struct
fileloc *pos, pair_p fields,
434 const
char *name, options_p opt,
435 struct fileloc *pos);
438 extern
void note_variable (const
char *s, type_p t, options_p o,
439 struct fileloc *pos);
442 extern
int yylex (const
char **yylval);
443 extern
void yybegin (const
char *fname);
444 extern
void yyend (
void);
455 CHAR_TOKEN_OFFSET = UCHAR_MAX + 1,
456 GTY_TOKEN = CHAR_TOKEN_OFFSET,
474 IGNORABLE_CXX_KEYWORD,
478 FIRST_TOKEN_WITH_VALUE = PARAM_IS
496 #define DBGPRINTF(Fmt,...) do {if (do_debug) \
497 fprintf (stderr, "%s:%d: " Fmt "\n", \
498 lbasename (__FILE__),__LINE__, ##__VA_ARGS__);} while (0)
500 #define DBGPRINT_COUNT_TYPE(Msg,Ty) do {if (do_debug) \
501 dbgprint_count_type_at (__FILE__, __LINE__, Msg, Ty);}while (0)
503 #define DBGPRINTF(Fmt,...) do {} while (0)
504 #define DBGPRINT_COUNT_TYPE(Msg,Ty) do{}while (0)