Closed GoogleCodeExporter closed 9 years ago
This appears be to related to an incorrect __FILE__ increment:
$ echo "void main() { int line = __LINE__; int file = __FILE__;
> line = __LINE__; file = __FILE__;
> line = __LINE__; file = __FILE__; }" > line.cpp
$ essl_to_glsl -o line.cpp
void main(){
mediump int line = 1;
mediump int file = 0;
(line = 1);
(file = 1);
(line = 2);
(file = 1);
}
Original comment by kosmo...@gmail.com
on 18 Jul 2011 at 9:08
Alok: do you know if this is a problem in the new preprocessor?
Original comment by dan...@transgaming.com
on 26 Oct 2012 at 7:39
Should be fixed in the new preprocessor.
Original comment by alokp@chromium.org
on 26 Oct 2012 at 7:42
Closing as fixed then.
Original comment by dan...@transgaming.com
on 26 Oct 2012 at 7:47
Original issue reported on code.google.com by
kosmo...@gmail.com
on 18 Jul 2011 at 8:57