Added support for number literals and punctuation.

This commit is contained in:
2025-01-08 01:39:10 -06:00
parent 6039918707
commit 6d3f90183e
4 changed files with 64 additions and 3 deletions
+1
View File
@@ -44,6 +44,7 @@ char* TokenStringify(const struct _token* token, bool valueOnly) {
snprintf(result, length + 1, "%s ", type);
break;
default:
snprintf(result, length + 2, "%s %c", type, token->Value.Operator[0]);
//snprintf(buffer, length, "<%c>", type);
break;
}