diff options
author | Chet Ramey <chet.ramey@case.edu> | 2022-09-26 11:49:46 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2022-09-26 11:49:46 -0400 |
commit | 74091dd4e8086db518b30df7f222691524469998 (patch) | |
tree | ebe89d8f0ed44b7f79aa3c759d3f85e15996eaee /parser.h | |
parent | 9439ce094c9aa7557a9d53ac7b412a23aa66e36b (diff) | |
download | bash-74091dd4e8086db518b30df7f222691524469998.tar.gz |
bash-5.2 distribution sources and documentationbash-5.2
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* parser.h -- Everything you wanted to know about the parser, but were afraid to ask. */ -/* Copyright (C) 1995-2019 Free Software Foundation, Inc. +/* Copyright (C) 1995-2021 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -30,7 +30,7 @@ #define PST_ALEXPNEXT 0x000002 /* expand next word for aliases */ #define PST_ALLOWOPNBRC 0x000004 /* allow open brace for function def */ #define PST_NEEDCLOSBRC 0x000008 /* need close brace */ -#define PST_DBLPAREN 0x000010 /* double-paren parsing */ +#define PST_DBLPAREN 0x000010 /* double-paren parsing - unused */ #define PST_SUBSHELL 0x000020 /* ( ... ) subshell */ #define PST_CMDSUBST 0x000040 /* $( ... ) command substitution */ #define PST_CASESTMT 0x000080 /* parsing a case statement */ @@ -48,6 +48,8 @@ #define PST_REDIRLIST 0x080000 /* parsing a list of redirections preceding a simple command name */ #define PST_COMMENT 0x100000 /* parsing a shell comment; used by aliases */ #define PST_ENDALIAS 0x200000 /* just finished expanding and consuming an alias */ +#define PST_NOEXPAND 0x400000 /* don't expand anything in read_token_word; for command substitution */ +#define PST_NOERROR 0x800000 /* don't print error messages in yyerror */ /* Definition of the delimiter stack. Needed by parse.y and bashhist.c. */ struct dstack { |