export isl_token_free and isl_stream_error
authorSven Verdoolaege <skimo@purples.(none)>
Sat, 5 Sep 2009 21:22:20 +0000 (23:22 +0200)
committerSven Verdoolaege <skimo@purples.(none)>
Sun, 6 Sep 2009 15:57:15 +0000 (17:57 +0200)
isl_stream.h

index 3d1b6fc..f445fc6 100644 (file)
@@ -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);