소스 검색

fix typo in expose alloc for arrays

Jeremy G. Siek 1 년 전
부모
커밋
c37f6bcd88
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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