X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fmetadata%2Fctf-scanner.h;h=f25efb9e5277cb2c78d12deebe49e238e81b1cdb;hb=02b234c461611f6f479c2dc3697a1b42b03cf050;hp=07b5df7c75ac1d64201ee35587a174a39cf48212;hpb=34d3acc4fc9f020b0e2616a29a339b5c546a05c1;p=babeltrace.git diff --git a/formats/ctf/metadata/ctf-scanner.h b/formats/ctf/metadata/ctf-scanner.h index 07b5df7c..f25efb9e 100644 --- a/formats/ctf/metadata/ctf-scanner.h +++ b/formats/ctf/metadata/ctf-scanner.h @@ -9,11 +9,17 @@ typedef void* yyscan_t; #endif +struct ctf_scanner_scope; +struct ctf_scanner_scope { + struct ctf_scanner_scope *parent; + GHashTable *types; +}; + struct ctf_scanner { yyscan_t scanner; struct ctf_ast *ast; - struct scope root_scope; - struct scope *cs; + struct ctf_scanner_scope root_scope; + struct ctf_scanner_scope *cs; struct cds_list_head allocated_strings; };