Feature: Show the column number in diagnostic messages.
[cparser] / token_t.h
index 6987f4c..5b40ee3 100644 (file)
--- a/token_t.h
+++ b/token_t.h
@@ -54,6 +54,7 @@ typedef struct source_position_t source_position_t;
 struct source_position_t {
        const char *input_name;
        unsigned    lineno;
+       unsigned    colno;
 };
 
 /* position used for "builtin" declarations/types */