diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2020-01-30 09:37:15 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-30 13:30:35 -0500 |
commit | 018921ee79d3f30893614b3b2b63b588d8544f73 (patch) | |
tree | 760a6e20566467356db07f68862f0088be0815b7 /scripts/dtc/dtc-lexer.l | |
parent | a98f914ee428e718ab70a199c10d5f8be118be23 (diff) |
Remove redundant YYLOC global declaration
Same as the upstream fix for building dtc with gcc 10.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Diffstat (limited to 'scripts/dtc/dtc-lexer.l')
-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 fd825ebba6..24af549977 100644 --- 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() */ |