aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/mk/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/mk/lex.c')
-rw-r--r--src/cmd/mk/lex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/mk/lex.c b/src/cmd/mk/lex.c
index 3ee244f1..6fd7b5c7 100644
--- a/src/cmd/mk/lex.c
+++ b/src/cmd/mk/lex.c
@@ -28,7 +28,7 @@ assline(Biobuf *bp, Bufblock *buf)
case '\'':
case '"':
rinsert(buf, c);
- if (escapetoken(bp, buf, 1, c) == 0)
+ if (shellt->escapetoken(bp, buf, 1, c) == 0)
Exit();
break;
case '`':
@@ -87,14 +87,14 @@ bquote(Biobuf *bp, Bufblock *buf)
insert(buf,0);
buf->current = buf->start+start;
execinit();
- execsh(0, buf->current, buf, envy);
+ execsh(0, buf->current, buf, envy, shellt, shellcmd);
return 1;
}
if(c == '\n')
break;
if(c == '\'' || c == '"' || c == '\\'){
insert(buf, c);
- if(!escapetoken(bp, buf, 1, c))
+ if(!shellt->escapetoken(bp, buf, 1, c))
return 0;
continue;
}