diff options
Diffstat (limited to 'eshtrans/tokens.esh')
-rw-r--r-- | eshtrans/tokens.esh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eshtrans/tokens.esh b/eshtrans/tokens.esh index d8e57ca..a2c6b37 100644 --- a/eshtrans/tokens.esh +++ b/eshtrans/tokens.esh @@ -47,6 +47,7 @@ tokname() T_PIPE) n='"|"';; T_LPAREN) n='"("';; T_RPAREN) n='")"';; + T_COMMA) n='","';; # Reserved words T_IF) n='"if"';; T_THEN) n='"then"';; @@ -69,6 +70,7 @@ tokname() T_LOCAL) n='"local"';; T_RETURN) n='"return"';; # Special symbols + T_TYPE) n='parameter type';; T_NAME) n='parameter name';; T_FNAME) n='function name';; T_CMDNAME) n='command name';; @@ -114,6 +116,7 @@ toktext() T_PIPE) n='|';; T_LPAREN) n='(';; T_RPAREN) n=')';; + T_COMMA) n=',';; # Reserved words T_IF) n='if';; T_THEN) n='then';; @@ -136,6 +139,7 @@ toktext() T_LOCAL) n='local';; T_RETURN) n='return';; # Special symbols + T_TYPE) n="${t#*${US}}";; T_NAME) n="${t#*${US}}";; T_FNAME) n="${t#*${US}}";; T_CMDNAME) n="${t#*${US}}";; |