aboutsummaryrefslogtreecommitdiff
path: root/manual/2html
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-08-16 14:58:02 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-08-16 14:58:02 -0300
commitb96b0b5abbf40cbdbed7952bf35a5a27ddf75928 (patch)
tree5d9d5463cb7d3424833abab20dd87bce1f4b240f /manual/2html
parentca13be9af784b7288d3a07d9b5bccb329086e885 (diff)
downloadlua-b96b0b5abbf40cbdbed7952bf35a5a27ddf75928.tar.gz
lua-b96b0b5abbf40cbdbed7952bf35a5a27ddf75928.tar.bz2
lua-b96b0b5abbf40cbdbed7952bf35a5a27ddf75928.zip
Added macro 'luaL_pushfail'
The macro 'luaL_pushfail' documents all places in the standard libraries that return nil to signal some kind of failure. It is defined as 'lua_pushnil'. The manual also got a notation (@fail) to document those returns. The tests were changed to be agnostic regarding whether 'fail' is 'nil' or 'false'.
Diffstat (limited to 'manual/2html')
-rwxr-xr-xmanual/2html1
1 files changed, 1 insertions, 0 deletions
diff --git a/manual/2html b/manual/2html
index 605c6e59..a300f8d4 100755
--- a/manual/2html
+++ b/manual/2html
@@ -324,6 +324,7 @@ N = function (s) return (string.gsub(s, " ", "&nbsp;")) end,
324NE = id, -- tag"foreignphrase", 324NE = id, -- tag"foreignphrase",
325num = id, 325num = id,
326["nil"] = fixed(Tag.b"nil"), 326["nil"] = fixed(Tag.b"nil"),
327fail = fixed(Tag.b"fail"),
327Open = fixed"{", 328Open = fixed"{",
328part = section("h1", true), 329part = section("h1", true),
329Pat = compose(verbfixed, prepos("'", "'")), 330Pat = compose(verbfixed, prepos("'", "'")),