new error msg
authorBrian <brian@yutani.localnet.net>
Tue, 19 Dec 2006 15:59:19 +0000 (08:59 -0700)
committerBrian <brian@yutani.localnet.net>
Tue, 19 Dec 2006 15:59:19 +0000 (08:59 -0700)
src/mesa/shader/slang/slang_compile.c

index 463088fc5cdc52bbf9b45f1fb920f2675f25c39c..6aed167e3fdc65c0c525757b127da55a85bb351a 100644 (file)
@@ -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);