Bash-4.1 distribution source
[platform/upstream/bash.git] / subst.h
diff --git a/subst.h b/subst.h
index b0149cc..7628939 100644 (file)
--- a/subst.h
+++ b/subst.h
@@ -52,6 +52,7 @@
 #define SX_NOCTLESC    0x10    /* don't honor CTLESC quoting */
 #define SX_NOESCCTLNUL 0x20    /* don't let CTLESC quote CTLNUL */
 #define SX_NOLONGJMP   0x40    /* don't longjmp on fatal error */
+#define SX_ARITHSUB    0x80    /* extracting $(( ... )) (currently unused) */
 
 /* Remove backslashes which are quoting backquotes from STRING.  Modifies
    STRING, and returns a pointer to it. */
@@ -266,13 +267,15 @@ extern char *cond_expand_word __P((WORD_DESC *, int));
 /* Flags for skip_to_delim */
 #define SD_NOJMP       0x01    /* don't longjmp on fatal error. */
 #define SD_INVERT      0x02    /* look for chars NOT in passed set */
+#define SD_NOQUOTEDELIM        0x04    /* don't let single or double quotes act as delimiters */
+#define SD_NOSKIPCMD   0x08    /* don't skip over $(, <(, or >( command/process substitution */
 
 extern int skip_to_delim __P((char *, int, char *, int));
 
 #if defined (READLINE)
 extern int char_is_quoted __P((char *, int));
 extern int unclosed_pair __P((char *, int, char *));
-extern WORD_LIST *split_at_delims __P((char *, int, char *, int, int *, int *));
+extern WORD_LIST *split_at_delims __P((char *, int, char *, int, int, int *, int *));
 #endif
 
 /* Variables used to keep track of the characters in IFS. */