diff options
author | Michal Krol <michal@vmware.com> | 2009-12-19 09:55:27 +0100 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2009-12-20 21:18:57 +0100 |
commit | e9aa65d2b751f81fecd365fd6a550562417a3ec2 (patch) | |
tree | 4d02b2597425e6e71f6616760a9a6a626a9638d2 /src/glsl/pp/sl_pp_public.h | |
parent | a6e663def416f73ea8c0c65e8ee6a4dfaaeffae2 (diff) |
glsl/pp: Report correct error line for purify and tokeniser errors.
Diffstat (limited to 'src/glsl/pp/sl_pp_public.h')
-rw-r--r-- | src/glsl/pp/sl_pp_public.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_public.h b/src/glsl/pp/sl_pp_public.h index 076903649c..9d0a08ca45 100644 --- a/src/glsl/pp/sl_pp_public.h +++ b/src/glsl/pp/sl_pp_public.h @@ -45,6 +45,11 @@ sl_pp_context_destroy(struct sl_pp_context *context); const char * sl_pp_context_error_message(const struct sl_pp_context *context); +void +sl_pp_context_error_position(const struct sl_pp_context *context, + unsigned int *file, + unsigned int *line); + int sl_pp_context_add_extension(struct sl_pp_context *context, const char *name, |