xref: /csrg-svn/usr.bin/pascal/pdx/command.h (revision 62131)
148104Sbostic /*-
2*62131Sbostic  * Copyright (c) 1980, 1993
3*62131Sbostic  *	The Regents of the University of California.  All rights reserved.
422568Sdist  *
548104Sbostic  * %sccs.include.redist.c%
648104Sbostic  *
7*62131Sbostic  *	@(#)command.h	8.1 (Berkeley) 06/06/93
822568Sdist  */
95449Slinton 
105449Slinton /*
115449Slinton  * Definitions for the command module.
125449Slinton  *
135449Slinton  * The command module scans and parses the commands.  This includes
145449Slinton  * input file management (i.e. the "source" command), and some error
155449Slinton  * handling.
165449Slinton  */
175449Slinton 
185449Slinton char *initfile;		/* file to read initial commands from */
195449Slinton BOOLEAN nlflag;		/* for error and signal recovery */
2033242Sbostic int prompt();		/* print a prompt */
215449Slinton int yyparse();		/* parser generated by yacc */
2233242Sbostic int lexinit();		/* initialize debugger symbol table */
2333242Sbostic int gobble();		/* eat input up to a newline for error recovery */
2433242Sbostic int remake();		/* recompile program, read in new namelist */
2533242Sbostic int alias();		/* create an alias */
265449Slinton BOOLEAN isstdin();	/* input is from standard input */
27