Quote:
Originally Posted by gxray
Oh okay awesome, thanks! So roughly something like this then, where sourcefiles is the list of Lua filenames from the text file?
Code:
for _, sourcefile in pairs(sourcefiles) do
local file = io.open(sourcefile , "r");
local text = file:read("*a")
local _, docblocks = ultraschall.Docs_GetAllUSDocBlocsFromString(text)
end
|
Better: use ultraschall.ReadFullFile()
You can load them and concatenate the loaded file-strings into one string. Then run the get all docblocs function over it.