mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-06 03:40:50 +02:00
Imported from ../bash-2.0.tar.gz.
This commit is contained in:
@@ -1,8 +1,22 @@
|
||||
/* parser.h -- Everything you wanted to know about the parser, but were
|
||||
afraid to ask. */
|
||||
#if !defined (_PARSER_H_)
|
||||
# define _PARSER_H_
|
||||
|
||||
#if !defined (_PARSER_H)
|
||||
# define _PARSER_H
|
||||
# include "command.h"
|
||||
# include "input.h"
|
||||
#endif /* _PARSER_H */
|
||||
|
||||
/* Definition of the delimiter stack. Needed by parse.y and bashhist.c. */
|
||||
struct dstack {
|
||||
/* DELIMITERS is a stack of the nested delimiters that we have
|
||||
encountered so far. */
|
||||
char *delimiters;
|
||||
|
||||
/* Offset into the stack of delimiters. */
|
||||
int delimiter_depth;
|
||||
|
||||
/* How many slots are allocated to DELIMITERS. */
|
||||
int delimiter_space;
|
||||
};
|
||||
|
||||
#endif /* _PARSER_H_ */
|
||||
|
||||
Reference in New Issue
Block a user