#include <stdio.h>
#include "secnet.h"
-extern FILE *yyin;
-
typedef cstring_t atom_t;
/* Parse tree for configuration file */
#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 *r;
};
-extern int yylex(void);
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