projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add AST visitors: parent links creation and semantic validator
[babeltrace.git]
/
formats
/
ctf
/
metadata
/
ctf-visitor-xml.c
diff --git
a/formats/ctf/metadata/ctf-visitor-xml.c
b/formats/ctf/metadata/ctf-visitor-xml.c
index d768b7a3f5746ab0bdd9d2f65b986170a75a9a65..5ca930485efe844141ec696d95ebb29222d6d1db 100644
(file)
--- a/
formats/ctf/metadata/ctf-visitor-xml.c
+++ b/
formats/ctf/metadata/ctf-visitor-xml.c
@@
-31,7
+31,8
@@
#define printf_dbg(fmt, args...) fprintf(stderr, "%s: " fmt, __func__, ## args)
#define printf_dbg(fmt, args...) fprintf(stderr, "%s: " fmt, __func__, ## args)
-static void print_tabs(FILE *fd, int depth)
+static
+void print_tabs(FILE *fd, int depth)
{
int i;
{
int i;
@@
-39,6
+40,7
@@
static void print_tabs(FILE *fd, int depth)
fprintf(fd, "\t");
}
fprintf(fd, "\t");
}
+static
int ctf_visitor_print_unary_expression(FILE *fd, int depth, struct ctf_node *node)
{
int ret = 0;
int ctf_visitor_print_unary_expression(FILE *fd, int depth, struct ctf_node *node)
{
int ret = 0;
@@
-113,6
+115,7
@@
int ctf_visitor_print_unary_expression(FILE *fd, int depth, struct ctf_node *nod
return 0;
}
return 0;
}
+static
int ctf_visitor_print_type_specifier(FILE *fd, int depth, struct ctf_node *node)
{
print_tabs(fd, depth);
int ctf_visitor_print_type_specifier(FILE *fd, int depth, struct ctf_node *node)
{
print_tabs(fd, depth);
@@
-169,6
+172,7
@@
int ctf_visitor_print_type_specifier(FILE *fd, int depth, struct ctf_node *node)
return 0;
}
return 0;
}
+static
int ctf_visitor_print_type_declarator(FILE *fd, int depth, struct ctf_node *node)
{
int ret = 0;
int ctf_visitor_print_type_declarator(FILE *fd, int depth, struct ctf_node *node)
{
int ret = 0;
This page took
0.023583 seconds
and
4
git commands to generate.