xref: /csrg-svn/usr.bin/pascal/pdx/main.h (revision 5590)
15452Slinton /* Copyright (c) 1982 Regents of the University of California */
25452Slinton 
3*5590Slinton /* static char sccsid[] = "@(#)main.h 1.3 01/20/82"; */
45452Slinton 
55452Slinton /*
65452Slinton  * Definitions for main program.
75452Slinton  *
85452Slinton  * The main program just handles the command arguments and then
95452Slinton  * gives control to the command module.  It's also the center of
105452Slinton  * error recovery, since non-fatal errors longjmp into the main routine.
115452Slinton  */
125452Slinton 
135452Slinton BOOLEAN opt[26];	/* true if command line option given */
145452Slinton 
155452Slinton #define option(c)	opt[(c)-'a']
165452Slinton 
175452Slinton main();			/* debugger main routine */
185452Slinton init();			/* read in source and object data */
195452Slinton erecover();		/* does non-local goto for error recovery */
20*5590Slinton quit();			/* clean-up before exiting */
21