c41bd1d6a8796da192428de9e01fd5f4baa7dff8
[m6w6/ext-psi] / idl / lexer.h
1 #ifndef _PSI_LEXER_H
2 #define _PSI_LEXER_H
3
4 #ifndef BSIZE
5 # define BSIZE 256
6 #endif
7
8 typedef struct PSI_Lexer {
9
10 } PSI_Lexer;
11
12 size_t PSI_LexerFill(PSI_Lexer *L, size_t n);
13 void PSI_LexerDtor(PSI_Lexer *L);
14 void PSI_LexerFree(PSI_Lexer **L);
15 PSI_Lexer *PSI_LexerInit(PSI_Lexer *L, const char *filename);
16 token_t PSI_LexerScan(PSI_Lexer *L);
17
18 #endif