acl-scanner.l, address_scan.l: don't define unused yyinput() function
This commit is contained in:
parent
d95a05dade
commit
b7b6bbb100
@ -19,6 +19,7 @@
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
#define YY_NO_INPUT
|
||||
#include "acl-parser.h"
|
||||
%}
|
||||
|
||||
|
||||
@ -30,6 +30,7 @@ extern int yylval;
|
||||
char * rfc822_address_buffer;
|
||||
int rfc822_address_buffer_pos;
|
||||
|
||||
#define YY_NO_INPUT
|
||||
#define YY_INPUT(buf,result,max_size) { \
|
||||
buf[0] = rfc822_address_buffer[rfc822_address_buffer_pos++]; \
|
||||
result = ((buf[0] != '\0') ? 1 : YY_NULL); \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user