<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 eat comments correctly"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72686#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - GLSL preprocessor does not eat comments correctly"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72686">bug 72686</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>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</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>