sql.y: fix compilation error due to multiple definitions
This commit is contained in:
4
sql.y
4
sql.y
@ -19,6 +19,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
char *filename;
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%define api.pure
|
%define api.pure
|
||||||
@ -28,7 +30,7 @@
|
|||||||
%lex-param { yyscan_t scanner }
|
%lex-param { yyscan_t scanner }
|
||||||
|
|
||||||
%code requires {
|
%code requires {
|
||||||
char *filename;
|
extern char *filename;
|
||||||
|
|
||||||
#include "yyl.h"
|
#include "yyl.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user