summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_token.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/pp/sl_pp_token.h')
-rw-r--r--src/glsl/pp/sl_pp_token.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/glsl/pp/sl_pp_token.h b/src/glsl/pp/sl_pp_token.h
index 5e7fae7d29c..c801804ae6e 100644
--- a/src/glsl/pp/sl_pp_token.h
+++ b/src/glsl/pp/sl_pp_token.h
@@ -90,8 +90,8 @@ enum sl_pp_token {
};
union sl_pp_token_data {
- char *identifier;
- char *number;
+ int identifier;
+ int number;
char other;
};
@@ -101,7 +101,8 @@ struct sl_pp_token_info {
};
int
-sl_pp_tokenise(const char *input,
+sl_pp_tokenise(struct sl_pp_context *context,
+ const char *input,
struct sl_pp_token_info **output);
#endif /* SL_PP_TOKEN_H */