summaryrefslogtreecommitdiffstats
path: root/dimension/grammar.y
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/grammar.y')
-rw-r--r--dimension/grammar.y2
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;