diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/persist.lua | 5 |
1 files changed, 3 insertions, 2 deletions
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 | |||
| 53 | -- @param filename string: the name of the file. | 53 | -- @param filename string: the name of the file. |
| 54 | -- @param tbl table or nil: if given, this table is used to store | 54 | -- @param tbl table or nil: if given, this table is used to store |
| 55 | -- loaded values. | 55 | -- loaded values. |
| 56 | -- @return table or (nil, string, string): a table with the file's assignments | 56 | -- @return (table, table) or (nil, string, string): a table with the file's assignments |
| 57 | -- as fields, or nil, an error message and an error code ("open"; couldn't open the file, | 57 | -- as fields and set of undefined globals accessed in file, |
| 58 | -- or nil, an error message and an error code ("open"; couldn't open the file, | ||
| 58 | -- "load"; compile-time error, or "run"; run-time error) | 59 | -- "load"; compile-time error, or "run"; run-time error) |
| 59 | -- in case of errors. | 60 | -- in case of errors. |
| 60 | function persist.load_into_table(filename, tbl) | 61 | function persist.load_into_table(filename, tbl) |
