diff options
author | Lucas Stach <dev@lynxeye.de> | 2020-04-24 17:31:29 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-27 08:55:45 +0200 |
commit | 1f69e9477758309cde0a2791a0a4743c32478d6f (patch) | |
tree | 2c25a2fca51342a9a6076ce6534fbe361c282397 /scripts | |
parent | b4dbf05cae1d22df0a961e256763ed2b262ea3fb (diff) | |
download | barebox-1f69e9477758309cde0a2791a0a4743c32478d6f.tar.gz barebox-1f69e9477758309cde0a2791a0a4743c32478d6f.tar.xz |
dtc: remove redundant YYLOC global declaration
Same as the upstream fix for building dtc with gcc 10.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/dtc/dtc-lexer.l | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l index 5c6c3fd557..b3b7270300 100644 --- a/scripts/dtc/dtc-lexer.l +++ b/scripts/dtc/dtc-lexer.l @@ -23,7 +23,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() */ |