xref: /original-bsd/usr.bin/pascal/pdx/command.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1980, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)command.h	8.1 (Berkeley) 06/06/93
8  */
9 
10 /*
11  * Definitions for the command module.
12  *
13  * The command module scans and parses the commands.  This includes
14  * input file management (i.e. the "source" command), and some error
15  * handling.
16  */
17 
18 char *initfile;		/* file to read initial commands from */
19 BOOLEAN nlflag;		/* for error and signal recovery */
20 int prompt();		/* print a prompt */
21 int yyparse();		/* parser generated by yacc */
22 int lexinit();		/* initialize debugger symbol table */
23 int gobble();		/* eat input up to a newline for error recovery */
24 int remake();		/* recompile program, read in new namelist */
25 int alias();		/* create an alias */
26 BOOLEAN isstdin();	/* input is from standard input */
27