Przeglądaj źródła

* Add missing var_type_name for VAR_WORD

Bryan Drewery 17 lat temu
rodzic
commit
227bd37c0c
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/set.h

+ 2 - 1
src/set.h

@@ -4,7 +4,8 @@
 #include <sys/types.h>
 
 #define var_type_name(x) (x & VAR_DETECTED) ? "detect" : (x & VAR_BOOL) ? "bool" : (x & VAR_INT) ? "int" :\
-                         (x & VAR_LIST) ? "list" : (x & VAR_STRING) ? "string" : (x & VAR_RATE) ? "rate" : ""
+                         (x & VAR_LIST) ? "list" : (x & VAR_STRING) ? "string" : (x & VAR_RATE) ? "rate" :\
+                         (x & VAR_WORD) ? "word" : ""
 
 #define VAR_INT		BIT0
 #define VAR_STRING	BIT1