Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1546)

Unified Diff: gcc/gcc/gengtype-lex.l

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/gengtype.c ('k') | gcc/gcc/gengtype-parse.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
-}
%%
« no previous file with comments | « gcc/gcc/gengtype.c ('k') | gcc/gcc/gengtype-parse.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698