Skip to content

Instantly share code, notes, and snippets.

@Interfere
Created March 20, 2017 06:47
Show Gist options
  • Save Interfere/7f5607727f0311312cafa316b48f9fc5 to your computer and use it in GitHub Desktop.
Save Interfere/7f5607727f0311312cafa316b48f9fc5 to your computer and use it in GitHub Desktop.
Lexer prologue
Restart:
// Remember the start of the token so we can form the text range.
const char *TokStart = CurPtr;
switch ((signed char)*CurPtr++) {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment