Zack Rusin pisze: > The attached patch makes the tgsi assembly parser report, in an admittedly > rather crude way, the line number at which a syntax error was detected. What > do you think about that? > >
I agree, that's a bit invasive. What about saving the starting pointer and, on error, scanning it again and counting newlines up to the current position? ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev