#pragma once #include #include enum Token { TOK_END = 0, TOK_COLONCOLON = 256, TOK_EMIT, TOK_COMMIT, TOK_DECLTYPE, TOK_DIFFERENCE, TOK_CHAR }; extern FILE* yyin; // input extern int yylineno; // current line int yylex(void); // scanner bool lexer_failed(void); char lexer_character(void);