Add scanner that can find '#version' across an array of non-null terminated, length-based, strings.  Handle the ES error where #version is not the first thing found, while still supporting desktop behavior, and more generally support length-based multiple strings for a single shader.


git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22165 e7fa87d3-cd2b-0410-9028-fcbf551c1848
diff --git a/glslang.vcxproj b/glslang.vcxproj
index 0f147a2..80024de 100644
--- a/glslang.vcxproj
+++ b/glslang.vcxproj
@@ -154,6 +154,7 @@
     <ClCompile Include="glslang\MachineIndependent\glslang_tab.cpp" />

     <ClCompile Include="glslang\MachineIndependent\InfoSink.cpp" />

     <ClCompile Include="glslang\MachineIndependent\Initialize.cpp" />

+    <ClCompile Include="glslang\MachineIndependent\Scan.cpp" />

     <ClCompile Include="glslang\MachineIndependent\Versions.cpp" />

     <ClCompile Include="OGLCompilersDLL\InitializeDll.cpp" />

     <ClCompile Include="glslang\MachineIndependent\IntermTraverse.cpp" />

@@ -204,6 +205,7 @@
     <ClInclude Include="glslang\Include\Common.h" />

     <ClInclude Include="glslang\Include\ConstantUnion.h" />

     <ClInclude Include="glslang\Include\InfoSink.h" />

+    <ClInclude Include="glslang\MachineIndependent\Scan.h" />

     <ClInclude Include="glslang\MachineIndependent\Versions.h" />

     <ClInclude Include="OGLCompilersDLL\InitializeDll.h" />

     <ClInclude Include="glslang\Include\InitializeGlobals.h" />