Initial devel branch import from bash-3.0-alpha

This commit is contained in:
Chet Ramey
2011-11-28 14:41:26 -05:00
parent 7117c2d221
commit d3a24ed242
261 changed files with 24280 additions and 6327 deletions
+6 -1
View File
@@ -64,7 +64,8 @@
#define CSUBSTOP 0x1000 /* values of OP for ${word[:]OPstuff} */
/* Defines for use by the rest of the shell. */
extern const int sh_syntaxtab[];
extern int sh_syntaxtab[];
extern int sh_syntabsiz;
#define shellmeta(c) (sh_syntaxtab[(unsigned char)(c)] & CSHMETA)
#define shellbreak(c) (sh_syntaxtab[(unsigned char)(c)] & CSHBRK)
@@ -92,4 +93,8 @@ extern const int sh_syntaxtab[];
#define CTLESC '\001'
#define CTLNUL '\177'
#if !defined (HAVE_ISBLANK) && !defined (isblank)
# define isblank(x) ((x) == ' ' || (x) == '\t')
#endif
#endif /* _SYNTAX_H_ */