diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-12-19 20:44:53 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-12-19 20:44:53 -0500 |
commit | 0eb3d602df451f882e107ebed47b3bce9a1e68dc (patch) | |
tree | 74290cc1c399a508a61041ad4e3a68f6851dca3e /dimension/grammar.y | |
parent | 970ecabc1ad30fa74e58f3d4ad9ccf41baffb8b0 (diff) | |
download | dimension-0eb3d602df451f882e107ebed47b3bce9a1e68dc.tar.xz |
Make symbol table semantics line up with povray's.
Diffstat (limited to 'dimension/grammar.y')
-rw-r--r-- | dimension/grammar.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dimension/grammar.y b/dimension/grammar.y index 7955476..e52d668 100644 --- a/dimension/grammar.y +++ b/dimension/grammar.y @@ -1134,7 +1134,7 @@ dmnsn_parse(FILE *file, dmnsn_symbol_table *symtable) filename = fnode->ptr; } else { filename = "<>"; - dmnsn_push_symbol(symtable, "__file__", dmnsn_new_ast_string(filename)); + dmnsn_declare_symbol(symtable, "__file__", dmnsn_new_ast_string(filename)); } void *scanner; |