diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-16 19:08:12 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-07-30 16:31:02 -0400 |
commit | 11ddad396086f8d1dfcb0056dc9d65d228f755c1 (patch) | |
tree | 6d2ebc9fab7ca8aa1a9eb4245c323df2515756e1 /scripts/genksyms | |
parent | be2be1d59035a28debb22555f103e676a8f74186 (diff) |
kbuild: scripts/genksyms/lex.l: add %option noinput
gcc 4.3 correctly determines that input() is unused and gives the
following warning:
<-- snip -->
...
HOSTCC scripts/genksyms/lex.o
scripts/genksyms/lex.c:1487: warning: ‘input’ defined but not used
...
<-- snip -->
Fix it by adding %option noinput to scripts/genksyms/lex.l and
regeneration of scripts/genksyms/lex.c_shipped.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/genksyms')
-rw-r--r-- | scripts/genksyms/lex.c_shipped | 133 | ||||
-rw-r--r-- | scripts/genksyms/lex.l | 2 |
2 files changed, 88 insertions, 47 deletions
diff --git a/scripts/genksyms/lex.c_shipped b/scripts/genksyms/lex.c_shipped index 2a176988d468..2ac23bcca5b5 100644 --- a/scripts/genksyms/lex.c_shipped +++ b/scripts/genksyms/lex.c_shipped | |||
@@ -6,10 +6,19 @@ | |||
6 | 6 | ||
7 | /* A lexical scanner generated by flex */ | 7 | /* A lexical scanner generated by flex */ |
8 | 8 | ||
9 | /* %not-for-header */ | ||
10 | |||
11 | /* %if-c-only */ | ||
12 | /* %if-not-reentrant */ | ||
13 | |||
14 | /* %endif */ | ||
15 | /* %endif */ | ||
16 | /* %ok-for-header */ | ||
17 | |||
9 | #define FLEX_SCANNER | 18 | #define FLEX_SCANNER |
10 | #define YY_FLEX_MAJOR_VERSION 2 | 19 | #define YY_FLEX_MAJOR_VERSION 2 |
11 | #define YY_FLEX_MINOR_VERSION 5 | 20 | #define YY_FLEX_MINOR_VERSION 5 |
12 | #define YY_FLEX_SUBMINOR_VERSION 33 | 21 | #define YY_FLEX_SUBMINOR_VERSION 35 |
13 | #if YY_FLEX_SUBMINOR_VERSION > 0 | 22 | #if YY_FLEX_SUBMINOR_VERSION > 0 |
14 | #define FLEX_BETA | 23 | #define FLEX_BETA |
15 | #endif | 24 | #endif |
@@ -47,7 +56,7 @@ | |||
47 | 56 | ||
48 | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ | 57 | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ |
49 | 58 | ||
50 | #if __STDC_VERSION__ >= 199901L | 59 | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L |
51 | 60 | ||
52 | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | 61 | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, |
53 | * if you want the limit (max/min) macros for int types. | 62 | * if you want the limit (max/min) macros for int types. |
@@ -70,7 +79,6 @@ typedef int flex_int32_t; | |||
70 | typedef unsigned char flex_uint8_t; | 79 | typedef unsigned char flex_uint8_t; |
71 | typedef unsigned short int flex_uint16_t; | 80 | typedef unsigned short int flex_uint16_t; |
72 | typedef unsigned int flex_uint32_t; | 81 | typedef unsigned int flex_uint32_t; |
73 | #endif /* ! C99 */ | ||
74 | 82 | ||
75 | /* Limits of integral types. */ | 83 | /* Limits of integral types. */ |
76 | #ifndef INT8_MIN | 84 | #ifndef INT8_MIN |
@@ -101,6 +109,8 @@ typedef unsigned int flex_uint32_t; | |||
101 | #define UINT32_MAX (4294967295U) | 109 | #define UINT32_MAX (4294967295U) |
102 | #endif | 110 | #endif |
103 | 111 | ||
112 | #endif /* ! C99 */ | ||
113 | |||
104 | #endif /* ! FLEXINT_H */ | 114 | #endif /* ! FLEXINT_H */ |
105 | 115 | ||
106 | /* %endif */ | 116 | /* %endif */ |
@@ -115,11 +125,12 @@ typedef unsigned int flex_uint32_t; | |||
115 | 125 | ||
116 | #else /* ! __cplusplus */ | 126 | #else /* ! __cplusplus */ |
117 | 127 | ||
118 | #if __STDC__ | 128 | /* C99 requires __STDC__ to be defined as 1. */ |
129 | #if defined (__STDC__) | ||
119 | 130 | ||
120 | #define YY_USE_CONST | 131 | #define YY_USE_CONST |
121 | 132 | ||
122 | #endif /* __STDC__ */ | 133 | #endif /* defined (__STDC__) */ |
123 | #endif /* ! __cplusplus */ | 134 | #endif /* ! __cplusplus */ |
124 | 135 | ||
125 | #ifdef YY_USE_CONST | 136 | #ifdef YY_USE_CONST |
@@ -218,14 +229,9 @@ extern FILE *yyin, *yyout; | |||
218 | 229 | ||
219 | #define unput(c) yyunput( c, (yytext_ptr) ) | 230 | #define unput(c) yyunput( c, (yytext_ptr) ) |
220 | 231 | ||
221 | /* The following is because we cannot portably get our hands on size_t | ||
222 | * (without autoconf's help, which isn't available because we want | ||
223 | * flex-generated scanners to compile on their own). | ||
224 | */ | ||
225 | |||
226 | #ifndef YY_TYPEDEF_YY_SIZE_T | 232 | #ifndef YY_TYPEDEF_YY_SIZE_T |
227 | #define YY_TYPEDEF_YY_SIZE_T | 233 | #define YY_TYPEDEF_YY_SIZE_T |
228 | typedef unsigned int yy_size_t; | 234 | typedef size_t yy_size_t; |
229 | #endif | 235 | #endif |
230 | 236 | ||
231 | #ifndef YY_STRUCT_YY_BUFFER_STATE | 237 | #ifndef YY_STRUCT_YY_BUFFER_STATE |
@@ -401,7 +407,7 @@ void yyfree (void * ); | |||
401 | /* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */ | 407 | /* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */ |
402 | /* Begin user sect3 */ | 408 | /* Begin user sect3 */ |
403 | 409 | ||
404 | #define yywrap() 1 | 410 | #define yywrap(n) 1 |
405 | #define YY_SKIP_YYWRAP | 411 | #define YY_SKIP_YYWRAP |
406 | 412 | ||
407 | #define FLEX_DEBUG | 413 | #define FLEX_DEBUG |
@@ -613,8 +619,8 @@ int yy_flex_debug = 1; | |||
613 | 619 | ||
614 | static yyconst flex_int16_t yy_rule_linenum[13] = | 620 | static yyconst flex_int16_t yy_rule_linenum[13] = |
615 | { 0, | 621 | { 0, |
616 | 69, 70, 71, 74, 77, 78, 79, 85, 86, 87, | 622 | 71, 72, 73, 76, 79, 80, 81, 87, 88, 89, |
617 | 89, 92 | 623 | 91, 94 |
618 | } ; | 624 | } ; |
619 | 625 | ||
620 | /* The intent behind this definition is that it'll catch | 626 | /* The intent behind this definition is that it'll catch |
@@ -665,7 +671,8 @@ char *yytext; | |||
665 | quite so pedantic. */ | 671 | quite so pedantic. */ |
666 | 672 | ||
667 | /* We don't do multiple input files. */ | 673 | /* We don't do multiple input files. */ |
668 | #line 669 "scripts/genksyms/lex.c" | 674 | #define YY_NO_INPUT 1 |
675 | #line 676 "scripts/genksyms/lex.c" | ||
669 | 676 | ||
670 | #define INITIAL 0 | 677 | #define INITIAL 0 |
671 | #define V2_TOKENS 1 | 678 | #define V2_TOKENS 1 |
@@ -695,9 +702,39 @@ static int yy_init_globals (void ); | |||
695 | /* %endif */ | 702 | /* %endif */ |
696 | /* %if-reentrant */ | 703 | /* %if-reentrant */ |
697 | /* %endif */ | 704 | /* %endif */ |
705 | /* %endif End reentrant structures and macros. */ | ||
706 | |||
707 | /* Accessor methods to globals. | ||
708 | These are made visible to non-reentrant scanners for convenience. */ | ||
709 | |||
710 | int yylex_destroy (void ); | ||
711 | |||
712 | int yyget_debug (void ); | ||
713 | |||
714 | void yyset_debug (int debug_flag ); | ||
715 | |||
716 | YY_EXTRA_TYPE yyget_extra (void ); | ||
717 | |||
718 | void yyset_extra (YY_EXTRA_TYPE user_defined ); | ||
719 | |||
720 | FILE *yyget_in (void ); | ||
721 | |||
722 | void yyset_in (FILE * in_str ); | ||
723 | |||
724 | FILE *yyget_out (void ); | ||
725 | |||
726 | void yyset_out (FILE * out_str ); | ||
727 | |||
728 | int yyget_leng (void ); | ||
729 | |||
730 | char *yyget_text (void ); | ||
731 | |||
732 | int yyget_lineno (void ); | ||
733 | |||
734 | void yyset_lineno (int line_number ); | ||
735 | |||
698 | /* %if-bison-bridge */ | 736 | /* %if-bison-bridge */ |
699 | /* %endif */ | 737 | /* %endif */ |
700 | /* %endif End reentrant structures and macros. */ | ||
701 | 738 | ||
702 | /* Macros after this point can all be overridden by user definitions in | 739 | /* Macros after this point can all be overridden by user definitions in |
703 | * section 1. | 740 | * section 1. |
@@ -756,7 +793,7 @@ static int input (void ); | |||
756 | /* This used to be an fputs(), but since the string might contain NUL's, | 793 | /* This used to be an fputs(), but since the string might contain NUL's, |
757 | * we now use fwrite(). | 794 | * we now use fwrite(). |
758 | */ | 795 | */ |
759 | #define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) | 796 | #define ECHO fwrite( yytext, yyleng, 1, yyout ) |
760 | /* %endif */ | 797 | /* %endif */ |
761 | /* %if-c++-only C++ definition */ | 798 | /* %if-c++-only C++ definition */ |
762 | /* %endif */ | 799 | /* %endif */ |
@@ -881,12 +918,12 @@ YY_DECL | |||
881 | register int yy_act; | 918 | register int yy_act; |
882 | 919 | ||
883 | /* %% [7.0] user's declarations go here */ | 920 | /* %% [7.0] user's declarations go here */ |
884 | #line 65 "scripts/genksyms/lex.l" | 921 | #line 67 "scripts/genksyms/lex.l" |
885 | 922 | ||
886 | 923 | ||
887 | 924 | ||
888 | /* Keep track of our location in the original source files. */ | 925 | /* Keep track of our location in the original source files. */ |
889 | #line 890 "scripts/genksyms/lex.c" | 926 | #line 927 "scripts/genksyms/lex.c" |
890 | 927 | ||
891 | if ( !(yy_init) ) | 928 | if ( !(yy_init) ) |
892 | { | 929 | { |
@@ -1004,42 +1041,42 @@ do_action: /* This label is used only to access EOF actions. */ | |||
1004 | case 1: | 1041 | case 1: |
1005 | /* rule 1 can match eol */ | 1042 | /* rule 1 can match eol */ |
1006 | YY_RULE_SETUP | 1043 | YY_RULE_SETUP |
1007 | #line 69 "scripts/genksyms/lex.l" | 1044 | #line 71 "scripts/genksyms/lex.l" |
1008 | return FILENAME; | 1045 | return FILENAME; |
1009 | YY_BREAK | 1046 | YY_BREAK |
1010 | case 2: | 1047 | case 2: |
1011 | /* rule 2 can match eol */ | 1048 | /* rule 2 can match eol */ |
1012 | YY_RULE_SETUP | 1049 | YY_RULE_SETUP |
1013 | #line 70 "scripts/genksyms/lex.l" | 1050 | #line 72 "scripts/genksyms/lex.l" |
1014 | cur_line++; | 1051 | cur_line++; |
1015 | YY_BREAK | 1052 | YY_BREAK |
1016 | case 3: | 1053 | case 3: |
1017 | /* rule 3 can match eol */ | 1054 | /* rule 3 can match eol */ |
1018 | YY_RULE_SETUP | 1055 | YY_RULE_SETUP |
1019 | #line 71 "scripts/genksyms/lex.l" | 1056 | #line 73 "scripts/genksyms/lex.l" |
1020 | cur_line++; | 1057 | cur_line++; |
1021 | YY_BREAK | 1058 | YY_BREAK |
1022 | /* Ignore all other whitespace. */ | 1059 | /* Ignore all other whitespace. */ |
1023 | case 4: | 1060 | case 4: |
1024 | YY_RULE_SETUP | 1061 | YY_RULE_SETUP |
1025 | #line 74 "scripts/genksyms/lex.l" | 1062 | #line 76 "scripts/genksyms/lex.l" |
1026 | ; | 1063 | ; |
1027 | YY_BREAK | 1064 | YY_BREAK |
1028 | case 5: | 1065 | case 5: |
1029 | /* rule 5 can match eol */ | 1066 | /* rule 5 can match eol */ |
1030 | YY_RULE_SETUP | 1067 | YY_RULE_SETUP |
1031 | #line 77 "scripts/genksyms/lex.l" | 1068 | #line 79 "scripts/genksyms/lex.l" |
1032 | return STRING; | 1069 | return STRING; |
1033 | YY_BREAK | 1070 | YY_BREAK |
1034 | case 6: | 1071 | case 6: |
1035 | /* rule 6 can match eol */ | 1072 | /* rule 6 can match eol */ |
1036 | YY_RULE_SETUP | 1073 | YY_RULE_SETUP |
1037 | #line 78 "scripts/genksyms/lex.l" | 1074 | #line 80 "scripts/genksyms/lex.l" |
1038 | return CHAR; | 1075 | return CHAR; |
1039 | YY_BREAK | 1076 | YY_BREAK |
1040 | case 7: | 1077 | case 7: |
1041 | YY_RULE_SETUP | 1078 | YY_RULE_SETUP |
1042 | #line 79 "scripts/genksyms/lex.l" | 1079 | #line 81 "scripts/genksyms/lex.l" |
1043 | return IDENT; | 1080 | return IDENT; |
1044 | YY_BREAK | 1081 | YY_BREAK |
1045 | /* The Pedant requires that the other C multi-character tokens be | 1082 | /* The Pedant requires that the other C multi-character tokens be |
@@ -1048,36 +1085,36 @@ return IDENT; | |||
1048 | around them properly. */ | 1085 | around them properly. */ |
1049 | case 8: | 1086 | case 8: |
1050 | YY_RULE_SETUP | 1087 | YY_RULE_SETUP |
1051 | #line 85 "scripts/genksyms/lex.l" | 1088 | #line 87 "scripts/genksyms/lex.l" |
1052 | return OTHER; | 1089 | return OTHER; |
1053 | YY_BREAK | 1090 | YY_BREAK |
1054 | case 9: | 1091 | case 9: |
1055 | YY_RULE_SETUP | 1092 | YY_RULE_SETUP |
1056 | #line 86 "scripts/genksyms/lex.l" | 1093 | #line 88 "scripts/genksyms/lex.l" |
1057 | return INT; | 1094 | return INT; |
1058 | YY_BREAK | 1095 | YY_BREAK |
1059 | case 10: | 1096 | case 10: |
1060 | YY_RULE_SETUP | 1097 | YY_RULE_SETUP |
1061 | #line 87 "scripts/genksyms/lex.l" | 1098 | #line 89 "scripts/genksyms/lex.l" |
1062 | return REAL; | 1099 | return REAL; |
1063 | YY_BREAK | 1100 | YY_BREAK |
1064 | case 11: | 1101 | case 11: |
1065 | YY_RULE_SETUP | 1102 | YY_RULE_SETUP |
1066 | #line 89 "scripts/genksyms/lex.l" | 1103 | #line 91 "scripts/genksyms/lex.l" |
1067 | return DOTS; | 1104 | return DOTS; |
1068 | YY_BREAK | 1105 | YY_BREAK |
1069 | /* All other tokens are single characters. */ | 1106 | /* All other tokens are single characters. */ |
1070 | case 12: | 1107 | case 12: |
1071 | YY_RULE_SETUP | 1108 | YY_RULE_SETUP |
1072 | #line 92 "scripts/genksyms/lex.l" | 1109 | #line 94 "scripts/genksyms/lex.l" |
1073 | return yytext[0]; | 1110 | return yytext[0]; |
1074 | YY_BREAK | 1111 | YY_BREAK |
1075 | case 13: | 1112 | case 13: |
1076 | YY_RULE_SETUP | 1113 | YY_RULE_SETUP |
1077 | #line 95 "scripts/genksyms/lex.l" | 1114 | #line 97 "scripts/genksyms/lex.l" |
1078 | ECHO; | 1115 | ECHO; |
1079 | YY_BREAK | 1116 | YY_BREAK |
1080 | #line 1081 "scripts/genksyms/lex.c" | 1117 | #line 1118 "scripts/genksyms/lex.c" |
1081 | case YY_STATE_EOF(INITIAL): | 1118 | case YY_STATE_EOF(INITIAL): |
1082 | case YY_STATE_EOF(V2_TOKENS): | 1119 | case YY_STATE_EOF(V2_TOKENS): |
1083 | yyterminate(); | 1120 | yyterminate(); |
@@ -1346,6 +1383,14 @@ static int yy_get_next_buffer (void) | |||
1346 | else | 1383 | else |
1347 | ret_val = EOB_ACT_CONTINUE_SCAN; | 1384 | ret_val = EOB_ACT_CONTINUE_SCAN; |
1348 | 1385 | ||
1386 | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | ||
1387 | /* Extend the array by 50%, plus the number we really need. */ | ||
1388 | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | ||
1389 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); | ||
1390 | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | ||
1391 | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); | ||
1392 | } | ||
1393 | |||
1349 | (yy_n_chars) += number_to_move; | 1394 | (yy_n_chars) += number_to_move; |
1350 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; | 1395 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; |
1351 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | 1396 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; |
@@ -1851,7 +1896,9 @@ static void yyensure_buffer_stack (void) | |||
1851 | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc | 1896 | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc |
1852 | (num_to_alloc * sizeof(struct yy_buffer_state*) | 1897 | (num_to_alloc * sizeof(struct yy_buffer_state*) |
1853 | ); | 1898 | ); |
1854 | 1899 | if ( ! (yy_buffer_stack) ) | |
1900 | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | ||
1901 | |||
1855 | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); | 1902 | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); |
1856 | 1903 | ||
1857 | (yy_buffer_stack_max) = num_to_alloc; | 1904 | (yy_buffer_stack_max) = num_to_alloc; |
@@ -1869,6 +1916,8 @@ static void yyensure_buffer_stack (void) | |||
1869 | ((yy_buffer_stack), | 1916 | ((yy_buffer_stack), |
1870 | num_to_alloc * sizeof(struct yy_buffer_state*) | 1917 | num_to_alloc * sizeof(struct yy_buffer_state*) |
1871 | ); | 1918 | ); |
1919 | if ( ! (yy_buffer_stack) ) | ||
1920 | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | ||
1872 | 1921 | ||
1873 | /* zero only the new slots.*/ | 1922 | /* zero only the new slots.*/ |
1874 | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); | 1923 | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); |
@@ -2092,7 +2141,7 @@ void yyset_debug (int bdebug ) | |||
2092 | /* %if-reentrant */ | 2141 | /* %if-reentrant */ |
2093 | /* %if-bison-bridge */ | 2142 | /* %if-bison-bridge */ |
2094 | /* %endif */ | 2143 | /* %endif */ |
2095 | /* %endif */ | 2144 | /* %endif if-c-only */ |
2096 | 2145 | ||
2097 | /* %if-c-only */ | 2146 | /* %if-c-only */ |
2098 | static int yy_init_globals (void) | 2147 | static int yy_init_globals (void) |
@@ -2124,13 +2173,9 @@ static int yy_init_globals (void) | |||
2124 | } | 2173 | } |
2125 | /* %endif */ | 2174 | /* %endif */ |
2126 | 2175 | ||
2127 | /* %if-c-or-c++ */ | 2176 | /* %if-c-only SNIP! this currently causes conflicts with the c++ scanner */ |
2128 | /* %if-c-only */ | ||
2129 | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ | 2177 | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ |
2130 | int yylex_destroy (void) | 2178 | int yylex_destroy (void) |
2131 | /* %endif */ | ||
2132 | /* %if-c++-only */ | ||
2133 | /* %endif */ | ||
2134 | { | 2179 | { |
2135 | 2180 | ||
2136 | /* Pop the buffer stack, destroying each element. */ | 2181 | /* Pop the buffer stack, destroying each element. */ |
@@ -2144,11 +2189,6 @@ int yylex_destroy (void) | |||
2144 | yyfree((yy_buffer_stack) ); | 2189 | yyfree((yy_buffer_stack) ); |
2145 | (yy_buffer_stack) = NULL; | 2190 | (yy_buffer_stack) = NULL; |
2146 | 2191 | ||
2147 | /* %if-c++-only */ | ||
2148 | /* %endif */ | ||
2149 | |||
2150 | /* %if-c-only */ | ||
2151 | |||
2152 | /* Reset the globals. This is important in a non-reentrant scanner so the next time | 2192 | /* Reset the globals. This is important in a non-reentrant scanner so the next time |
2153 | * yylex() is called, initialization will occur. */ | 2193 | * yylex() is called, initialization will occur. */ |
2154 | yy_init_globals( ); | 2194 | yy_init_globals( ); |
@@ -2156,7 +2196,6 @@ int yylex_destroy (void) | |||
2156 | /* %if-reentrant */ | 2196 | /* %if-reentrant */ |
2157 | /* %endif */ | 2197 | /* %endif */ |
2158 | return 0; | 2198 | return 0; |
2159 | /* %endif */ | ||
2160 | } | 2199 | } |
2161 | /* %endif */ | 2200 | /* %endif */ |
2162 | 2201 | ||
@@ -2213,7 +2252,7 @@ void yyfree (void * ptr ) | |||
2213 | 2252 | ||
2214 | /* %ok-for-header */ | 2253 | /* %ok-for-header */ |
2215 | 2254 | ||
2216 | #line 95 "scripts/genksyms/lex.l" | 2255 | #line 97 "scripts/genksyms/lex.l" |
2217 | 2256 | ||
2218 | 2257 | ||
2219 | 2258 | ||
diff --git a/scripts/genksyms/lex.l b/scripts/genksyms/lex.l index 5e544a06678b..fe50ff9dacd0 100644 --- a/scripts/genksyms/lex.l +++ b/scripts/genksyms/lex.l | |||
@@ -62,6 +62,8 @@ MC_TOKEN ([~%^&*+=|<>/-]=)|(&&)|("||")|(->)|(<<)|(>>) | |||
62 | /* We don't do multiple input files. */ | 62 | /* We don't do multiple input files. */ |
63 | %option noyywrap | 63 | %option noyywrap |
64 | 64 | ||
65 | %option noinput | ||
66 | |||
65 | %% | 67 | %% |
66 | 68 | ||
67 | 69 | ||