Skip to content

Instantly share code, notes, and snippets.

@jaitjacob
Created May 20, 2023 02:57
Show Gist options
  • Select an option

  • Save jaitjacob/f2605e86e2c0f18c01a33bf26c83543a to your computer and use it in GitHub Desktop.

Select an option

Save jaitjacob/f2605e86e2c0f18c01a33bf26c83543a to your computer and use it in GitHub Desktop.
switch (p->peek().type) {
...
...
...
case token_type::reserved_keyword_with_escape_sequence: {
token es = p->peek();
for (const source_code_span &escape_sequence :
*es.identifier_escape_sequences) {
printf("%s", escape_sequence.string_view().data());
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment