xref: /csrg-svn/usr.bin/pascal/pdx/command.h (revision 22568)
1*22568Sdist /*
2*22568Sdist  * Copyright (c) 1980 Regents of the University of California.
3*22568Sdist  * All rights reserved.  The Berkeley software License Agreement
4*22568Sdist  * specifies the terms and conditions for redistribution.
5*22568Sdist  *
6*22568Sdist  *	@(#)command.h	5.1 (Berkeley) 06/06/85
7*22568Sdist  */
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 */
195449Slinton 
205449Slinton #define HELPFILE "/vb/arpa/linton/lib/pdx.help"
215449Slinton 
225449Slinton prompt();		/* print a prompt */
235449Slinton int yyparse();		/* parser generated by yacc */
245449Slinton lexinit();		/* initialize debugger symbol table */
255449Slinton gobble();		/* eat input up to a newline for error recovery */
265449Slinton remake();		/* recompile program, read in new namelist */
275449Slinton alias();		/* create an alias */
285449Slinton BOOLEAN isstdin();	/* input is from standard input */
29