summaryrefslogtreecommitdiffstats
path: root/dimension/main.c
diff options
context:
space:
mode:
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 a03762f..9c7a5cf 100644
--- a/dimension/main.c
+++ b/dimension/main.c
@@ -179,7 +179,7 @@ main(int argc, char **argv) {
/* Construct the symbol table */
dmnsn_symbol_table *symtable = dmnsn_new_symbol_table();
- dmnsn_declare_symbol(symtable, "__file__", dmnsn_new_ast_string(input));
+ dmnsn_declare_symbol(symtable, "$file", dmnsn_new_ast_string(input));
dmnsn_declare_symbol(symtable, "version", dmnsn_new_ast_float(3.6));
/* Debugging option - output the abstract syntax tree as an S-expression */