aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthead_admin <occ_thead@service.alibaba.com>2023-06-19 18:36:49 +0800
committerHan Gao <gaohan@iscas.ac.cn>2023-07-30 03:40:57 +0800
commit6c027f3c8eedff2f9a73df2c453828d658194fcf (patch)
treefb4565b608da63fc313b3c07df730346a81c6ded
parent644f3eb8ffa1c8c50a2ad1b3d938d365e11f5d44 (diff)
-rw-r--r--scripts/dtc/dtc-lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l
index fd825ebb..f57c9a7e 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() */