xuxiandi / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Line directive off-by-one #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run $ echo "#line 50
#qqq
void main() {}" > line.cpp
2. run $ g++ -E line.cpp
3. run $ essl_to_glsl line.cpp
4. Notice g++ reports an error on line 50 yet essl_to_glsl reports an error on 
line 51

What is the expected output? What do you see instead?
line 50 is expected, line 51 is seen

What version of the product are you using? On what operating system?
r705 on OS X 10.6

Please provide any additional information below.

Original issue reported on code.google.com by kosmo...@gmail.com on 15 Jul 2011 at 12:48

GoogleCodeExporter commented 9 years ago

Original comment by kbr@chromium.org on 15 Jul 2011 at 12:56

GoogleCodeExporter commented 9 years ago
Alok: do you know if this is still an issue in the new preprocessor?

Original comment by dan...@transgaming.com on 26 Oct 2012 at 7:33

GoogleCodeExporter commented 9 years ago
This should be fixed in the new preprocessor.

Original comment by alokp@chromium.org on 26 Oct 2012 at 7:38

GoogleCodeExporter commented 9 years ago
Closing then.

Original comment by dan...@transgaming.com on 26 Oct 2012 at 7:46