#undef YY_INPUT
#define YY_INPUT(buf,result,max) \
result = (*buf = *arith_buf++) ? 1 : YY_NULL;
+#define YY_NO_INPUT
#define YY_NO_UNPUT
%}
#ifdef FLEX_SCANNER
#define YY_NO_UNPUT
+#define YY_NO_INPUT
static YY_BUFFER_STATE in_buffer;
#else
static char *in_buffer;
#include "y.tab.h"
+#define YY_NO_INPUT
#define YY_NO_UNPUT
extern int line;
extern int yylex(void);
#include <unistd.h>
#include <errno.h>
+#define YY_NO_INPUT
+
#ifndef __NetBSD__
#include "y.tab.h"
#else
#include <string.h>
#include "aliases_parse.h"
+#define YY_NO_INPUT
+
int yylex(void);
%}
#include "pathnames.h"
#include "y.tab.h"
+#define YY_NO_INPUT
+
int lineno;
bool interactive;
#include "common.h"
#include "y.tab.h"
+#define YY_NO_INPUT
+
int line_no = 1, save_no, fromsubs;
static u_char buffer[BUFSIZE], *buf_ptr;
FILE *map_fp;
%-
+#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput()
#else
return c;
}
+%-
+#endif /* ifndef YY_NO_INPUT */
+%*
%-
#include "y.tab.h"
#include "config.h"
+#define YY_NO_INPUT
#define YY_NO_UNPUT
/*
#include "y.tab.h"
int lineno = 1;
+#define YY_NO_INPUT
#define YY_NO_UNPUT
int yylex(void);
*/
%{
+#define YY_NO_INPUT
#define YY_NO_UNPUT
#include <sys/param.h>
#define PREPROC DECHO CMDARG
+#define YY_NO_INPUT
+
int lineno = 1;
char cmdarg[8192]; /* XXX: BUFSIZ is the better ? */