summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-03-26 10:09:27 +0100
committerStefan Weil <sw@weilnetz.de>2016-03-26 10:20:46 +0100
commitcd43e35b9d07208277c3665afdd583ccda79d2b8 (patch)
treeb461a9d5bbfe5932ec2cd382f95605b6bbfd81d7
parentc88aa6ff26ac73404ffa42fd2b4560705fbbcf19 (diff)
build/luadoc: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
-rw-r--r--build/luadoc/luadoc/taglet/standard/tags.lua2
-rw-r--r--build/luadoc/luadoc/util.lua6
2 files changed, 4 insertions, 4 deletions
diff --git a/build/luadoc/luadoc/taglet/standard/tags.lua b/build/luadoc/luadoc/taglet/standard/tags.lua
index e9d035483..b46d685da 100644
--- a/build/luadoc/luadoc/taglet/standard/tags.lua
+++ b/build/luadoc/luadoc/taglet/standard/tags.lua
@@ -85,7 +85,7 @@ end
-- Processes a parameter documentation.
-- @param tag String with the name of the tag (it must be "param" always).
-- @param block Table with previous information about the block.
--- @param text String with the current line beeing processed.
+-- @param text String with the current line being processed.
local function param (tag, block, text)
block[tag] = block[tag] or {}
diff --git a/build/luadoc/luadoc/util.lua b/build/luadoc/luadoc/util.lua
index e1058d590..7e9cac6c8 100644
--- a/build/luadoc/luadoc/util.lua
+++ b/build/luadoc/luadoc/util.lua
@@ -12,7 +12,7 @@ local type, table, string, io, assert, tostring, setmetatable, pcall = type, tab
module "luadoc.util"
-------------------------------------------------------------------------------
--- Removes spaces from the begining and end of a given string
+-- Removes spaces from the beginning and end of a given string
-- @param s string to be trimmed
-- @return trimmed string
@@ -21,7 +21,7 @@ function trim (s)
end
-------------------------------------------------------------------------------
--- Removes spaces from the begining and end of a given string, considering the
+-- Removes spaces from the beginning and end of a given string, considering the
-- string is inside a lua comment.
-- @param s string to be trimmed
-- @return trimmed string
@@ -61,7 +61,7 @@ end
-- Split text into a list consisting of the strings in text,
-- separated by strings matching delim (which may be a pattern).
-- @param delim if delim is "" then action is the same as %s+ except that
--- field 1 may be preceeded by leading whitespace
+-- field 1 may be preceded by leading whitespace
-- @usage split(",%s*", "Anna, Bob, Charlie,Dolores")
-- @usage split(""," x y") gives {"x","y"}
-- @usage split("%s+"," x y") gives {"", "x","y"}