From 0eb3d602df451f882e107ebed47b3bce9a1e68dc Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 19 Dec 2009 20:44:53 -0500 Subject: Make symbol table semantics line up with povray's. --- dimension/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dimension/main.c') diff --git a/dimension/main.c b/dimension/main.c index 561ee99..9083a07 100644 --- a/dimension/main.c +++ b/dimension/main.c @@ -157,7 +157,7 @@ main(int argc, char **argv) { /* Construct the symbol table */ dmnsn_symbol_table *symtable = dmnsn_new_symbol_table(); - dmnsn_push_symbol(symtable, "__file__", dmnsn_new_ast_string(input)); + dmnsn_declare_symbol(symtable, "__file__", dmnsn_new_ast_string(input)); /* Debugging option - output the abstract syntax tree as an S-expression */ if (parse) { -- cgit v1.2.3