make sure unavailable mode bits are not set,
[unix-history] / usr / src / usr.bin / window / context.h
index b62df5b..f9887fd 100644 (file)
@@ -1,5 +1,11 @@
 /*
 /*
- *     @(#)context.h   3.4 84/03/03
+ * @(#)context.h       3.7 %G%
+ */
+
+/*
+ * Copyright (c) 1983 Regents of the University of California,
+ * All rights reserved.  Redistribution permitted subject to
+ * the terms of the Berkeley Software License Agreement.
  */
 
 #include <stdio.h>
  */
 
 #include <stdio.h>
@@ -19,6 +25,8 @@ struct context {
                struct {        /* input is a buffer */
                        char *X_buf;            /* input buffer */
                        char *X_bufp;           /* current position in buf */
                struct {        /* input is a buffer */
                        char *X_buf;            /* input buffer */
                        char *X_bufp;           /* current position in buf */
+                       struct value *X_arg;    /* argument for alias */
+                       int X_narg;             /* number of arguments */
                } x_b;
        } x_un;
                /* holding place for current token */
                } x_b;
        } x_un;
                /* holding place for current token */
@@ -31,6 +39,8 @@ struct context {
 };
 #define x_buf          x_un.x_b.X_buf
 #define x_bufp         x_un.x_b.X_bufp
 };
 #define x_buf          x_un.x_b.X_buf
 #define x_bufp         x_un.x_b.X_bufp
+#define x_arg          x_un.x_b.X_arg
+#define x_narg         x_un.x_b.X_narg
 #define x_filename     x_un.x_f.X_filename
 #define x_fp           x_un.x_f.X_fp
 #define x_lineno       x_un.x_f.X_lineno
 #define x_filename     x_un.x_f.X_filename
 #define x_fp           x_un.x_f.X_fp
 #define x_lineno       x_un.x_f.X_lineno