[Mesa-dev] [PATCH] glcpp: Do not remove spaces to preserve locations.

Carl Worth cworth at cworth.org
Wed Feb 5 12:22:40 PST 2014


Sir Anthony <anthony at adsorbtion.org> writes:
> After preprocessing by glcpp all adjacent spaces were replaced by
> single one and glsl parser received column-shifted shader source. 
> It negatively affected ast location set up and produced wrong error 
> messages for heavily-spaced shaders.

Thanks!

This commit message and the patch match much better than the previous
version. And thanks for updating the test suite as well.

Reviewed-by: Carl Worth <cworth at cworth.org>

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140205/75da248a/attachment.pgp>


More information about the mesa-dev mailing list