diff options
Diffstat (limited to 'pc.l')
-rw-r--r-- | pc.l | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -43,6 +43,11 @@ output { tmp->func_info->argc = -1; tmp->func_info->argv = NULL; + fprintf(stdout, ".data\n"); + fprintf(stdout, "int_print:\n\t .asciz \"%%d\\n\"\n"); + fprintf(stdout, "float_print:\n\t .asciz \"%%f\\n\"\n.text\n"); + + return IO; } |