summaryrefslogtreecommitdiffstats
path: root/dimension/main.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-12-19 20:44:53 -0500
committerTavian Barnes <tavianator@gmail.com>2009-12-19 20:44:53 -0500
commit0eb3d602df451f882e107ebed47b3bce9a1e68dc (patch)
tree74290cc1c399a508a61041ad4e3a68f6851dca3e /dimension/main.c
parent970ecabc1ad30fa74e58f3d4ad9ccf41baffb8b0 (diff)
downloaddimension-0eb3d602df451f882e107ebed47b3bce9a1e68dc.tar.xz
Make symbol table semantics line up with povray's.
Diffstat (limited to 'dimension/main.c')
-rw-r--r--dimension/main.c2
1 files changed, 1 insertions, 1 deletions
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) {