From e34dbd52142c05d082a45d06b7578aefc9ee4a24 Mon Sep 17 00:00:00 2001 From: xiaoquanquan0408 <150405947+xiaoquanquan0408@users.noreply.github.com> Date: Thu, 23 Nov 2023 08:21:24 +0800 Subject: [PATCH] Update dtc-lexer.l --- scripts/dtc/dtc-lexer.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l index 615b7ec6588f1..a26c7636c704f 100644 --- a/scripts/dtc/dtc-lexer.l +++ b/scripts/dtc/dtc-lexer.l @@ -38,7 +38,7 @@ LINECOMMENT "//".*\n #include "srcpos.h" #include "dtc-parser.tab.h" -YYLTYPE yylloc; +extern YYLTYPE yylloc; extern bool treesource_error; /* CAUTION: this will stop working if we ever use yyless() or yyunput() */