Loyc.Ecs.Parser.EcsParser.SemicolonIf C# (CSharp) Method

SemicolonIf() private method

private SemicolonIf ( bool isStatement ) : void
isStatement bool
return void
		void SemicolonIf(bool isStatement)
		{
			TokenType la0;
			// Line 1751: (&{isStatement} TT.Semicolon / )
			la0 = LA0;
			if (la0 == TT.Semicolon) {
				if (isStatement)
					Skip();
				else// line 1752
				if (isStatement) {
					Error(0, "Expected ';' to end statement");
				}
			} else// line 1752
			if (isStatement) {
				Error(0, "Expected ';' to end statement");
			}
		}
	
EcsParser