Skip to content

Instantly share code, notes, and snippets.

@stryku
Last active March 26, 2017 19:31
Show Gist options
  • Save stryku/74fd0d249a6bcb796e75ab99eb0da457 to your computer and use it in GitHub Desktop.
Save stryku/74fd0d249a6bcb796e75ab99eb0da457 to your computer and use it in GitHub Desktop.
struct matcher_impl<tuple<
tokens::tok_mov, // mov
reg_token, // eax
tokens::tok_comma, // , Yes. Comma is separate token
mem_size_token, // DWORD
tokens::tok_ptr, // PTR
tokens::tok_square_bracket_open, // [ YES. Oppening square bracket is also separate token
mem_ptr_reg, // ecx
plus_minus_token, // +
mem_ptr_const, // 4
tokens::tok_square_bracket_close, // ] Ye, ye...
rest_of_tokens...>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment