Skip to content

Commit 0194c35

Browse files
committed
Update docs.
Signed-off-by: Manoel Campos <[email protected]>
1 parent b3853af commit 0194c35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml2lua.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,12 @@ function xml2lua.toXml(tb, tableName, level)
197197
else
198198
level = level + 1
199199
-- If the type of the first key of the value inside the table
200-
-- is a number, it means we have a HashMap-like structcture,
200+
-- is a number, it means we have a HashTable-like structure,
201201
-- in this case with keys as strings and values as arrays.
202202
if type(getFirstKey(v)) == 'number' then
203203
table.insert(xmltb, xml2lua.toXml(v, k, level))
204204
else
205-
-- Otherwise, the "HashMap" values are objects
205+
-- Otherwise, the "HashTable" values are objects
206206
local attrs = attrToXml(v._attr)
207207
v._attr = nil
208208
table.insert(xmltb,

0 commit comments

Comments
 (0)