From d39d5e19b800a8f2efb18ce344e23171885ddb04 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 5 Sep 2009 23:22:20 +0200 Subject: [PATCH] export isl_token_free and isl_stream_error --- isl_stream.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/isl_stream.h b/isl_stream.h index 3d1b6fc..f445fc6 100644 --- a/isl_stream.h +++ b/isl_stream.h @@ -25,6 +25,8 @@ struct isl_token { } u; }; +void isl_token_free(struct isl_token *tok); + struct isl_stream { struct isl_ctx *ctx; FILE *file; @@ -46,6 +48,8 @@ struct isl_stream* isl_stream_new_file(struct isl_ctx *ctx, FILE *file); struct isl_stream* isl_stream_new_str(struct isl_ctx *ctx, const char *str); void isl_stream_free(struct isl_stream *s); +void isl_stream_error(struct isl_stream *s, struct isl_token *tok, char *msg); + struct isl_token *isl_stream_next_token(struct isl_stream *s); void isl_stream_push_token(struct isl_stream *s, struct isl_token *tok); int isl_stream_eat(struct isl_stream *s, int type); -- 2.7.4