diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-06-08 18:23:08 +0200 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2020-06-08 18:23:08 +0200 |
commit | 98fb85957e377b637e555ad369179c22fff24582 (patch) | |
tree | 5d9bfbe8825e5a1ab57212e4994ded3b4c9a6114 | |
parent | b4efd7ad200a041ca3551cfa7e5d76f9cf521702 (diff) |
scripts/dtc: Remove duplicate definitions of yylloc
With GCC 10 there is an error during compiling of our downstream
branch. Removing multiple yylloc definitions help.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r-- | scripts/dtc/dtc-lexer.lex.c_shipped | 1 | ||||
-rw-r--r-- | scripts/dtc/dtc-parser.tab.c_shipped | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/scripts/dtc/dtc-lexer.lex.c_shipped b/scripts/dtc/dtc-lexer.lex.c_shipped index 011bb9632f..79952cd3ca 100644 --- a/scripts/dtc/dtc-lexer.lex.c_shipped +++ b/scripts/dtc/dtc-lexer.lex.c_shipped @@ -631,7 +631,6 @@ char *yytext; #include "srcpos.h" #include "dtc-parser.tab.h" -YYLTYPE yylloc; extern bool treesource_error; /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ diff --git a/scripts/dtc/dtc-parser.tab.c_shipped b/scripts/dtc/dtc-parser.tab.c_shipped index aea514fa69..78201acd5d 100644 --- a/scripts/dtc/dtc-parser.tab.c_shipped +++ b/scripts/dtc/dtc-parser.tab.c_shipped @@ -190,7 +190,6 @@ struct YYLTYPE extern YYSTYPE yylval; -extern YYLTYPE yylloc; int yyparse (void); #endif /* !YY_YY_DTC_PARSER_TAB_H_INCLUDED */ |