Set source locations on AST nodes so error messages print locations.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 1 Apr 2010 00:12:34 +0000 (17:12 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 1 Apr 2010 01:26:27 +0000 (18:26 -0700)
commitebfdef7a83966341c27f44c83366419d4a2f7a60
tree1545f71b87b896545f3cdef2c63a224f5fbfa42c
parent92318a947958892497722772b03c643ebc943294
Set source locations on AST nodes so error messages print locations.

I haven't verified that these are all correct, but it's still a lot
better than not having anything.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
ast.h
glsl_parser.ypp