mesa/src
Carl Worth bf9bce5bea glsl/glcpp: Fix #pragma to not over-increment the line-number count
Previously, the #pragma directive was swallowing an entire line, (including
the final newline). At that time it was appropriate for it to increment the
line count.

More recently, our handling of #pragma changed to not include the newline. But
the code to increment yylineno stuck around. This was causing __LINE__ to be
increased by one more than desired for every #pragma.

Remove the bogus, extra increment, and add a test for this case.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2014-08-07 16:08:29 -07:00
..
egl egl: Fix OpenGL ES version checks in _eglParseContextAttribList() 2014-08-04 18:31:26 -07:00
gallium draw: fix clipvertex trouble if position comes from gs 2014-08-06 18:01:33 +02:00
gbm gbm: Log at least one dlerror() when we fail to open any drivers. 2014-07-30 22:31:30 -07:00
getopt
glsl glsl/glcpp: Fix #pragma to not over-increment the line-number count 2014-08-07 16:08:29 -07:00
glx glx/dri3: add GPU offloading support. 2014-07-01 13:07:52 +10:00
gtest gtest: Update to 1.7.0. 2014-04-14 00:06:53 -07:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader util: Gather some common macros 2014-08-04 11:07:10 -07:00
mapi glapi: Do not use backtrace on DragonFly. 2014-07-30 21:48:09 -07:00
mesa i965/vec4: Remove unused emit_bool_comparison method. 2014-08-07 16:00:24 -07:00
util util/tests/hash_table: Link against libmesautil instead of libmesa 2014-08-05 10:52:48 -07:00
Makefile.am src/Makefile.am: Move gtest before util 2014-08-04 13:21:08 -07:00
SConscript util: Move ralloc to a new src/util directory. 2014-08-04 11:06:58 -07:00