From b68fb7f62e1475e28a4cb27569e8b659f925e114 Mon Sep 17 00:00:00 2001
From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Wed, 31 Jan 2001 17:53:01 -0200
Subject: `assert' returns its first argument

---
 manual.tex | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'manual.tex')

diff --git a/manual.tex b/manual.tex
index 5d363702..6e1d490f 100644
--- a/manual.tex
+++ b/manual.tex
@@ -1,4 +1,4 @@
-% $Id: manual.tex,v 1.47 2000/12/28 17:25:45 roberto Exp roberto $
+% $Id: manual.tex,v 1.48 2001/01/29 19:33:55 roberto Exp roberto $
 
 \documentclass[11pt]{article}
 \usepackage{fullpage}
@@ -134,7 +134,7 @@ Waldemar Celes
 \tecgraf\ --- Computer Science Department --- PUC-Rio
 }
 
-\date{{\small \tt\$Date: 2000/12/28 17:25:45 $ $}}
+\date{{\small \tt\$Date: 2001/01/29 19:33:55 $ $}}
 
 \maketitle
 
@@ -2436,7 +2436,8 @@ to change the way such messages are shown
 
 \subsubsection*{\ff \T{assert (v [, message])}}\DefLIB{assert}
 Issues an \emph{``assertion failed!''} error
-when its argument \verb|v| is \nil.
+when its argument \verb|v| is \nil;
+otherwise, returns this argument.
 This function is equivalent to the following Lua function:
 \begin{verbatim}
        function assert (v, m)
@@ -2444,6 +2445,7 @@ This function is equivalent to the following Lua function:
            m = m or ""
            error("assertion failed!  " .. m)
          end
+         return v
        end
 \end{verbatim}
 
-- 
cgit v1.2.3-55-g6feb

