glcpp: Add line locations to "Unterminated #if" error message.

This commit is contained in:
Kenneth Graunke
2010-06-17 12:41:46 -07:00
parent 8a132aa08b
commit 0774523d18
2 changed files with 10 additions and 6 deletions

View File

@@ -131,6 +131,7 @@ typedef enum skip_type {
typedef struct skip_node {
skip_type_t type;
YYLTYPE loc; /* location of the initial #if/#elif/... */
struct skip_node *next;
} skip_node_t;