Merge branch 'master' of github.com:stevedonovan/LDoc

This commit is contained in:
steve donovan 2012-01-09 15:12:53 +02:00
commit a811dfa5f4
2 changed files with 25 additions and 0 deletions

View File

@ -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

21
tests/annot/annot.lua Normal file
View File

@ -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