summaryrefslogtreecommitdiffstats
path: root/eshtrans/tokens.esh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-22 19:53:13 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-22 19:53:33 (EST)
commit43a8cf835bf017b3362f5dd02efa74f69537462d (patch)
tree46157eb8528f6bbf05f82f9cdceb486958755da7 /eshtrans/tokens.esh
parentdd634f296ae9c40b7e85cc51f17869eaeca6568e (diff)
downloadeggshell-43a8cf835bf017b3362f5dd02efa74f69537462d.zip
eggshell-43a8cf835bf017b3362f5dd02efa74f69537462d.tar.gz
eggshell-43a8cf835bf017b3362f5dd02efa74f69537462d.tar.bz2
eshtrans: Add T_LOCAL
Diffstat (limited to 'eshtrans/tokens.esh')
-rw-r--r--eshtrans/tokens.esh2
1 files changed, 2 insertions, 0 deletions
diff --git a/eshtrans/tokens.esh b/eshtrans/tokens.esh
index a4dee4f..edb5f76 100644
--- a/eshtrans/tokens.esh
+++ b/eshtrans/tokens.esh
@@ -65,6 +65,7 @@ tokname()
T_BANG) n='"!"';;
T_IN) n='"in"';;
T_STATIC) n='"static"';;
+ T_LOCAL) n='"local"';;
T_RETURN) n='"return"';;
# Special symbols
T_NAME) n='parameter name';;
@@ -130,6 +131,7 @@ toktext()
T_BANG) n='!';;
T_IN) n='in';;
T_STATIC) n='static';;
+ T_LOCAL) n='__local';;
T_RETURN) n='return';;
# Special symbols
T_NAME) n="${t#*${US}}";;