summaryrefslogtreecommitdiffstats
path: root/parsing
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-20 00:11:21 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-20 00:11:21 (EST)
commitb10d0a07d4ee734ad1dd1e32924687b21f6bbb21 (patch)
tree1a3314d2ace32460a153d3d6bf939169174a28e0 /parsing
parent6a78c02494504eafb437c605bdc6f9d160b3d35d (diff)
downloadeggshell-b10d0a07d4ee734ad1dd1e32924687b21f6bbb21.zip
eggshell-b10d0a07d4ee734ad1dd1e32924687b21f6bbb21.tar.gz
eggshell-b10d0a07d4ee734ad1dd1e32924687b21f6bbb21.tar.bz2
tokname(): Add new special symbols
Diffstat (limited to 'parsing')
-rw-r--r--parsing/tokens.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/parsing/tokens.sh b/parsing/tokens.sh
index fef9dc0..9d2fddd 100644
--- a/parsing/tokens.sh
+++ b/parsing/tokens.sh
@@ -45,7 +45,9 @@ tokname()
T_BANG) n='!';;
T_IN) n='in';;
# Special symbols
- T_NAME) n='name';;
+ T_NAME) n='parameter name';;
+ T_FNAME) n='function name';;
+ T_CMDNAME) n='command name';;
T_IO_NUMBER) n='I/O number';;
T_WORD) n='word';;
T_ASSIGNMENT_WORD) n='assignment word';;