summaryrefslogtreecommitdiffstats
path: root/dimension/tokenize.h
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/tokenize.h')
-rw-r--r--dimension/tokenize.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/dimension/tokenize.h b/dimension/tokenize.h
index 67a386c..541c604 100644
--- a/dimension/tokenize.h
+++ b/dimension/tokenize.h
@@ -36,10 +36,11 @@ struct dmnsn_token {
unsigned int line, col;
};
-/* The workhorse */
-dmnsn_array *dmnsn_tokenize(const char *filename, FILE *file);
+/* For debugging */
+dmnsn_array *dmnsn_tokenize(FILE *file, const char *filename);
-/* Free an array of tokens - use this rather than dmnsn_delete_array() */
+/* Token destruction */
+void dmnsn_delete_token(dmnsn_token token);
void dmnsn_delete_tokens(dmnsn_array *tokens);
/* Print an S-expression of a list of tokens to `file' */