| 
							
							
								 John Kessenich | 5f1a0b7998 | Eliminate flex as the GLSL lexical analyzer, going from two nested lexical analyzers down to one, leaving just the preprocessor's lexical analysis.  A new layer replaces it, to translate from the preprocessor's view of tokenization to glslang's view of tokenization. Also:
 - change source locations from an int to TSourceLoc (shader number, line number) throughout
 - various improvements to the preprocessor
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22277 e7fa87d3-cd2b-0410-9028-fcbf551c1848 | 2013-07-06 19:54:21 +00:00 |  | 
			
				
					| 
							
							
								 John Kessenich | f78fff94e9 | Implement __VERSION__ macro, make ftransform() non-ES only, add more tests. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22000 e7fa87d3-cd2b-0410-9028-fcbf551c1848 | 2013-06-13 23:56:04 +00:00 |  | 
			
				
					| 
							
							
								 John Kessenich | fb7044a9a8 | Semantic checks: ES doesn't have unsized arrays or noise*(). git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21998 e7fa87d3-cd2b-0410-9028-fcbf551c1848 | 2013-06-13 20:16:43 +00:00 |  | 
			
				
					| 
							
							
								 John Kessenich | ceb0623823 | Fix another problem with undefined macros needing to evaluate to 0 within a preprocessor expression, but not outside a preprocessor expression. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21815 e7fa87d3-cd2b-0410-9028-fcbf551c1848 | 2013-06-03 04:15:57 +00:00 |  | 
			
				
					| 
							
							
								 John Kessenich | 52ac67e913 | Make the PP report an error on undefined macro in "#if ..." for ES profiles, unless relaxed error checking is requested.  Still works as normal CPP on non-ES. Also, improved error reporting in general for the PP.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21417 e7fa87d3-cd2b-0410-9028-fcbf551c1848 | 2013-05-05 23:46:22 +00:00 |  | 
			
				
					| 
							
							
								 John Kessenich | 38c507e75a | Make the default version be 100. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20509 e7fa87d3-cd2b-0410-9028-fcbf551c1848 | 2013-02-08 18:56:56 +00:00 |  | 
			
				
					| 
							
							
								 John Kessenich | 464f6d9ff1 | Add some CPP tests. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20457 e7fa87d3-cd2b-0410-9028-fcbf551c1848 | 2013-02-06 00:14:16 +00:00 |  |