[Mesa-stable] [PATCH 03/15] glsl: Fix preprocessor error condition for macro redefinition

Carl Worth cworth at cworth.org
Wed Jun 11 18:09:51 PDT 2014


Anuj Phogat <anuj.phogat at gmail.com> writes:
> This patch specifically fixes redefinition condition for white space
> changes. #define and #undef functionality in GLSL follows the standard
> for C++ preprocessors for macro definitions.

Thanks! That fix took some close reading of the specification, and some
tweaking to some perhaps not-too-obvious code.

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

Again, I'm following up with a new glcpp test for this, (and a tweak to
a test so that it continues to pass as expected after the change). I'll
try to even get the email threading of my followup correct this time.

-Carl

-- 
carl.d.worth at intel.com
-------------- 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-stable/attachments/20140611/a264176c/attachment.sig>


More information about the mesa-stable mailing list