Rename print to printChar

This clarifies its usage, for printing a single character
in error messages.
This commit is contained in:
Rangi
2021-04-09 14:24:25 -04:00
committed by Eldred Habert
parent ab79e6bede
commit a2f52867ad
3 changed files with 7 additions and 7 deletions

View File

@@ -30,7 +30,7 @@ uint32_t calchash(const char *s)
return hash;
}
char const *print(int c)
char const *printChar(int c)
{
// "'A'" + '\0': 4 bytes
// "'\\n'" + '\0': 5 bytes