fixed typdefed type parsing (Mauro Persano)