Index: gcc/gcc/gengtype-lex.l |
diff --git a/gcc/gcc/gengtype-lex.l b/gcc/gcc/gengtype-lex.l |
index d9f1996ccc9e7ba801a4ada06343d4b8397cffeb..297ebf857a803761832a6da97aabc97b0e173634 100644 |
--- a/gcc/gcc/gengtype-lex.l |
+++ b/gcc/gcc/gengtype-lex.l |
@@ -19,6 +19,8 @@ You should have received a copy of the GNU General Public License |
along with GCC; see the file COPYING3. If not see |
<http://www.gnu.org/licenses/>. */ |
+%option noinput |
+ |
%{ |
#include "bconfig.h" |
#include "system.h" |
@@ -28,7 +30,6 @@ along with GCC; see the file COPYING3. If not see |
#include "gengtype.h" |
-#define YY_NO_INPUT |
#define YY_DECL int yylex (const char **yylval) |
#define yyterminate() return EOF_TOKEN |
@@ -189,9 +190,6 @@ EOID [^[:alnum:]_] |
} |
^{HWS}"#"{HWS}"define"{WS}"GTY(" /* do nothing */ |
-{WS}"GTY"{WS}?"(" { |
- error_at_line (&lexer_line, "stray GTY marker"); |
-} |
%% |