From 57e8a8b29b45f4fb369b2970781632c296aee36d Mon Sep 17 00:00:00 2001 From: xiaoquanquan0408 <150405947+xiaoquanquan0408@users.noreply.github.com> Date: Thu, 23 Nov 2023 08:01:55 +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() */