30
32
# flex assigns a pointer to an int in one place without a cast, resulting in
31
33
# a warning on Win64. Add the cast. Also define some symbols as static.
34
36
s/\(int offset = \)\((yy_c_buf_p) - (yytext_ptr)\);/\1(int)(\2);/;
35
37
s/\(void yy\(restart\|_\(delete\|flush\)_buffer\)\)/static \1/;
36
38
s/\(void yy_switch_to_buffer\)/__attribute__((unused)) static \1/;