summaryrefslogtreecommitdiff
path: root/filter/filter.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-02-25 11:15:26 +0000
committerPavel Machek <pavel@ucw.cz>2000-02-25 11:15:26 +0000
commit2d496d2028e1283384f1c9d243f96eb59c42297e (patch)
tree34b2abc7a2e28f029d60ad80e3c25bff08bfab7d /filter/filter.h
parentdf0cf75dc849f5182d75328f4d4189a2d6048b57 (diff)
Get rid of 'ab'-s, added return to functions.
Diffstat (limited to 'filter/filter.h')
-rw-r--r--filter/filter.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/filter/filter.h b/filter/filter.h
index ace72e47..a08f1267 100644
--- a/filter/filter.h
+++ b/filter/filter.h
@@ -91,16 +91,15 @@ void val_print(struct f_val v);
/* Internal types */
/* Do not use type of zero, that way we'll see errors easier. */
#define T_VOID 1
-#define T_RETURN 2
/* User visible types, which fit in int */
#define T_INT 0x10
#define T_BOOL 0x11
#define T_PAIR 0x12
-/* Put enumerational types in 0x30..0x7f range */
+/* Put enumerational types in 0x30..0x3f range */
#define T_ENUM_LO 0x30
-#define T_ENUM_HI 0x7f
+#define T_ENUM_HI 0x3f
#define T_ENUM_RTS 0x30
@@ -111,6 +110,7 @@ void val_print(struct f_val v);
#define T_PREFIX 0x21
#define T_STRING 0x22
+#define T_RETURN 0x40
#define T_SET 0x80
struct f_tree {
@@ -121,4 +121,6 @@ struct f_tree {
#define NEW_F_VAL struct f_val * val; val = cfg_alloc(sizeof(struct f_val));
+/* Create pair from two letters */
+
#endif