Show line numbers in CTF parser errors
[babeltrace.git] / formats / ctf / metadata / ctf-scanner.h
index d5650d0a703e7fb39fb77fbf54079243351895dc..262092f78cfea292ccb8991bc67daabe69fdd5a8 100644 (file)
@@ -37,6 +37,7 @@ struct ctf_scanner {
        struct ctf_scanner_scope root_scope;
        struct ctf_scanner_scope *cs;
        struct bt_list_head allocated_strings;
+       size_t lineno;
 };
 
 struct ctf_scanner *ctf_scanner_alloc(FILE *input);
@@ -49,7 +50,7 @@ struct ctf_ast *ctf_scanner_get_ast(struct ctf_scanner *scanner)
        return scanner->ast;
 }
 
-__attribute__((visibility("hidden")))
+BT_HIDDEN
 int is_type(struct ctf_scanner *scanner, const char *id);
 
 #endif /* _CTF_SCANNER_H */
This page took 0.025369 seconds and 4 git commands to generate.