ARB prog parser: Fix a couple issues with previous merge from mesa_7_6_branch
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 2 Nov 2009 20:44:14 +0000 (12:44 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 2 Nov 2009 20:44:14 +0000 (12:44 -0800)
commit731810f8546174e45c717b0a9aa289a26593dfa0
treeb2bdde3974cdd44b5865b172dc16c1c48e1cf01b
parent213ec8251cb3e859b41306eae4092d89592c33db
ARB prog parser: Fix a couple issues with previous merge from mesa_7_6_branch

Since the addition of support for Nvidia condition codes, the lexer internally
uses handle_ident to select between returning IDENTIFIER and USED_IDENTIFIER.
Also, use return_string instead of strdup.

Fixes bug #24809.
src/mesa/shader/lex.yy.c
src/mesa/shader/program_lexer.l