OSDN Git Service

glcpp: Remove empty mid-rule action which changes test behavior.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 5 Mar 2016 02:52:47 +0000 (18:52 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 8 Mar 2016 07:02:05 +0000 (23:02 -0800)
commitea9fa5ff056846029435d2969e1de8da33a5b50d
treeae04e82cf44c4b78ab7adea3e87b6abc105dd68b
parente816c8b54a3b2a4e430e0c52eb4068480561b45e
glcpp: Remove empty mid-rule action which changes test behavior.

Apparently this causes a slight difference in the parser's token
expectations, leading to a different error message.

It seems harmless, but I wanted to be cautious and separate it out.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/glsl/glcpp/glcpp-parse.y
src/compiler/glsl/glcpp/tests/129-define-non-identifier.c.expected