summaryrefslogtreecommitdiff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-04-19 16:09:06 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-04-19 16:09:06 +0000
commitb7474e065b82d930f8da472440282ea7654d491d (patch)
tree07ae2866628b6fd4f180824d566de06be94796ed /Src/zsh.h
parent5c2d5b013e1d8cab43ca19507bf669693c95cd95 (diff)
downloadzsh-b7474e065b82d930f8da472440282ea7654d491d.tar.gz
zsh-b7474e065b82d930f8da472440282ea7654d491d.zip
22416, tweaked: math functions via shell functions
unposted: add styles to pick-web-browser
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 6a6ff2fe4..092e05c0c 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -86,8 +86,12 @@ struct mathfunc {
int funcid;
};
+/* Math function takes a string argument */
#define MFF_STR 1
+/* Math function has been loaded from library */
#define MFF_ADDED 2
+/* Math function is implemented by a shell function */
+#define MFF_USERFUNC 4
#define NUMMATHFUNC(name, func, min, max, id) \
{ NULL, name, 0, func, NULL, NULL, min, max, id }
@@ -815,7 +819,6 @@ struct process {
struct execstack {
struct execstack *next;
- LinkList args;
pid_t list_pipe_pid;
int nowait;
int pline_level;