Added support for number literals and punctuation.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user