aboutsummaryrefslogtreecommitdiff
path: root/14
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-06-11 06:04:27 +0100
committerAkshay <[email protected]>2021-06-11 06:08:19 +0100
commitf9f62e75f3b234b5daf3bc25e995f9f0f56ca0a2 (patch)
treeaa3920ebfd44f98ceaec6ef501cd445c59bfaead /14
parente3c610a06bdad5c68ac59f5f4d42cc30b1e2b10f (diff)
add prog 15
Diffstat (limited to '14')
-rw-r--r--14/main.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/14/main.y b/14/main.y
index 8d10b32..4e9266b 100644
--- a/14/main.y
+++ b/14/main.y
@@ -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 }