diff --git a/ldoc.lua b/ldoc.lua index ec3039e..3f75139 100644 --- a/ldoc.lua +++ b/ldoc.lua @@ -6,6 +6,10 @@ -- -- C/C++ support for Lua extensions is provided. -- +-- Available from LuaRocks as 'ldoc' and as a [Zip file](http://stevedonovan.github.com/files/ldoc-1.1.0.zip) +-- +-- [Github Page](https://github.com/stevedonovan/ldoc) +-- -- @author Steve Donovan -- @copyright 2011 -- @license MIT/X11 diff --git a/tests/annot/annot.lua b/tests/annot/annot.lua new file mode 100644 index 0000000..7ebc278 --- /dev/null +++ b/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