[Bug 72686] GLSL preprocessor does not eat comments correctly
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Dec 16 15:21:51 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=72686
--- Comment #1 from Carl Worth <cworth at cworth.org> ---
Thanks for the bug report, Ian.
It looks like the glcpp code originally performed as desired, but
broke as of commit bd55ba568b301d0f764cd1ca015e84e1ae932c8b
I think what we want to do here is to fix the lexer so that it no
longer emits the NEWLINE tokens, but instead counts these, and then
when it's emitting a NEWLINE token for a newline read outside of a
comment it can emit extra NEWLINE tokens (or a #line directive) to
preserve the correct line number.
-Carl
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20131216/ab694b5b/attachment.html>
More information about the intel-3d-bugs
mailing list