tgjones / HlslTools

A Visual Studio extension that provides enhanced support for editing High Level Shading Language (HLSL) files
http://timjones.io/blog/archive/2016/04/25/hlsl-tools-for-visual-studio-v1.0-released
Other
568 stars 98 forks source link

typedef does not work #42

Closed sjschaff closed 7 years ago

sjschaff commented 8 years ago

doing a typedef in hlsl results in an error "Unexpected token 'typedef'." and of course those types are reported as unrecognized in the proceeding code.

typedef float2 Point;
Point p;