Re: [Mesa-dev] [PATCH] glcpp: Sync line number for macro

2018-06-05 Thread Timothy Arceri
There aren't to many people familiar with this part of the compiler. CCing Ian and Ken in case they missed this patch. On 29/05/18 04:21, zhaowei yuan wrote: Line number of a predefined macro should be set as where it is referenced rather than declared Signed-off-by: zhaowei yuan Bugzilla: h

[Mesa-dev] [PATCH] glcpp: Sync line number for macro

2018-05-28 Thread zhaowei yuan
Line number of a predefined macro should be set as where it is referenced rather than declared Signed-off-by: zhaowei yuan Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106590 --- src/compiler/glsl/glcpp/glcpp-lex.l | 1 + src/compiler/glsl/glcpp/glcpp-parse.y | 55 ++