Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
Added error expression for invalid initializers.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger committed Nov 8, 2011
1 parent 4376927 commit 817a2da
Show file tree
Hide file tree
Showing 6 changed files with 3,196 additions and 3,096 deletions.
2 changes: 1 addition & 1 deletion ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs
Expand Up @@ -1457,7 +1457,7 @@ public override object Visit (StatementExpression statementExpression)
return result;
}

public override object Visit (InvalidExpressionStatement statementExpression)
public override object Visit (InvalidStatementExpression statementExpression)
{
var result = new ExpressionStatement ();
if (statementExpression.Expression == null)
Expand Down

0 comments on commit 817a2da

Please sign in to comment.