core: symbol: Add symbol management
Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "cescal/readbuf.h"
|
||||
#include "cescal/tokbuf.h"
|
||||
#include "cescal/ptrbox.h"
|
||||
#include "cescal/symbol.h"
|
||||
|
||||
/*
|
||||
* Compiler state machine
|
||||
@@ -20,6 +21,7 @@
|
||||
* @ptrbox: Global pointer box
|
||||
* @lex_putback: Lexer putback buffer
|
||||
* @pass: Current pass
|
||||
* @symtab: Symbol table
|
||||
*/
|
||||
struct cescal_state {
|
||||
int in_fd;
|
||||
@@ -28,6 +30,7 @@ struct cescal_state {
|
||||
struct ptrbox ptrbox;
|
||||
char lex_putback;
|
||||
uint8_t pass;
|
||||
struct symbol_table symtab;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user