diff options
author | Akshay <[email protected]> | 2021-06-11 06:04:27 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-06-11 06:08:19 +0100 |
commit | f9f62e75f3b234b5daf3bc25e995f9f0f56ca0a2 (patch) | |
tree | aa3920ebfd44f98ceaec6ef501cd445c59bfaead /14 | |
parent | e3c610a06bdad5c68ac59f5f4d42cc30b1e2b10f (diff) |
add prog 15
Diffstat (limited to '14')
-rw-r--r-- | 14/main.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ void three_address_code() { | |||
72 | printf("%c",ops[count].opr); | 72 | printf("%c",ops[count].opr); |
73 | 73 | ||
74 | if(isalpha(ops[count].op2)) { | 74 | if(isalpha(ops[count].op2)) { |
75 | printf(" %c\n",ops[count].op2); | 75 | printf("%c\n",ops[count].op2); |
76 | } else if(ops[count].op2 >='1' && ops[count].op2 <='9') { | 76 | } else if(ops[count].op2 >='1' && ops[count].op2 <='9') { |
77 | printf("t%c\n",ops[count].op2); | 77 | printf("t%c\n",ops[count].op2); |
78 | } | 78 | } |