X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=parser.h;h=8d396dff08b06e4a927c6254040343e5a5775f8d;hb=ac50fbac377e32b98d2de396f016ea81e8ee9961;hp=5078456720da84040989ea1c3e5c722d263e314d;hpb=4539d736f1aff232857a854fd2a68df0c98d9f34;p=platform%2Fupstream%2Fbash.git diff --git a/parser.h b/parser.h index 5078456..8d396df 100644 --- a/parser.h +++ b/parser.h @@ -45,7 +45,7 @@ #define PST_REGEXP 0x010000 /* parsing an ERE/BRE as a single word */ #define PST_HEREDOC 0x020000 /* reading body of here-document */ #define PST_REPARSE 0x040000 /* re-parsing in parse_string_to_word_list */ -#define PST_REDIRLIST 0x080000 /* parsing a list of redirctions preceding a simple command name */ +#define PST_REDIRLIST 0x080000 /* parsing a list of redirections preceding a simple command name */ /* Definition of the delimiter stack. Needed by parse.y and bashhist.c. */ @@ -67,6 +67,7 @@ struct dstack { #define DOLBRACE_OP 0x02 #define DOLBRACE_WORD 0x04 -#define DOLBRACE_QUOTE 0x40 +#define DOLBRACE_QUOTE 0x40 /* single quote is special in double quotes */ +#define DOLBRACE_QUOTE2 0x80 /* single quote is semi-special in double quotes */ #endif /* _PARSER_H_ */