From 4e2fa78ea36ec2cf6583bc025b4127c5ea238fd2 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 27 Oct 2015 21:19:11 +0000 Subject: Update libucl to git snapshot 20151027 (77d9d33) --- doc/lua_api.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/lua_api.md') diff --git a/doc/lua_api.md b/doc/lua_api.md index a53353b3c57e..f7af3caffff4 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -16,7 +16,7 @@ if not res then else local obj = parser:get_object() local got = ucl.to_format(obj, 'json') -endif +end local table = { str = 'value', @@ -25,6 +25,7 @@ local table = { func = function () return 'huh' end +} print(ucl.to_format(table, 'ucl')) @@ -115,6 +116,7 @@ local table = { func = function () return 'huh' end +} print(ucl.to_format(table, 'ucl')) -- cgit v1.3