diff options
| author | Jari Aalto <jari.aalto@cante.net> | 1999-02-19 17:11:39 +0000 |
|---|---|---|
| committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:52 +0000 |
| commit | b72432fdcc59300c6fe7c9d6c8a31ad3447933f5 (patch) | |
| tree | b9899162338c2ff3fd83a8aef8831cb119e85cd7 /make_cmd.c | |
| parent | bc4cd23ce958feda898c618215f94d8a4e8f4ffa (diff) | |
| download | android_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.tar.gz android_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.tar.bz2 android_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.zip | |
Imported from ../bash-2.03.tar.gz.
Diffstat (limited to 'make_cmd.c')
| -rw-r--r-- | make_cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -346,6 +346,7 @@ make_cond_command (cond_node) command->type = cm_cond; command->redirects = (REDIRECT *)NULL; command->flags = 0; + command->line = cond_node ? cond_node->line : 0; return (command); #else @@ -595,7 +596,7 @@ clean_simple_command (command) COMMAND *command; { if (command->type != cm_simple) - programming_error ("clean_simple_command: bad command type `%d'", command->type); + command_error ("clean_simple_command", CMDERR_BADTYPE, command->type, 0); else { command->value.Simple->words = |
