7 Bug-Reported-by: Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com>
8 Bug-Reference-ID: <CAALKErFrm+yuwy=ioK+RmjCiwxTDmzeMFWqLF2BEWYtkGS5UFQ@mail.gmail.com>
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-11/msg00064.html
13 When reading a compound assignment, and running it through the parser to
14 split it into words, we need to save and restore any alias we're currently
17 Patch (apply with `patch -p0'):
19 *** ../bash-5.1-patched/parse.y 2020-11-28 12:10:06.000000000 -0500
20 --- parse.y 2021-10-13 11:04:27.000000000 -0400
25 - #if 0 /* TAG: bash-5.2 Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> 11/17/2020 */
26 if (ea = expanding_alias ())
29 last_read_token = WORD; /* WORD to allow reserved words here */
30 current_command_line_count = 0;
36 - #if 0 /* TAG: bash-5.2 */
38 parser_restore_alias ();
43 *** ../bash-5.1-patched/y.tab.c 2020-11-28 12:17:19.000000000 -0500
44 --- y.tab.c 2021-11-17 10:47:35.000000000 -0500
49 - #if 0 /* TAG: bash-5.2 Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> 11/17/2020 */
50 if (ea = expanding_alias ())
53 last_read_token = WORD; /* WORD to allow reserved words here */
54 current_command_line_count = 0;
60 - #if 0 /* TAG: bash-5.2 */
62 parser_restore_alias ();
67 *** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
68 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
71 looks for to find the patch level (for the sccs version string). */
73 ! #define PATCHLEVEL 10
75 #endif /* _PATCHLEVEL_H_ */
77 looks for to find the patch level (for the sccs version string). */
79 ! #define PATCHLEVEL 11
81 #endif /* _PATCHLEVEL_H_ */