diff options
Diffstat (limited to 'Src/Modules')
-rw-r--r-- | Src/Modules/parameter.c | 2 | ||||
-rw-r--r-- | Src/Modules/zpty.c | 2 | ||||
-rw-r--r-- | Src/Modules/zutil.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index db3534e69..fe44eafb3 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -342,7 +342,7 @@ setfunction(char *name, char *val, int dis) val = metafy(val, strlen(val), META_REALLOC); - prog = parse_string(val, 1); + prog = parse_string(val); if (!prog || prog == &dummy_eprog) { zwarn("invalid function definition", value, 0); diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c index 80deba786..7ab31cfb4 100644 --- a/Src/Modules/zpty.c +++ b/Src/Modules/zpty.c @@ -276,7 +276,7 @@ newptycmd(char *nam, char *pname, char **args, int echo, int nblock) int master, slave, pid; Eprog prog; - prog = parse_string(zjoin(args, ' ', 1), 0); + prog = parse_string(zjoin(args, ' ', 1)); if (!prog) { errflag = 0; return 1; diff --git a/Src/Modules/zutil.c b/Src/Modules/zutil.c index 8a69a561b..85ab4b394 100644 --- a/Src/Modules/zutil.c +++ b/Src/Modules/zutil.c @@ -115,7 +115,7 @@ setstypat(Style s, char *pat, Patprog prog, char **vals, int eval) if (eval) { int ef = errflag; - eprog = parse_string(zjoin(vals, ' ', 1), 0); + eprog = parse_string(zjoin(vals, ' ', 1)); errflag = ef; if (!eprog) |