History log of /external/mesa3d/src/mesa/program/program_lexer.l
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a834381506d5be80251953666198fc3b9bc4b731 14-Sep-2012 Dave Airlie <airlied@redhat.com> mesa: use a prefix for the program lex

This avoids us making a global yylex symbol which will interfere will
all sorts of apps.

with libdricore which can't do symbol visibility currently we pollute
the namespace with this.

This is a candidate for 9.0 & stable branches.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit cc943c8470b38a1f13d2493f293a153f75754caa)
/external/mesa3d/src/mesa/program/program_lexer.l
b4a08a0d87908b024a3d2595073b1beb6eda161e 21-Jul-2010 Carl Worth <cworth@cworth.org> Avoid more warnings in flex-generated code.

This avoids two "function defined but not used" warnings. For the yyinput
function we define YY_NO_INPUT which tells flex to simply not generate this
function.

For unput, we add a call to this function, but inside a while(0) so
that it will quiet the warning without actually changing any
functionality.
/external/mesa3d/src/mesa/program/program_lexer.l
3c716a7ec2cabfc18a2506f9db655406f8c64fb0 21-Jul-2010 Carl Worth <cworth@cworth.org> Avoid warnings in flex-generated code.

Add declarations for two functions generated in the flex ouput. It
would be nicer if flex simply declared these generated functions as
static, but for now we can at least avoid the warning this way.
/external/mesa3d/src/mesa/program/program_lexer.l
ec2b92f98c2e7f161521b447cc1d9a36bce3707c 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/program/program_lexer.l