summaryrefslogtreecommitdiff
path: root/conf/conf.h
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-12-06 09:55:34 +0100
committerJan Maria Matejka <mq@ucw.cz>2018-12-06 09:55:34 +0100
commit9a5ef043c11ad9fba00557dedcc0d7ae0d2794e9 (patch)
tree09697ffd0d9707b7799309369460d369698ad0fc /conf/conf.h
parent0e4920632aa30dab4fbfb0530bce5a959e7a7675 (diff)
parent265419a3695b9a5c0a01d9fffc60f66fea8bee13 (diff)
Merge branch 'mq-custom' into int-new
Diffstat (limited to 'conf/conf.h')
-rw-r--r--conf/conf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/conf.h b/conf/conf.h
index 5689fb67..427569fd 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -15,7 +15,6 @@
#include "lib/resource.h"
#include "lib/timer.h"
-
/* Configuration structure */
struct config {
@@ -128,9 +127,12 @@ struct sym_scope {
#define SYM_FUNCTION 3
#define SYM_FILTER 4
#define SYM_TABLE 5
+#define SYM_ATTRIBUTE 6
#define SYM_VARIABLE 0x100 /* 0x100-0x1ff are variable types */
+#define SYM_VARIABLE_RANGE SYM_VARIABLE ... (SYM_VARIABLE | 0xff)
#define SYM_CONSTANT 0x200 /* 0x200-0x2ff are variable types */
+#define SYM_CONSTANT_RANGE SYM_CONSTANT ... (SYM_CONSTANT | 0xff)
#define SYM_TYPE(s) (((struct f_val *) (s)->def)->type)
#define SYM_VAL(s) (((struct f_val *) (s)->def)->val)