Ver Fonte

collect is a stmt

Jeremy Siek há 2 semanas atrás
pai
commit
b31fab5cf0
1 ficheiros alterados com 4 adições e 3 exclusões
  1. 4 3
      book.tex

+ 4 - 3
book.tex

@@ -13023,9 +13023,10 @@ translation of tuple creation\index{subject}{Lalloc@\LangAlloc{}}.
 %%    \Stmt &::= & \CASSIGN{\CPUT{\Exp}{\itm{int}}}{\Exp}
 %% \end{array}
 \begin{array}{rcl}
-\Exp &::=& \COLLECT{\Int} \MID \ALLOCATE{\Int}{\Type} \\
-     &\MID& \GLOBALVALUE{\Var} \MID \BEGIN{\Stmt^{*}}{\Exp}\\
-\Stmt{} &::=& \ASSIGN{\PUT{\Exp}{\itm{int}}}{\Exp} 
+  \Exp &::=&  \GLOBALVALUE{\Var} \MID \ALLOCATE{\Int}{\Type} \\
+       &\MID& \BEGIN{\Stmt^{*}}{\Exp}\\
+  \Stmt{} &::=& \COLLECT{\Int} 
+          \MID \ASSIGN{\PUT{\Exp}{\itm{int}}}{\Exp} 
 \end{array}
 \]
 \fi}