kcaliban před 3 roky
rodič
revize
7fe1a3a474
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      book.tex

+ 2 - 2
book.tex

@@ -25,7 +25,7 @@
 
 \def\racketEd{0}
 \def\pythonEd{1}
-\def\edition{0}
+\def\edition{1}
 
 % material that is specific to the Racket edition of the book
 \newcommand{\racket}[1]{{\if\edition\racketEd{#1}\fi}}
@@ -7270,7 +7270,7 @@ an assignment statement followed by a $\Tail$ expression, a
      \MID \CBINOP{\itm{binaryop}}{\Atm}{\Atm}
      \MID \CUNIOP{\itm{unaryop}}{\Atm} \\
      &\MID& \CCMP{\itm{cmp}}{\Atm}{\Atm} \\
-\Stmt &::=& \CPRINT{\Exp} \MID \Exp \\
+\Stmt &::=& \CPRINT{\Atm} \MID \Exp \\
      &\MID& \CASSIGN{\Var}{\Exp}  
      \MID \CRETURN{\Exp} \MID \CGOTO{\itm{label}} \\
     &\MID& \CIFSTMT{\CCMP{\itm{cmp}}{\Atm}{\Atm}}{\CGOTO{\itm{label}}}{\CGOTO{\itm{label}}}