Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum class token_type : u16 {
- #define X(t) t,
- TOKEN_LIST
- #undef X
- };
- class TokenStream {
- public:
- std::vector<token_type> tokens;
- std::vector<srcoffset_t> offsets;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement