39 #include <R_ext/Parse.h>
57 PROTECT_INDEX SrcFileProt;
58 PROTECT_INDEX OriginalProt;
66 void R_InitSrcRefState(SrcRefState *state);
67 void R_FinalizeSrcRefState(SrcRefState *state);
69 SEXP R_Parse1Buffer(IoBuffer*,
int, ParseStatus *);
71 SEXP R_ParseBuffer(IoBuffer*,
int, ParseStatus *,
SEXP,
SEXP);
72 SEXP R_Parse1File(FILE*,
int, ParseStatus *, SrcRefState *);
73 SEXP R_ParseFile(FILE*,
int, ParseStatus *,
SEXP);
75 #ifndef HAVE_RCONNECTION_TYPEDEF
76 typedef struct Rconn *Rconnection;
77 #define HAVE_RCONNECTION_TYPEDEF
79 SEXP R_ParseConn(Rconnection con,
int n, ParseStatus *status,
SEXP srcfile);
83 void parseError(
SEXP call,
int linenum);