From 970ecabc1ad30fa74e58f3d4ad9ccf41baffb8b0 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 19 Dec 2009 19:16:33 -0500 Subject: Implement a symbol table. --- dimension/tokenize.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dimension/tokenize.h') diff --git a/dimension/tokenize.h b/dimension/tokenize.h index 541c604..524b004 100644 --- a/dimension/tokenize.h +++ b/dimension/tokenize.h @@ -33,14 +33,13 @@ struct dmnsn_token { /* File name, and line and column numbers from source code */ const char *filename; - unsigned int line, col; + int line, col; }; /* For debugging */ dmnsn_array *dmnsn_tokenize(FILE *file, const char *filename); /* Token destruction */ -void dmnsn_delete_token(dmnsn_token token); void dmnsn_delete_tokens(dmnsn_array *tokens); /* Print an S-expression of a list of tokens to `file' */ -- cgit v1.2.3