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/annot/annot.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Data/Libraries/LDoc/tests/annot/annot.lua (limited to 'Data/Libraries/LDoc/tests/annot/annot.lua') diff --git a/Data/Libraries/LDoc/tests/annot/annot.lua b/Data/Libraries/LDoc/tests/annot/annot.lua new file mode 100644 index 0000000..7ebc278 --- /dev/null +++ b/Data/Libraries/LDoc/tests/annot/annot.lua @@ -0,0 +1,21 @@ +---------------- +-- Testing annotations +-- @module annot + +--- first fun. +function first() + if boo then + local bar = do_something() + if bar then + --- @fixme otherwise do what? + end + end +end + +--- second try. +function second() + --- @todo also handle foo case + if bar then + + end +end -- cgit v1.1-26-g67d0