summaryrefslogtreecommitdiffstats
path: root/doc/lua_api.md
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-10-27 21:19:11 +0000
committerbapt <bapt@FreeBSD.org>2015-10-27 21:19:11 +0000
commitbf66c97c4a64e64410bf0223d221a54ca9555f52 (patch)
tree776471e6ddbb557aac5a48779cb813f63c28b4d5 /doc/lua_api.md
parent7678f812c1d8bea1cf36871abe8ab1e7ec6912fd (diff)
downloadFreeBSD-src-bf66c97c4a64e64410bf0223d221a54ca9555f52.zip
FreeBSD-src-bf66c97c4a64e64410bf0223d221a54ca9555f52.tar.gz
Update libucl to git snapshot 20151027 (77d9d33)
Diffstat (limited to 'doc/lua_api.md')
-rw-r--r--doc/lua_api.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lua_api.md b/doc/lua_api.md
index a53353b..f7af3ca 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'))
OpenPOWER on IntegriCloud