summaryrefslogtreecommitdiffstats
path: root/dimension/main.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-23 19:54:52 -0400
committerTavian Barnes <tavianator@gmail.com>2010-03-23 19:54:52 -0400
commit44a4fe4772dae123e2755e9b214d289715ec27c3 (patch)
tree7b2a5c0b4b7f287c524151ec8d71ebca0267ecec /dimension/main.c
parent5952fd7587af834d6fee3443ad97c2ee11be81e1 (diff)
downloaddimension-44a4fe4772dae123e2755e9b214d289715ec27c3.tar.xz
Use $var instead of __var__ for internal symbols.
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 */