Fix infinite loop with functions calls
This commit is contained in:
parent
2111f4080c
commit
2ee8170f74
|
@ -429,7 +429,7 @@ namespace Upsilon.Parser
|
|||
var openParenthesis = MatchToken(SyntaxKind.OpenParenthesis);
|
||||
var parameters = ImmutableArray.CreateBuilder<ExpressionSyntax>();
|
||||
SyntaxToken current = null;
|
||||
while (Current.Kind != SyntaxKind.CloseParenthesis)
|
||||
while (Current.Kind != SyntaxKind.CloseParenthesis && Current.Kind != SyntaxKind.EndOfFile)
|
||||
{
|
||||
if (Current == current)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue