summaryrefslogtreecommitdiff
path: root/glcpp/glcpp.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-06-16 16:58:31 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-06-21 11:31:56 -0700
commitb78c9ddfbfecb983f7ab519bb07889333bdab959 (patch)
tree4aa66a736f4324efc165770435ad43a23f888e53 /glcpp/glcpp.h
parentdb938103c7d22a3bd4b14202f7f69f273840f2cc (diff)
glcpp: Set locations on tokens.
Diffstat (limited to 'glcpp/glcpp.h')
-rw-r--r--glcpp/glcpp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/glcpp/glcpp.h b/glcpp/glcpp.h
index 1d139af064..2d4c84796b 100644
--- a/glcpp/glcpp.h
+++ b/glcpp/glcpp.h
@@ -72,6 +72,7 @@ typedef struct YYLTYPE {
struct token {
int type;
YYSTYPE value;
+ YYLTYPE location;
};
typedef struct token_node {