[Mesa-dev] [PATCH] glsl: Be consistent about '\n', '.', and capitalization in errors/warnings.

Matt Turner mattst88 at gmail.com
Thu Jul 25 22:27:49 PDT 2013


On Thu, Jul 25, 2013 at 8:01 PM, Paul Berry <stereotype441 at gmail.com> wrote:
> 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 at gmail.com>


More information about the mesa-dev mailing list