Fix dtc-lexer's declaration of yylloc

This commit is contained in:
Ole André Vadla Ravnås 2022-05-10 00:47:29 +02:00
parent 169c65d57e
commit e0097141fd
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ LINECOMMENT "//".*\n
#include "srcpos.h" #include "srcpos.h"
#include "dtc-parser.tab.h" #include "dtc-parser.tab.h"
YYLTYPE yylloc; extern YYLTYPE yylloc;
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */ /* CAUTION: this will stop working if we ever use yyless() or yyunput() */
#define YY_USER_ACTION \ #define YY_USER_ACTION \

View file

@ -637,7 +637,7 @@ char *yytext;
#include "srcpos.h" #include "srcpos.h"
#include "dtc-parser.tab.h" #include "dtc-parser.tab.h"
YYLTYPE yylloc; extern YYLTYPE yylloc;
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */ /* CAUTION: this will stop working if we ever use yyless() or yyunput() */
#define YY_USER_ACTION \ #define YY_USER_ACTION \