glsl: Be consistent about '\n', '.', and capitalization in errors/warnings.
authorPaul Berry <stereotype441@gmail.com>
Fri, 26 Jul 2013 02:56:43 +0000 (19:56 -0700)
committerPaul Berry <stereotype441@gmail.com>
Sat, 27 Jul 2013 16:41:30 +0000 (09:41 -0700)
commit4d7899fe81b6ffc521c6f9688e25bcde4012e556
treec230c0fce51c7b67a19223ca1f7601596cd76459
parent8c3d3622d9ce2fd2a8f46084ab8153d708fa5b09
glsl: Be consistent about '\n', '.', and capitalization in errors/warnings.

The majority of calls to _mesa_glsl_error(), _mesa_glsl_warning(), and
_mesa_glsl_parse_state::check_version() use a message that begins with
a lower case letter and ends without a period.  This patch makes all
messages follow that convention.

Also, error/warning messages shouldn't end in '\n', since
_mesa_glsl_msg() automatically adds '\n' at the end of the message.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/ast_function.cpp
src/glsl/ast_to_hir.cpp
src/glsl/ast_type.cpp
src/glsl/glsl_lexer.ll
src/glsl/glsl_parser.yy
src/glsl/glsl_parser_extras.cpp
src/glsl/hir_field_selection.cpp
src/glsl/ir_function_detect_recursion.cpp