]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - shell.h
Imported from ../bash-2.05.tar.gz.
[thirdparty/bash.git] / shell.h
diff --git a/shell.h b/shell.h
index bf8a7bece3e5cecee152ca73ea51e30385a42f48..9316250d7ecd8fb589d11f54ed631e547ae54c12 100644 (file)
--- a/shell.h
+++ b/shell.h
@@ -23,6 +23,7 @@
 #include "bashjmp.h"
 
 #include "command.h"
+#include "syntax.h"
 #include "general.h"
 #include "error.h"
 #include "variables.h"
@@ -65,26 +66,6 @@ extern int EOF_Reached;
 #define EX_BADASSIGN   260     /* variable assignment error */
 #define EX_EXPFAIL     261     /* word expansion failed */
 
-/* The list of characters that are quoted in double-quotes with a
-   backslash.  Other characters following a backslash cause nothing
-   special to happen. */
-#define slashify_in_quotes "\\`$\"\n"
-#define slashify_in_here_document "\\`$"
-
-/* Constants which specify how to handle backslashes and quoting in
-   expand_word_internal ().  Q_DOUBLE_QUOTES means to use the function
-   slashify_in_quotes () to decide whether the backslash should be
-   retained.  Q_HERE_DOCUMENT means slashify_in_here_document () to
-   decide whether to retain the backslash.  Q_KEEP_BACKSLASH means
-   to unconditionally retain the backslash. */
-#define Q_DOUBLE_QUOTES  0x1
-#define Q_HERE_DOCUMENT  0x2
-#define Q_KEEP_BACKSLASH 0x4
-#define Q_NOQUOTE       0x8
-#define Q_QUOTED        0x10
-#define Q_ADDEDQUOTES   0x20
-#define Q_QUOTEDNULL    0x40
-
 /* Flag values that control parameter pattern substitution. */
 #define MATCH_ANY      0x0
 #define MATCH_BEG      0x1