Fix line number handling in line directive callback.
The line argument passed into the lineCallback function is the
literal value of the first argument of the #line directive.
lastLine in DoPreprocessing() should be updated taking into
consideration the different definitions for #line between specs.
Add a test to reveal the bug.
Showing
Test/baseResults/preprocessor.line.frag.err
0 → 100644
Test/baseResults/preprocessor.line.frag.out
0 → 100644
Test/preprocessor.line.frag
0 → 100644
Please
register
or
sign in
to comment