From 3ce554cd17896b15e0df149c1ef43be404b868e0 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 8 Apr 2015 17:22:44 -0300 Subject: Restore comment about second return, but put it in the right function. https://github.com/keplerproject/luarocks/pull/346#discussion_r28008668 --- src/luarocks/persist.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/luarocks/persist.lua b/src/luarocks/persist.lua index ba3789d1..354b17c3 100644 --- a/src/luarocks/persist.lua +++ b/src/luarocks/persist.lua @@ -53,8 +53,9 @@ end -- @param filename string: the name of the file. -- @param tbl table or nil: if given, this table is used to store -- loaded values. --- @return table or (nil, string, string): a table with the file's assignments --- as fields, or nil, an error message and an error code ("open"; couldn't open the file, +-- @return (table, table) or (nil, string, string): a table with the file's assignments +-- as fields and set of undefined globals accessed in file, +-- or nil, an error message and an error code ("open"; couldn't open the file, -- "load"; compile-time error, or "run"; run-time error) -- in case of errors. function persist.load_into_table(filename, tbl) -- cgit v1.2.3-55-g6feb