source:
vendor/bash/3.1/CWRU/sh-redir-hack
| Last change on this file was 3228, checked in by , 19 years ago | |
|---|---|
| File size: 358 bytes | |
| Rev | Line | |
|---|---|---|
| [3228] | 1 | Add to `subshell' production in parse.y and recompile -DREDIRECTION_HACK to |
| 2 | get `< xx (command)' sh compatibility. | |
| 3 | ||
| 4 | | redirections '(' list ')' | |
| 5 | { | |
| 6 | #if defined (REDIRECTION_HACK) | |
| 7 | /* XXX - C News sh compatibility hack - XXX */ | |
| 8 | $3->redirects = $1; | |
| 9 | $3->flags |= CMD_WANT_SUBSHELL; | |
| 10 | $$ = $3; | |
| 11 | #else | |
| 12 | yyerror (); | |
| 13 | YYABORT; | |
| 14 | #endif | |
| 15 | } |
Note:
See TracBrowser
for help on using the repository browser.
