diff options
Diffstat (limited to 'Data/Libraries/LDoc/tests/simple/problem.lua')
-rw-r--r-- | Data/Libraries/LDoc/tests/simple/problem.lua | 19 |
1 files changed, 19 insertions, 0 deletions
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 |