[Mesa-stable] [PATCH 2/3] mesa/program: use the prefixed name of the lexer generated functions

Emil Velikov emil.l.velikov at gmail.com
Thu Oct 27 11:41:10 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Analogous to previous commit.

Cc: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/mesa/program/program_lexer.l | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mesa/program/program_lexer.l b/src/mesa/program/program_lexer.l
index dee66cb..0196635 100644
--- a/src/mesa/program/program_lexer.l
+++ b/src/mesa/program/program_lexer.l
@@ -474,12 +474,12 @@ void
 _mesa_program_lexer_ctor(void **scanner, struct asm_parser_state *state,
 			 const char *string, size_t len)
 {
-   yylex_init_extra(state, scanner);
-   yy_scan_bytes(string, len, *scanner);
+   _mesa_program_lexer_lex_init_extra(state, scanner);
+   _mesa_program_lexer__scan_bytes(string, len, *scanner);
 }
 
 void
 _mesa_program_lexer_dtor(void *scanner)
 {
-   yylex_destroy(scanner);
+   _mesa_program_lexer_lex_destroy(scanner);
 }
-- 
2.10.0



More information about the mesa-stable mailing list