chiark / gitweb /
netlink: Remove a newline from p-t-p startup message
[secnet.git] / conffile_internal.h
index 4e022b81211d58dae5799f3155334b648571e698..44d0ac7d4ba7dcc864248e7805321fb4f9dc2be8 100644 (file)
@@ -23,6 +23,8 @@ typedef cstring_t atom_t;
 #define T_ALIST      17
 #define T_ERROR      20
 
 #define T_ALIST      17
 #define T_ERROR      20
 
+#define T_IS_PRIMITIVE(NTYPE) ((NTYPE) < T_ASSIGNMENT)
+
 struct p_node {
     uint32_t type;
     struct cloc loc;
 struct p_node {
     uint32_t type;
     struct cloc loc;
@@ -36,7 +38,7 @@ struct p_node {
 };
 
 extern cstring_t config_file;
 };
 
 extern cstring_t config_file;
-extern uint32_t config_lineno;
+extern int config_lineno;
 extern int yynerrs;
 
 /* Keys in dictionaries are 'atoms', which are constructed from strings
 extern int yynerrs;
 
 /* Keys in dictionaries are 'atoms', which are constructed from strings