<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android-x86-mesa.git/src/glsl/glcpp/tests/067-nested-ifdef-ifndef.c.expected, branch r300</title>
<subtitle>Androïd/x86 port of Mesa drivers
</subtitle>
<id>https://git.hiegel.fr/cgit/android-x86-mesa.git/atom?h=r300</id>
<link rel='self' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/atom?h=r300'/>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/'/>
<updated>2010-07-21T00:01:11Z</updated>
<entry>
<title>glcpp: Fix support for nested #ifdef and nested #ifndef</title>
<updated>2010-07-21T00:01:11Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-07-20T21:13:32Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=1d7e03e48e87328ce0081021dde133921b78b406'/>
<id>urn:sha1:1d7e03e48e87328ce0081021dde133921b78b406</id>
<content type='text'>
Previously, if the outer #ifdef/#ifndef evaluated to false, the inner
directive would not be parsed correctly, (the identifier as the subject
of the #ifdef/#ifndef would inadvertently be skipped along with the other
content correctly being skipped).

We fix this by setting the lexing_if state in each case here.

We also add a new test to the test suite to ensure that this case is tested.
</content>
</entry>
</feed>
