Define YY_NO_INPUT. This makes aicasm buildable by clang with Werror
turned on.
This commit is contained in:
parent
60982546cd
commit
c42a2be28f
@ -61,6 +61,7 @@
|
||||
#include "aicasm_symbol.h"
|
||||
#include "aicasm_macro_gram.h"
|
||||
|
||||
#define YY_NO_INPUT
|
||||
#define MAX_STR_CONST 4096
|
||||
static char string_buf[MAX_STR_CONST];
|
||||
static char *string_buf_ptr;
|
||||
|
@ -61,6 +61,7 @@
|
||||
#include "aicasm_symbol.h"
|
||||
#include "aicasm_gram.h"
|
||||
|
||||
#define YY_NO_INPUT
|
||||
/* This is used for macro body capture too, so err on the large size. */
|
||||
#define MAX_STR_CONST 4096
|
||||
static char string_buf[MAX_STR_CONST];
|
||||
|
Loading…
x
Reference in New Issue
Block a user