i-bash/parser.h

23 lines
556 B
C
Raw Normal View History

1996-08-26 18:22:31 +00:00
/* parser.h -- Everything you wanted to know about the parser, but were
afraid to ask. */
1996-12-23 17:02:34 +00:00
#if !defined (_PARSER_H_)
# define _PARSER_H_
1996-08-26 18:22:31 +00:00
# include "command.h"
# include "input.h"
1996-12-23 17:02:34 +00:00
/* 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_ */