Remove redundant YYLOC global declaration
PATCH 1/1 Remove redundant YYLOC global declaration
Same as the upstream fix for building dtc with gcc 10.
Signed-off-by Peter Robinson <[email protected]>
---
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
@@ -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
PATCH 1/1 Remove redundant YYLOC global declaration
Quoted 3 lines · Peter Robinson
Same as the upstream fix for building dtc with gcc 10.
Signed-off-by Peter Robinson <[email protected]>
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>