mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-05 11:20:50 +02:00
new GLOBSORT variable
This commit is contained in:
@@ -381,6 +381,8 @@ static FILE *yyerrstream;
|
||||
|
||||
/* Special; never created by yylex; only set by parse_comsub and xparse_dolparen */
|
||||
%token DOLPAREN
|
||||
/* Special; never created by yylex; only set by parse_matched_pair/parse_comsub/xparse_dolparen */
|
||||
%token DOLBRACE
|
||||
|
||||
/* The types that the various syntactical units return. */
|
||||
|
||||
@@ -1041,6 +1043,14 @@ comsub: DOLPAREN compound_list ')'
|
||||
{
|
||||
$$ = (COMMAND *)NULL;
|
||||
}
|
||||
| DOLBRACE compound_list '}'
|
||||
{
|
||||
$$ = $2;
|
||||
}
|
||||
| DOLBRACE newline_list '}'
|
||||
{
|
||||
$$ = (COMMAND *)NULL;
|
||||
}
|
||||
;
|
||||
|
||||
coproc: COPROC shell_command
|
||||
|
||||
Reference in New Issue
Block a user