projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0625aad
)
Remove redundant YYLOC global declaration
generic
author
Peter Robinson
<pbrobinson@gmail.com>
Thu, 30 Jan 2020 09:37:15 +0000
(09:37 +0000)
committer
Rafał Miłecki
<rafal@milecki.pl>
Thu, 8 Dec 2022 10:36:05 +0000
(11:36 +0100)
Same as the upstream fix for building dtc with gcc 10.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
(cherry picked from commit
018921ee79d3f30893614b3b2b63b588d8544f73
)
scripts/dtc/dtc-lexer.l
patch
|
blob
|
history
diff --git
a/scripts/dtc/dtc-lexer.l
b/scripts/dtc/dtc-lexer.l
index fd825ebba69cb25e160e057f53bef994970093fc..24af549977584c33b302a470fe90fd9b42e6539d 100644
(file)
--- a/
scripts/dtc/dtc-lexer.l
+++ b/
scripts/dtc/dtc-lexer.l
@@
-38,7
+38,6
@@
LINECOMMENT "//".*\n
#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() */