projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
194bc5a
)
new error msg
author
Brian
<brian@yutani.localnet.net>
Tue, 19 Dec 2006 15:59:19 +0000
(08:59 -0700)
committer
Brian
<brian@yutani.localnet.net>
Tue, 19 Dec 2006 15:59:19 +0000
(08:59 -0700)
src/mesa/shader/slang/slang_compile.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_compile.c
b/src/mesa/shader/slang/slang_compile.c
index 463088fc5cdc52bbf9b45f1fb920f2675f25c39c..6aed167e3fdc65c0c525757b127da55a85bb351a 100644
(file)
--- a/
src/mesa/shader/slang/slang_compile.c
+++ b/
src/mesa/shader/slang/slang_compile.c
@@
-2097,7
+2097,7
@@
compile_with_grammar(grammar id, const char *source, slang_code_unit * unit,
slang_string_free(&preprocessed);
grammar_get_last_error((byte *) (buf), sizeof(buf), &pos);
slang_info_log_error(infolog, buf);
- RETURN_ERROR("syntax error", 0);
+ RETURN_ERROR("syntax error
(possibly in library code)
", 0);
}
slang_string_free(&preprocessed);