From 44a4fe4772dae123e2755e9b214d289715ec27c3 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 23 Mar 2010 19:54:52 -0400 Subject: Use $var instead of __var__ for internal symbols. --- dimension/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dimension/main.c') 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 */ -- cgit v1.2.3