glsl: define YY_NO_INPUT to prevent unused symbol warnings
authorMatt Turner <mattst88@gmail.com>
Mon, 28 Aug 2017 18:11:17 +0000 (11:11 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 29 Aug 2017 22:20:57 +0000 (15:20 -0700)
commit8b5b6a8abf98281371a0130367ccf9a643c568c8
treef6c665257d0972ddbbe08fa212baadb2152c86d1
parent37f664a066f28207bbf6d68904222919ad962c1e
glsl: define YY_NO_INPUT to prevent unused symbol warnings

Otherwise clang warns:

glsl/glsl_lexer.cpp:3507:16: warning: function 'yyinput' is not needed
and will not be emitted [-Wunneeded-internal-declaration]
    static int yyinput (yyscan_t yyscanner)
               ^

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/compiler/glsl/glsl_lexer.ll