diff options
| author | rsc <devnull@localhost> | 2005-01-04 22:41:27 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2005-01-04 22:41:27 +0000 |
| commit | 9aa1c92f743a7bf2ac0b062b0c075dc610b3e335 (patch) | |
| tree | e3be39332a1893959b3257aa797a65740fc1c1ec /src/cmd/mk/lex.c | |
| parent | 02f38ca68ce484b2aad15fad4d59c4d43ef7eb1b (diff) | |
| download | plan9port-9aa1c92f743a7bf2ac0b062b0c075dc610b3e335.tar.gz plan9port-9aa1c92f743a7bf2ac0b062b0c075dc610b3e335.zip | |
add new | syntax.
syntax will change.
Diffstat (limited to 'src/cmd/mk/lex.c')
| -rw-r--r-- | src/cmd/mk/lex.c | 6 |
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; } |
