xref: /original-bsd/usr.bin/pascal/pdx/source.h (revision 76f06662)
1bee1e5eeSbostic /*-
2*76f06662Sbostic  * Copyright (c) 1980, 1993
3*76f06662Sbostic  *	The Regents of the University of California.  All rights reserved.
4f5bf44afSdist  *
5bee1e5eeSbostic  * %sccs.include.redist.c%
6bee1e5eeSbostic  *
7*76f06662Sbostic  *	@(#)source.h	8.1 (Berkeley) 06/06/93
8f5bf44afSdist  */
9f5bf44afSdist 
10f5e471fcSmckusick /*
1128b5892dSlinton  * Definitions for interfacing with source management routines.
1228b5892dSlinton  */
1328b5892dSlinton 
1428b5892dSlinton char *cursource;		/* current source file name */
1528b5892dSlinton LINENO lastlinenum;		/* last source line number */
1628b5892dSlinton 
17005fe3b7Sbostic int skimsource();		/* get seek pointers to source lines */
18005fe3b7Sbostic int chkline();			/* checks to see that a line number is valid */
19005fe3b7Sbostic int printlines();		/* print out from first line to second */
20