mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-25 13:05:05 +02:00
Output file pointer when printing port
This commit is contained in:
parent
e4fd8b3387
commit
f02d998dbc
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ object Cyc_display(object x, FILE *port)
|
||||||
fprintf(port, "<EOF>");
|
fprintf(port, "<EOF>");
|
||||||
break;
|
break;
|
||||||
case port_tag:
|
case port_tag:
|
||||||
fprintf(port, "<port>");
|
fprintf(port, "<port %p>", ((port_type *)x)->fp);
|
||||||
break;
|
break;
|
||||||
case primitive_tag:
|
case primitive_tag:
|
||||||
fprintf(port, "<primitive %s>", prim_name(x));
|
fprintf(port, "<primitive %s>", prim_name(x));
|
||||||
|
|
Loading…
Add table
Reference in a new issue