summaryrefslogtreecommitdiffstats
path: root/eshtrans/tokens.esh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-28 15:22:03 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-28 15:27:40 (EST)
commitd06d1dca7699cb4aad08d92f49f5ddf91b88a539 (patch)
treed678edcb07b11e5727d8a48ad51923d5552b8dfa /eshtrans/tokens.esh
parent405ff1ffad7310a04ff104284d600a066d6dd925 (diff)
downloadeggshell-d06d1dca7699cb4aad08d92f49f5ddf91b88a539.zip
eggshell-d06d1dca7699cb4aad08d92f49f5ddf91b88a539.tar.gz
eggshell-d06d1dca7699cb4aad08d92f49f5ddf91b88a539.tar.bz2
eshtrans: Fix T_STATIC and T_LOCAL recognition and codegen
Diffstat (limited to 'eshtrans/tokens.esh')
-rw-r--r--eshtrans/tokens.esh4
1 files changed, 2 insertions, 2 deletions
diff --git a/eshtrans/tokens.esh b/eshtrans/tokens.esh
index 344ac9f..d8e57ca 100644
--- a/eshtrans/tokens.esh
+++ b/eshtrans/tokens.esh
@@ -132,8 +132,8 @@ toktext()
T_BANG) n='!';;
T_IN) n='in';;
T_USE) n='use';;
- T_STATIC) n='__static';;
- T_LOCAL) n='__local';;
+ T_STATIC) n='static';;
+ T_LOCAL) n='local';;
T_RETURN) n='return';;
# Special symbols
T_NAME) n="${t#*${US}}";;