summaryrefslogtreecommitdiffstats
path: root/dimension/tokenize.h
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/tokenize.h')
-rw-r--r--dimension/tokenize.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/dimension/tokenize.h b/dimension/tokenize.h
index 6dafc97..86be4c9 100644
--- a/dimension/tokenize.h
+++ b/dimension/tokenize.h
@@ -47,12 +47,18 @@ struct dmnsn_token {
};
/* Scanner manipulation */
+
int dmnsn_yylex_init(void **scannerp);
void dmnsn_yyset_in(FILE *file, void *scanner);
int dmnsn_yylex_destroy(void *scanner);
void *dmnsn_yyget_extra(void *scanner);
void dmnsn_yyset_extra(void *arbitrary_data, void *scanner);
+void *dmnsn_yy_make_buffer(FILE *file, void *scanner);
+void *dmnsn_yy_make_string_buffer(const char *str, void *scanner);
+void dmnsn_yy_push_buffer(void *buffer, void *scanner);
+void dmnsn_yy_pop_buffer(void *scanner);
+
/* Actual lexer */
int dmnsn_yylex(dmnsn_parse_item *lvalp, dmnsn_parse_location *llocp,
const char *filename, dmnsn_symbol_table *symtable,