added some comments

Solvaring [07-07-17 - 06:39]
added some comments
Filename
apimaker2.lua
diff --git a/apimaker2.lua b/apimaker2.lua
index 25ce979..8d8bf1d 100644
--- a/apimaker2.lua
+++ b/apimaker2.lua
@@ -13,6 +13,7 @@ local returntype = nil
 local valuetype = nil
 local formateventstring = ' = {\n\t type = "value", valuetype = "event", description = "%s"},\n\n'

+-- map global constants
 for line in esouidoc:lines() do
     local throwaway = line:match("%* ([%a_]+)")
     if line:find("h2. Game API",1,true) then
@@ -23,6 +24,7 @@ for line in esouidoc:lines() do
     end
 end

+-- Map game and object API
 for line in esouidoc:lines() do
     if line:find("%*%*") then
         local returntypestring = ""
@@ -49,6 +51,7 @@ for line in esouidoc:lines() do
     end
 end

+-- Map events
 for line in esouidoc:lines() do
     local throwaway2 = line:match("%* ([%u_]+)")
     local throwaway3 = line:match("%b()")