projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add XML dump visitor
[babeltrace.git]
/
formats
/
ctf
/
metadata
/
ctf-ast.h
diff --git
a/formats/ctf/metadata/ctf-ast.h
b/formats/ctf/metadata/ctf-ast.h
index 7dcf9f966bb5a9366eb4e15690e52e951b8beca5..692cc7b539007a0aa01174a01ab2bfeaf9c50fb6 100644
(file)
--- a/
formats/ctf/metadata/ctf-ast.h
+++ b/
formats/ctf/metadata/ctf-ast.h
@@
-107,8
+107,8
@@
struct ctf_node {
* string literals and character constants.
*/
char *string;
* string literals and character constants.
*/
char *string;
- uint64_t unsigned_constant;
int64_t signed_constant;
int64_t signed_constant;
+ uint64_t unsigned_constant;
struct ctf_node *sbrac_exp;
} u;
enum {
struct ctf_node *sbrac_exp;
} u;
enum {
@@
-204,15
+204,15
@@
struct ctf_node {
struct cds_list_head type_declarators;
} struct_or_variant_declaration;
struct {
struct cds_list_head type_declarators;
} struct_or_variant_declaration;
struct {
- /* list of typedef, typealias and declarations */
- struct cds_list_head declaration_list;
char *name;
char *choice;
char *name;
char *choice;
+ /* list of typedef, typealias and declarations */
+ struct cds_list_head declaration_list;
} variant;
struct {
} variant;
struct {
+ char *name;
/* list of typedef, typealias and declarations */
struct cds_list_head declaration_list;
/* list of typedef, typealias and declarations */
struct cds_list_head declaration_list;
- char *name;
} _struct;
} u;
};
} _struct;
} u;
};
@@
-222,4
+222,6
@@
struct ctf_ast {
struct cds_list_head allocated_nodes;
};
struct cds_list_head allocated_nodes;
};
+int ctf_visitor_print_xml(FILE *fd, int depth, struct ctf_node *node);
+
#endif /* _CTF_PARSER_H */
#endif /* _CTF_PARSER_H */
This page took
0.022977 seconds
and
4
git commands to generate.