<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - GLSL preprocessor does not support expressions in #line"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72273#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - GLSL preprocessor does not support expressions in #line"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72273">bug 72273</a>
from <span class="vcard"><a class="email" href="mailto:cworth@cworth.org" title="Carl Worth <cworth@cworth.org>"> <span class="fn">Carl Worth</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=72273#c0">comment #0</a>)
<span class="quote">> "#line must have, after macro substitution, one of the following forms</span >
...
<span class="quote">> where line and source-string-number are constant integer *expressions*."</span >
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>