glcpp: Set locations on tokens.
This commit is contained in:
parent
db938103c7
commit
b78c9ddfbf
2 changed files with 25 additions and 9 deletions
|
|
@ -72,6 +72,7 @@ typedef struct YYLTYPE {
|
|||
struct token {
|
||||
int type;
|
||||
YYSTYPE value;
|
||||
YYLTYPE location;
|
||||
};
|
||||
|
||||
typedef struct token_node {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue