Skip to content
Permalink
Browse files
Removed preprocessor_error(). Returns a Token to specify an error sta…
…te now.
  • Loading branch information
icculus committed Feb 13, 2009
1 parent 0ace954 commit 0bed7fdd369fe3af460a43b13f99c151a463b18f

File 2 of 3 in 0bed7fd

@@ -327,7 +327,8 @@ typedef enum
TOKEN_PP_ERROR,
TOKEN_PP_INCOMPLETE_COMMENT,
TOKEN_PP_BAD_CHARS,
TOKEN_EOI
TOKEN_EOI,
TOKEN_PREPROCESSING_ERROR
} Token;


@@ -361,7 +362,6 @@ Preprocessor *preprocessor_start(const char *fname, const char *source,
MOJOSHADER_malloc m, MOJOSHADER_free f, void *d);

void preprocessor_end(Preprocessor *pp);
const char *preprocessor_error(Preprocessor *pp);
int preprocessor_outofmemory(Preprocessor *pp);
const char *preprocessor_nexttoken(Preprocessor *_ctx,
unsigned int *_len, Token *_token);

0 comments on commit 0bed7fd

Please sign in to comment.