From 53364ddc2e09362cb17432abf4fb598557554a9f Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 30 Oct 2021 11:42:13 +0800 Subject: + LDoc --- Data/Libraries/LDoc/tests/simple/problem.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Data/Libraries/LDoc/tests/simple/problem.lua (limited to 'Data/Libraries/LDoc/tests/simple/problem.lua') diff --git a/Data/Libraries/LDoc/tests/simple/problem.lua b/Data/Libraries/LDoc/tests/simple/problem.lua new file mode 100644 index 0000000..3848539 --- /dev/null +++ b/Data/Libraries/LDoc/tests/simple/problem.lua @@ -0,0 +1,19 @@ +--- this module has a comment. + +local local_two + +--- a local function +local function local_one () +end + +--- a local function, needing explicit tag. +-- @local here +function local_two () + +end + +--- A problem function. +-- @param p a parameter +function problem.fun(p) + return 42 +end -- cgit v1.1-26-g67d0