fix parser state with funsubs in PS2 and line continuations; fix for @P transformation in prompt strings

This commit is contained in:
Chet Ramey
2024-04-01 12:20:58 -04:00
parent 4f2595eff3
commit 2532a2ccef
14 changed files with 108 additions and 30 deletions
+3
View File
@@ -170,6 +170,9 @@ int debugging_login_shell = 0;
/* The environment that the shell passes to other commands. */
char **shell_environment;
/* Non-zero when we are parsing a command, managed by parse_command/parse_comsub */
int parsing_command = 0;
/* Non-zero when we are executing a top-level command. */
int executing = 0;