Explorar o código

fix typo in expose alloc for arrays

Jeremy G. Siek hai 1 ano
pai
achega
c37f6bcd88
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      book.tex

+ 3 - 1
book.tex

@@ -14686,8 +14686,10 @@ named \code{exit}.
 
 \subsection{Expose Allocation}
 
+% TODO: add figure for C_array
+
 This pass should translate array creation into lower-level
-operations. In particular, the new AST node \ALLOCARRAY{\Exp}{\Type}
+operations. In particular, the new AST node \ALLOCARRAY{\Int}{\Type}
 is analogous to the \code{Allocate} AST node for tuples.  The $\Type$
 argument must be \ARRAYTY{T}, where $T$ is the element type for the
 array. The \code{AllocateArray} AST node allocates an array of the