Signed-off-by: Masatake YAMATO <yamato@redhat.com>
static struct token *token_new (void);
static void token_free(struct token *);
+#ifdef DEBUG
static void token_dump(struct token *, FILE *);
+#endif /* DEBUG */
static void token_free_str(struct token *);
free(token);
}
+#ifdef DEBUG
static void token_dump(struct token *token, FILE *stream)
{
fprintf(stream, "<%s>", TOKEN_CLASS(token)->name);
TOKEN_CLASS(token)->dump(token, stream);
fputc('\n', stream);
}
+#endif /* DEBUG */
static void token_free_str(struct token *token)
{