The grammar now accepts type casts, like "(int)x", but that has to be disambiguated from "(a + b)", needed deeper lookahead and backing up than what existed so far.
		
			
				
	
	
		
			5 lines
		
	
	
		
			110 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			110 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
float4 PixelShaderFunction(float4 input) : COLOR0
 | 
						|
{
 | 
						|
    return (float4)input + (int4)input + (float4)1.198;
 | 
						|
}
 |