summaryrefslogtreecommitdiff
path: root/util/cbfstool/fmd_scanner.h_shipped
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-06-28 20:45:34 +0200
committerPatrick Georgi <pgeorgi@google.com>2016-07-04 12:17:51 +0200
commit2b80734811ee056f0447bab359ec5961e90101b7 (patch)
tree5e858dca3a03f8b6b54c9486bcd4e69f1de7da1e /util/cbfstool/fmd_scanner.h_shipped
parente46dbcc53a10491f53a0c80c4e3c59404982b42d (diff)
downloadcoreboot-2b80734811ee056f0447bab359ec5961e90101b7.tar.xz
fmaptool: Accept hex values with uppercase letters
Due to a newer flex version with which the scanner was recreated, we also have to make the compiler less strict on the generated code. Change-Id: I3758c0dcb2f5661d072b54a30d6a4ebe094854e6 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/15482 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util/cbfstool/fmd_scanner.h_shipped')
-rw-r--r--util/cbfstool/fmd_scanner.h_shipped23
1 files changed, 13 insertions, 10 deletions
diff --git a/util/cbfstool/fmd_scanner.h_shipped b/util/cbfstool/fmd_scanner.h_shipped
index 595b530c9d..0ac158d143 100644
--- a/util/cbfstool/fmd_scanner.h_shipped
+++ b/util/cbfstool/fmd_scanner.h_shipped
@@ -2,7 +2,7 @@
#define yyHEADER_H 1
#define yyIN_HEADER 1
-#line 6 "fmd_scanner.h"
+#line 6 "fmd_scanner.h_shipped"
#define YY_INT_ALIGNED short int
@@ -10,8 +10,8 @@
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
-#define YY_FLEX_MINOR_VERSION 5
-#define YY_FLEX_SUBMINOR_VERSION 39
+#define YY_FLEX_MINOR_VERSION 6
+#define YY_FLEX_SUBMINOR_VERSION 0
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
@@ -155,7 +155,7 @@ struct yy_buffer_state
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
- yy_size_t yy_n_chars;
+ int yy_n_chars;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
@@ -207,12 +207,15 @@ void yyfree (void * );
/* Begin user sect3 */
-#define yywrap() 1
+#define yywrap() (/*CONSTCOND*/1)
#define YY_SKIP_YYWRAP
extern int yylineno;
extern char *yytext;
+#ifdef yytext_ptr
+#undef yytext_ptr
+#endif
#define yytext_ptr yytext
#ifdef YY_HEADER_EXPORT_START_CONDITIONS
@@ -247,11 +250,11 @@ void yyset_extra (YY_EXTRA_TYPE user_defined );
FILE *yyget_in (void );
-void yyset_in (FILE * in_str );
+void yyset_in (FILE * _in_str );
FILE *yyget_out (void );
-void yyset_out (FILE * out_str );
+void yyset_out (FILE * _out_str );
yy_size_t yyget_leng (void );
@@ -259,7 +262,7 @@ char *yyget_text (void );
int yyget_lineno (void );
-void yyset_lineno (int line_number );
+void yyset_lineno (int _line_number );
/* Macros after this point can all be overridden by user definitions in
* section 1.
@@ -325,9 +328,9 @@ extern int yylex (void);
#undef YY_DECL
#endif
-#line 44 "fmd_scanner.l"
+#line 41 "fmd_scanner.l"
-#line 332 "fmd_scanner.h"
+#line 335 "fmd_scanner.h_shipped"
#undef yyIN_HEADER
#endif /* yyHEADER_H */