From 7410d984ae270528ea4f3f16d3473acf807ef92c Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Thu, 16 Feb 2023 17:11:38 -0800 Subject: preprocessor works now, added some helper methods and a few more frees --- src/parse.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/parse.h') diff --git a/src/parse.h b/src/parse.h index 27ce444..59c27b7 100644 --- a/src/parse.h +++ b/src/parse.h @@ -28,6 +28,8 @@ typedef struct SymbolSet { int count; } symset_t; +sym_t* init_sym(prov_t province, litType_t litType, void* name); +void destroy_sym(sym_t* symbol); int symtoi(sym_t* symbol); float symtof(sym_t* symbol); char* symtos(sym_t* symbol); -- cgit v1.3.1