diff options
Diffstat (limited to 'dissect.h')
-rw-r--r-- | dissect.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -27,6 +27,11 @@ struct reporter extern struct symbol *dissect_ctx; +static inline bool sym_is_local(struct symbol *sym) +{ + return sym->kind == 'v' && !(sym->ctype.modifiers & MOD_TOPLEVEL); +} + extern void dissect(struct symbol_list *, struct reporter *); #endif |