summaryrefslogtreecommitdiffstats
path: root/eshtrans/tokens.esh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-28 15:08:23 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-28 15:08:23 (EST)
commit96716798e04aded65e9023c40fa8492350cf212d (patch)
treef21b801f771eecaeed0eabbf65dc02b191bbfeaf /eshtrans/tokens.esh
parentc45f9970bf041823c2b9e2ad8ab49af90b28fe7d (diff)
downloadeggshell-96716798e04aded65e9023c40fa8492350cf212d.zip
eggshell-96716798e04aded65e9023c40fa8492350cf212d.tar.gz
eggshell-96716798e04aded65e9023c40fa8492350cf212d.tar.bz2
eshtrans: Add and parse T_USE
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 ce1d3f2..344ac9f 100644
--- a/eshtrans/tokens.esh
+++ b/eshtrans/tokens.esh
@@ -64,6 +64,7 @@ tokname()
T_RBRACE) n='"}"';;
T_BANG) n='"!"';;
T_IN) n='"in"';;
+ T_USE) n='"use"';;
T_STATIC) n='"static"';;
T_LOCAL) n='"local"';;
T_RETURN) n='"return"';;
@@ -130,6 +131,7 @@ toktext()
T_RBRACE) n='}';;
T_BANG) n='!';;
T_IN) n='in';;
+ T_USE) n='use';;
T_STATIC) n='__static';;
T_LOCAL) n='__local';;
T_RETURN) n='return';;