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/simple.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Data/Libraries/LDoc/tests/simple/simple.lua (limited to 'Data/Libraries/LDoc/tests/simple/simple.lua') diff --git a/Data/Libraries/LDoc/tests/simple/simple.lua b/Data/Libraries/LDoc/tests/simple/simple.lua new file mode 100644 index 0000000..15d2a39 --- /dev/null +++ b/Data/Libraries/LDoc/tests/simple/simple.lua @@ -0,0 +1,12 @@ +------------ +-- A little old-style module +local io = io +-- we'll look for this +module 'simple' + +-- if it were 'module (...)' then the name has to be deduced. + +--- return the answer. +function answer() + return 42 +end -- cgit v1.1-26-g67d0