diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-02-28 23:51:45 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-02-28 23:51:45 (EST) |
commit | 8deefba550f1223986961a60bf48a3692466ae66 (patch) | |
tree | 73c087afdaab08daa5b6f8db3d907defc7fb37e1 /eshtrans/tokens.esh | |
parent | 5fe3df1974d7e26d42d2729a60372e2f4c599bcd (diff) | |
download | eggshell-8deefba550f1223986961a60bf48a3692466ae66.zip eggshell-8deefba550f1223986961a60bf48a3692466ae66.tar.gz eggshell-8deefba550f1223986961a60bf48a3692466ae66.tar.bz2 |
eshtrans: Support "void" in parameter lists
Diffstat (limited to 'eshtrans/tokens.esh')
-rw-r--r-- | eshtrans/tokens.esh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eshtrans/tokens.esh b/eshtrans/tokens.esh index a2c6b37..d8584f2 100644 --- a/eshtrans/tokens.esh +++ b/eshtrans/tokens.esh @@ -69,6 +69,7 @@ tokname() T_STATIC) n='"static"';; T_LOCAL) n='"local"';; T_RETURN) n='"return"';; + T_VOID) n='"void"';; # Special symbols T_TYPE) n='parameter type';; T_NAME) n='parameter name';; @@ -138,6 +139,7 @@ toktext() T_STATIC) n='static';; T_LOCAL) n='local';; T_RETURN) n='return';; + T_VOID) n='void';; # Special symbols T_TYPE) n="${t#*${US}}";; T_NAME) n="${t#*${US}}";; |