Advertisement
sklz0

tokens.h

Jul 22nd, 2020
2,480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. /*
  2. * Registers given file to read tokens from.
  3. */
  4. void register_file(FILE* file);
  5.  
  6. /* Reads tokens from the file registered before. All the rest is the same */
  7. int scan_tokens(char **tokens);
  8.  
  9. /**
  10.  * Rewinds the registered file.
  11.  * */
  12. void rewind_source_file();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement