X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Fmetadata%2Fctf-scanner.h;h=f25efb9e5277cb2c78d12deebe49e238e81b1cdb;hp=07b5df7c75ac1d64201ee35587a174a39cf48212;hb=609bd1bf5e7d2dd8925281f4494a968d72ed9c14;hpb=c59a87f5dd435619447f69cebd58f19a386c51a0 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; };