Merge branch 'master' of github.com:stevedonovan/LDoc
This commit is contained in:
commit
a811dfa5f4
4
ldoc.lua
4
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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue