Advertisement
tinyevil

Untitled

Oct 15th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. enum class token_type : u16 {
  2. #define X(t) t,
  3. TOKEN_LIST
  4. #undef X
  5. };
  6.  
  7. class TokenStream {
  8. public:
  9. std::vector<token_type> tokens;
  10. std::vector<srcoffset_t> offsets;
  11. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement