Bugfix - add missing YYLOC global declaration

This commit is contained in:
Igor Pecovnik 2021-05-12 19:53:18 +00:00
parent 1f79933197
commit e47cd5409f

View File

@ -21,6 +21,17 @@ index fd825eb..f57c9a7 100644
extern bool treesource_error;
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */
--- a/scripts/dtc/dtc-lexer.lex.c_shipped
+++ b/scripts/dtc/dtc-lexer.lex.c_shipped
@@ -637,7 +637,6 @@ char *yytext;
#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() */
--
Created with Armbian build tools https://github.com/armbian/build