Subversion Repositories planix.SVN

Rev

Rev 105 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 105 Rev 121
Line 11... Line 11...
11
 * using an argv even for internally done "next" commands.
11
 * using an argv even for internally done "next" commands.
12
 * It is not hard to see that this is restrictive and a waste of
12
 * It is not hard to see that this is restrictive and a waste of
13
 * space.  The statically allocated glob structure could be replaced
13
 * space.  The statically allocated glob structure could be replaced
14
 * by a dynamically allocated argument area space.
14
 * by a dynamically allocated argument area space.
15
 */
15
 */
16
var char	**argv;
16
const char	**argv;
17
var char	**argv0;
17
const char	**argv0;
18
var char	*args;
18
const char	*args;
19
var char	*args0;
19
const char	*args0;
20
var short	argc;
20
var short	argc;
21
var short	argc0;
21
var short	argc0;
22
var short	morargc;		/* Used with "More files to edit..." */
22
var short	morargc;		/* Used with "More files to edit..." */
23
 
23
 
24
var int	firstln;		/* From +lineno */
24
var int	firstln;		/* From +lineno */
25
var char	*firstpat;		/* From +/pat	*/
25
const char	*firstpat;		/* From +/pat	*/
26
 
26
 
27
/* Yech... */
27
/* Yech... */
28
struct	glob {
28
struct	glob {
29
	short	argc;			/* Index of current file in argv */
29
	short	argc;			/* Index of current file in argv */
30
	short	argc0;			/* Number of arguments in argv */
30
	short	argc0;			/* Number of arguments in argv */