Reuse isWhitespace and isNewline, also refactoring readAtFile

This commit is contained in:
Rangi42
2025-08-05 13:46:53 -04:00
parent 98c5c7f776
commit 504a45a4ed
5 changed files with 34 additions and 61 deletions

View File

@@ -12,6 +12,9 @@
#include "helpers.hpp"
bool isWhitespace(int c);
bool isNewline(int c);
bool startsIdentifier(int c);
bool continuesIdentifier(int c);