浏览代码

add square brackets in 8.3, issue #188

Jeremy Siek 2 周之前
父节点
当前提交
ebc90d16f3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      book.tex

+ 1 - 1
book.tex

@@ -15734,7 +15734,7 @@ Module(|$\Def\ldots\Stmt\ldots$|)
 \end{lstlisting}
 \end{lstlisting}
 where $\itm{mainDef}$ is
 where $\itm{mainDef}$ is
 \begin{lstlisting}
 \begin{lstlisting}
-FunctionDef('main', [], |$\Stmt\ldots$|Return(Constant(0)), None, IntType(), None)
+FunctionDef('main', [], [|$\Stmt\ldots$|Return(Constant(0))], None, IntType(), None)
 \end{lstlisting}
 \end{lstlisting}
 \fi}
 \fi}