mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-11-06 07:30:19 +00:00
minor refactoring and typos
This commit is contained in:
@@ -705,7 +705,7 @@ void printObject(CObj *o)
|
||||
switch (o->type) {
|
||||
case COBJ_STRING: {
|
||||
CObjString *objStr = (CObjString *)o;
|
||||
printf("%.*s", objStr->length, objStr->str);
|
||||
printf("<string> \"%.*s\"", objStr->length, objStr->str);
|
||||
break;
|
||||
}
|
||||
case COBJ_OBJECT: {
|
||||
|
||||
Reference in New Issue
Block a user