Skip to content

Commit c2bdaf7

Browse files
committed
change Fig 5.12 so the code on LHS is in L^mon_if instead of L_if
1 parent 2d455d9 commit c2bdaf7

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

book.tex

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9201,11 +9201,12 @@ \section{Explicate Control}
92019201
\begin{lstlisting}
92029202
x = input_int()
92039203
y = input_int()
9204-
print(y + 2 \
9205-
if (x == 0 \
9206-
if x < 1 \
9207-
else x == 2) \
9208-
else y + 10)
9204+
tmp_0 = y + 2 \
9205+
if (x == 0 \
9206+
if x < 1 \
9207+
else x == 2) \
9208+
else y + 10
9209+
print(tmp_0)
92099210
\end{lstlisting}
92109211
\end{minipage}
92119212
&
@@ -9231,13 +9232,13 @@ \section{Explicate Control}
92319232
else:
92329233
goto block_5
92339234
block_4:
9234-
tmp.82 = (y + 2)
9235+
tmp_0 = (y + 2)
92359236
goto block_3
92369237
block_5:
9237-
tmp.82 = (y + 10)
9238+
tmp_0 = (y + 10)
92389239
goto block_3
92399240
block_3:
9240-
print(tmp.82)
9241+
print(tmp_0)
92419242
return 0
92429243
\end{lstlisting}
92439244
\end{minipage}

0 commit comments

Comments
 (0)