remove zflag - nonstandard
[unix-history] / usr / src / bin / sh / parser.h
index 9c0d1f0..62a8918 100644 (file)
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)parser.h    5.1 (Berkeley) %G%
+ *     @(#)parser.h    5.3 (Berkeley) %G%
  */
 
 /* control characters in argument strings */
  */
 
 /* control characters in argument strings */
@@ -16,6 +16,9 @@
 #define CTLENDVAR '\203'
 #define CTLBACKQ '\204'
 #define CTLQUOTE 01            /* ored with CTLBACKQ code if in quotes */
 #define CTLENDVAR '\203'
 #define CTLBACKQ '\204'
 #define CTLQUOTE 01            /* ored with CTLBACKQ code if in quotes */
+/*     CTLBACKQ | CTLQUOTE == '\205' */
+#define        CTLARI  '\206'
+#define        CTLENDARI '\207'
 
 /* variable substitution byte (follows CTLVAR) */
 #define VSTYPE 07              /* type of variable substitution */
 
 /* variable substitution byte (follows CTLVAR) */
 #define VSTYPE 07              /* type of variable substitution */
  */
 extern int tokpushback;
 #define NEOF ((union node *)&tokpushback)
  */
 extern int tokpushback;
 #define NEOF ((union node *)&tokpushback)
+extern int whichprompt;                /* 1 == PS1, 2 == PS2 */
 
 
 #ifdef __STDC__
 union node *parsecmd(int);
 int goodname(char *);
 
 
 #ifdef __STDC__
 union node *parsecmd(int);
 int goodname(char *);
+char *getprompt(void *);
 #else
 union node *parsecmd();
 int goodname();
 #else
 union node *parsecmd();
 int goodname();
+char *getprompt();
 #endif
 #endif