[RFC PATCH 03/20] add new symbol flags for typed symbols
30 Dec
2019
30 Dec
'19
4:56 p.m.
--- conf/conf.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conf/conf.h b/conf/conf.h index 6029fee2..39015e62 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -156,7 +156,11 @@ struct sym_scope { #define SYM_VAL(s) ((s)->val->val) /* Symbol flags */ -#define SYM_FLAG_SAME 0x1 /* For SYM_FUNCTION and SYM_FILTER */ +#define SYM_FLAG_SAME 0x1 /* For SYM_FUNCTION and SYM_FILTER */ +#define SYM_FLAG_IS_TYPED 0x2 /* This is a net_typed symbol */ +#define SYM_FLAG_DO_ADAPT 0x4 /* Tihis symbol must be adapted */ + +#define SYM_FLAGS_TYPED (SYM_FLAG_IS_TYPED | SYM_FLAG_DO_ADAPT) struct include_file_stack { void *buffer; /* Internal lexer state */ -- 2.24.0
2358
Age (days ago)
2358
Last active (days ago)
0 comments
1 participants
participants (1)
-
Asbjørn Sloth Tønnesen