Factor out isBinDigit and parseHexDigit utility functions

This commit is contained in:
Rangi42 committed 2025-09-04 13:23:10 -04:00
1 parent 891e6f98df
commit 1dfc1d3231
5 files changed
+32 -48

No files matched your search

+3
View File
@@ -7,6 +7,7 @@
#include <ctype.h>
#include <numeric>
#include <stddef.h>
#include <stdint.h>
#include <string>
#include <unordered_map>
@@ -25,6 +26,8 @@ bool isAlphanumeric(int c);
bool startsIdentifier(int c);
bool continuesIdentifier(int c);
uint8_t parseHexDigit(int c);
char const *printChar(int c);
struct Uppercase {