summaryrefslogtreecommitdiffstats
path: root/dimension/tokenize.h
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/tokenize.h')
-rw-r--r--dimension/tokenize.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dimension/tokenize.h b/dimension/tokenize.h
index 91d59f6..938eb5f 100644
--- a/dimension/tokenize.h
+++ b/dimension/tokenize.h
@@ -45,6 +45,9 @@ typedef struct dmnsn_token dmnsn_token;
struct dmnsn_token {
dmnsn_token_type type;
char *value;
+
+ /* Line and column numbers from source code */
+ unsigned int line, col;
};
dmnsn_array *dmnsn_tokenize(FILE *file);