Fix dtc-lexer's declaration of yylloc
This commit is contained in:
parent
169c65d57e
commit
e0097141fd
2 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue