commit | 0774523d1882a087b648e4017e634eb12c12f377 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Thu Jun 17 12:41:46 2010 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Mon Jun 21 12:31:03 2010 -0700 |
tree | 526fc3f40c220bb5e824c67ef64c508bac26ce27 | |
parent | 8a132aa08b423765f273e399baea7d68b44cd37d [diff] [blame] |
glcpp: Add line locations to "Unterminated #if" error message.
diff --git a/glcpp/glcpp.h b/glcpp/glcpp.h index 45bbff3..4a2489a 100644 --- a/glcpp/glcpp.h +++ b/glcpp/glcpp.h
@@ -131,6 +131,7 @@ typedef struct skip_node { skip_type_t type; + YYLTYPE loc; /* location of the initial #if/#elif/... */ struct skip_node *next; } skip_node_t;