xref: /csrg-svn/usr.bin/pascal/pdx/command.h (revision 33242)
122568Sdist /*
222568Sdist  * Copyright (c) 1980 Regents of the University of California.
322568Sdist  * All rights reserved.  The Berkeley software License Agreement
422568Sdist  * specifies the terms and conditions for redistribution.
522568Sdist  *
6*33242Sbostic  *	@(#)command.h	5.3 (Berkeley) 01/03/88
722568Sdist  */
85449Slinton 
95449Slinton /*
105449Slinton  * Definitions for the command module.
115449Slinton  *
125449Slinton  * The command module scans and parses the commands.  This includes
135449Slinton  * input file management (i.e. the "source" command), and some error
145449Slinton  * handling.
155449Slinton  */
165449Slinton 
175449Slinton char *initfile;		/* file to read initial commands from */
185449Slinton BOOLEAN nlflag;		/* for error and signal recovery */
19*33242Sbostic int prompt();		/* print a prompt */
205449Slinton int yyparse();		/* parser generated by yacc */
21*33242Sbostic int lexinit();		/* initialize debugger symbol table */
22*33242Sbostic int gobble();		/* eat input up to a newline for error recovery */
23*33242Sbostic int remake();		/* recompile program, read in new namelist */
24*33242Sbostic int alias();		/* create an alias */
255449Slinton BOOLEAN isstdin();	/* input is from standard input */
26