glcpp: Set locations on tokens.

This commit is contained in:
Kenneth Graunke
2010-06-16 16:58:31 -07:00
parent db938103c7
commit b78c9ddfbf
2 changed files with 25 additions and 9 deletions

View File

@@ -72,6 +72,7 @@ typedef struct YYLTYPE {
struct token {
int type;
YYSTYPE value;
YYLTYPE location;
};
typedef struct token_node {