OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* config/i386/i386.c (bdesc_args) [IX86_BUILTIN_CVTTPD2DQ256]: Use
[pf3gnuchains/gcc-fork.git]
/
gcc
/
gengtype-lex.l
diff --git
a/gcc/gengtype-lex.l
b/gcc/gengtype-lex.l
index
297ebf8
..
a71cce0
100644
(file)
--- a/
gcc/gengtype-lex.l
+++ b/
gcc/gengtype-lex.l
@@
-1,6
+1,6
@@
/* -*- indented-text -*- */
/* Process source files and output type information.
/* -*- indented-text -*- */
/* Process source files and output type information.
- Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008, 2009
+ Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008, 2009
, 2010
Free Software Foundation, Inc.
This file is part of GCC.
Free Software Foundation, Inc.
This file is part of GCC.
@@
-22,7
+22,11
@@
along with GCC; see the file COPYING3. If not see
%option noinput
%{
%option noinput
%{
+#ifdef GENERATOR_FILE
#include "bconfig.h"
#include "bconfig.h"
+#else
+#include "config.h"
+#endif
#include "system.h"
#define malloc xmalloc
#include "system.h"
#define malloc xmalloc
@@
-49,7
+53,7
@@
update_lineno (const char *l, size_t len)
ID [[:alpha:]_][[:alnum:]_]*
WS [[:space:]]+
HWS [ \t\r\v\f]*
ID [[:alpha:]_][[:alnum:]_]*
WS [[:space:]]+
HWS [ \t\r\v\f]*
-IWORD short|long|(un)?signed|char|int|HOST_WIDE_INT|HOST_WIDEST_INT|bool|size_t|BOOL_BITFIELD|CPPCHAR_SIGNED_T|ino_t|dev_t
+IWORD short|long|(un)?signed|char|int|HOST_WIDE_INT|HOST_WIDEST_INT|bool|size_t|BOOL_BITFIELD|CPPCHAR_SIGNED_T|ino_t|dev_t
|HARD_REG_SET
ITYPE {IWORD}({WS}{IWORD})*
EOID [^[:alnum:]_]
ITYPE {IWORD}({WS}{IWORD})*
EOID [^[:alnum:]_]
@@
-202,7
+206,7
@@
yybegin (const char *fname)
perror (fname);
exit (1);
}
perror (fname);
exit (1);
}
- lexer_line.file =
fname
;
+ lexer_line.file =
input_file_by_name (fname)
;
lexer_line.line = 1;
}
lexer_line.line = 1;
}