[Bug 72273] GLSL preprocessor does not support expressions in #line

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 28 11:19:40 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=72273

--- Comment #1 from Carl Worth <cworth at cworth.org> ---
(In reply to comment #0)
>     "#line must have, after macro substitution, one of the following forms
...
>     where line and source-string-number are constant integer *expressions*."

OK. This should be really easy to fix, (basically just replace
"integer_constant"
with "expression" in the grammar and then do a bunch of testing).

I notice that the only other place that "integer_constant" appears in the
current grammar is for #version. Should we be allowing expressions there
as well or does the specification demand a numeric literal for that one?

-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/20140128/607f12f6/attachment.html>


More information about the intel-3d-bugs mailing list