* Copyright (c) 1991 The Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* %sccs.include.redist.c%
* @(#)input.h 5.1 (Berkeley) %G%
/* PEOF (the end of file marker) is defined in syntax.h */
* The input line number. Input.c just defines this variable, and saves
* and restores it when files are pushed and popped. The user of this
* package must set its value.
extern int parsenleft
; /* number of characters left in input buffer */
extern char *parsenextc
; /* next character in input buffer */
char *pfgets(char *, int);
void ppushback(char *, int);
void setinputfile(char *, int);
void setinputfd(int, int);
void setinputstring(char *, int);
#define pgetc_macro() (--parsenleft >= 0? *parsenextc++ : preadbuffer())