Axiom.RenderSystems.OpenGL.ATI.Compiler2Pass.SkipEndOfLine C# (CSharp) Method

SkipEndOfLine() protected method

Find the end of line marker and move past it.
protected SkipEndOfLine ( ) : void
return void
		protected void SkipEndOfLine()
		{
			if ( charPos == endOfSource )
			{
				return;
			}

			if ( ( source[ charPos ] == '\n' ) || ( source[ charPos ] == '\r' ) )
			{
				currentLine++;
				charPos++;

				if ( ( charPos != endOfSource ) && ( ( source[ charPos ] == '\n' ) || ( source[ charPos ] == '\r' ) ) )
				{
					charPos++;
				}
			}
		}