cbfstool: update fmd_scanner.c_shipped

We updated the source files, but not the precompiled results.

Change-Id: I49634409d01c8d7cf841944e01d36571ae66c0ac
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/10296
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Patrick Georgi 2015-05-25 22:53:19 +02:00 committed by Patrick Georgi
parent d07ff9eb27
commit 1f8e4cbd53
1 changed files with 6 additions and 6 deletions

View File

@ -496,8 +496,8 @@ char *yytext;
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
int parse_integer(char *input, int base); int parse_integer(char *src, int base);
int copy_string(const char *input); int copy_string(const char *src);
#line 502 "<stdout>" #line 502 "<stdout>"
#define INITIAL 0 #define INITIAL 0
@ -1817,10 +1817,10 @@ void yyfree (void * ptr )
int parse_integer(char *input, int base) int parse_integer(char *src, int base)
{ {
char *multiplier = NULL; char *multiplier = NULL;
unsigned val = strtoul(input, &multiplier, base); unsigned val = strtoul(src, &multiplier, base);
if (*multiplier) { if (*multiplier) {
switch(*multiplier) { switch(*multiplier) {
@ -1844,9 +1844,9 @@ int parse_integer(char *input, int base)
return INTEGER; return INTEGER;
} }
int copy_string(const char *input) int copy_string(const char *src)
{ {
yylval.strval = strdup(input); yylval.strval = strdup(src);
return STRING; return STRING;
} }