File tree Expand file tree Collapse file tree 7 files changed +9
-2
lines changed Expand file tree Collapse file tree 7 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ void cube_scanner_finish(void);
32
32
%option noinput
33
33
%option nounput
34
34
%option noyywrap
35
+ %option warn
35
36
%option prefix="cube_yy"
36
37
37
38
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ void seg_scanner_finish(void);
30
30
%option noinput
31
31
%option nounput
32
32
%option noyywrap
33
+ %option warn
33
34
%option prefix="seg_yy"
34
35
35
36
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ static int yyline = 1; /* line number for error reporting */
55
55
%option noinput
56
56
%option nounput
57
57
%option noyywrap
58
+ %option warn
58
59
%option prefix="boot_yy"
59
60
60
61
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ static char *GUC_scanstr(const char *s);
51
51
%option noinput
52
52
%option nounput
53
53
%option noyywrap
54
+ %option warn
54
55
%option prefix=" GUC_yy"
55
56
56
57
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ static void escape_variable(bool as_ident);
132
132
%option noinput
133
133
%option nounput
134
134
%option noyywrap
135
+ %option warn
135
136
136
137
/*
137
138
* All of the following definitions and rules should exactly match
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ static struct _if_value
84
84
%option nodefault
85
85
%option noinput
86
86
%option noyywrap
87
+ %option warn
87
88
88
89
%option yylineno
89
90
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ static int yyline = 1; /* line number for error reporting */
15
15
static char litbuf[1024 ];
16
16
static int litbufpos = 0 ;
17
17
18
- static void addlitchar (const char c);
18
+ static void addlitchar (char c);
19
19
20
20
%}
21
21
@@ -25,6 +25,7 @@ static void addlitchar(const char c);
25
25
%option noinput
26
26
%option nounput
27
27
%option noyywrap
28
+ %option warn
28
29
%option prefix="spec_yy"
29
30
30
31
@@ -93,7 +94,7 @@ teardown { return(TEARDOWN); }
93
94
%%
94
95
95
96
static void
96
- addlitchar (const char c)
97
+ addlitchar (char c)
97
98
{
98
99
if (litbufpos >= sizeof (litbuf) - 1 )
99
100
{
You can’t perform that action at this time.
0 commit comments