1
0

Fixed enum checking functions not being called in generated code

This commit is contained in:
Tycho
2014-03-20 13:23:15 -07:00
parent 6a3fe7adcc
commit a69a1ef032
8 changed files with 2593 additions and 2590 deletions

View File

@@ -66,6 +66,8 @@ _global_enums = {}
-- List of auto renaming
_renaming = {}
_enums = {}
function appendrenaming (s)
local b,e,old,new = strfind(s,"%s*(.-)%s*@%s*(.-)%s*$")
if not b then
@@ -146,7 +148,7 @@ function typevar(type)
end
-- is enum
function isenum (type)
function isenumtype (type)
return _enums[type]
end