summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/util.h b/util.h
new file mode 100644
index 0000000..21d3d30
--- /dev/null
+++ b/util.h
@@ -0,0 +1,9 @@
+#ifndef TOK_UTIL
+#define TOK_UTIL
+
+#include "lex.h"
+
+const char * get_token_description(enum TOKEN_TYPE t);
+void indicate_file_area(FILE* fd, size_t line, size_t column, size_t span);
+
+#endif /* TOK_UTIL */