#include "ctf-parser.h"
#include "ctf-ast.h"
-#define printf_dbg(fmt, args...) fprintf(stderr, "%s: " fmt, __func__, ## args)
+#define fprintf_dbg(fd, fmt, args...) fprintf(fd, "%s: " fmt, __func__, ## args)
-static void print_tabs(FILE *fd, int depth)
+static
+void print_tabs(FILE *fd, int depth)
{
int i;
fprintf(fd, "\t");
}
+static
int ctf_visitor_print_unary_expression(FILE *fd, int depth, struct ctf_node *node)
{
int ret = 0;
return 0;
}
+static
int ctf_visitor_print_type_specifier(FILE *fd, int depth, struct ctf_node *node)
{
print_tabs(fd, depth);
return 0;
}
+static
int ctf_visitor_print_type_declarator(FILE *fd, int depth, struct ctf_node *node)
{
int ret = 0;