mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 10:12:38 +02:00
Initial devel branch import from bash-3.0-alpha
This commit is contained in:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user