fixes var types not substituting properly (#784)
fixes var types not substituting properly (#784)


gzorin/OpenShadingLanguage,imageworks/OpenShadingLanguage,imageworks/OpenShadingLanguage,imageworks/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,brechtvl/OpenShadingLanguage,lgritz/OpenShadingLanguage,gzorin/OpenShadingLanguage,gzorin/OpenShadingLanguage,imageworks/OpenShadingLanguage,lgritz/OpenShadingLanguage,aconty/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,brechtvl/OpenShadingLanguage,imageworks/OpenShadingLanguage,brechtvl/OpenShadingLanguage,brechtvl/OpenShadingLanguage,brechtvl/OpenShadingLanguage,lgritz/OpenShadingLanguage,gzorin/OpenShadingLanguage,lgritz/OpenShadingLanguage,lgritz/OpenShadingLanguage,aconty/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,aconty/OpenShadingLanguage,aconty/OpenShadingLanguage,aconty/OpenShadingLanguage,gzorin/OpenShadingLanguage