glsl: Add missing location info to case labels.
authorEric Anholt <eric@anholt.net>
Mon, 30 Jan 2012 17:41:55 +0000 (09:41 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 3 Feb 2012 10:06:57 +0000 (11:06 +0100)
commit663dcbbffeaedf0643e7e9d930ccfbcd698d1d9c
treea9e5f92fb5962d6e28a57446b6f6c303e90aff4a
parent2c3e10e71935506798c413363df27afc4348fb53
glsl: Add missing location info to case labels.

Otherwise, the upcoming error messages said the location was 0:0(0).

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/glsl_parser.yy