Skip to contentSkip to conversation

Remove redundant YYLOC global declaration

PATCH New Peter Robinson 2 participants 2 messages Jan 30, 2020 – Jan 31, 2020 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove redundant YYLOC global declaration

Same as the upstream fix for building dtc with gcc 10.

---

The upstream patch is accepted, thread here:
https://www.spinics.net/lists/devicetree-compiler/msg02959.html

 scripts/dtc/dtc-lexer.l | 1 -
 1 file changed, 1 deletion(-)
scripts/dtc/dtc-lexer.l +0 -1
index fd825ebba6..24af549977 100644
@@ -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() */
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 Remove redundant YYLOC global declaration

Quoted 3 lines · Peter Robinson

Same as the upstream fix for building dtc with gcc 10.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200130/a5b18e18/attachment.sig>