diff options
author | Mike Krüger <mkrueger@novell.com> | 2009-11-10 09:14:32 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@novell.com> | 2009-11-10 09:14:32 +0300 |
commit | 14d34ad433858de7708537ce0ca4cf5a128ed718 (patch) | |
tree | 4fa4515dc84ba3c1c692a6633e326c9ae4888d0b /main/contrib | |
parent | 5074f05820bebbba7c3b75cabce446eef73a0f64 (diff) |
* Src/Lexer/CSharp/Lexer.cs: Fixed 'Bug 552276 - MonoDevelop
sometimes fails to show class member list when pressing "." key
after class var name.'.
svn path=/trunk/monodevelop/; revision=145811
Diffstat (limited to 'main/contrib')
-rw-r--r-- | main/contrib/NRefactory/Project/ChangeLog | 6 | ||||
-rw-r--r-- | main/contrib/NRefactory/Project/Src/Lexer/CSharp/Lexer.cs | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/main/contrib/NRefactory/Project/ChangeLog b/main/contrib/NRefactory/Project/ChangeLog index 55ae2895d2..1b308295c8 100644 --- a/main/contrib/NRefactory/Project/ChangeLog +++ b/main/contrib/NRefactory/Project/ChangeLog @@ -1,3 +1,9 @@ +2009-11-10 Mike Krüger <mkrueger@novell.com> + + * Src/Lexer/CSharp/Lexer.cs: Fixed 'Bug 552276 - MonoDevelop + sometimes fails to show class member list when pressing "." + key after class var name.'. + 2009-10-26 Mike Krüger <mkrueger@novell.com> * Src/Visitors/AbstractASTVisitor.cs: Fixed 'Bug 549858 - diff --git a/main/contrib/NRefactory/Project/Src/Lexer/CSharp/Lexer.cs b/main/contrib/NRefactory/Project/Src/Lexer/CSharp/Lexer.cs index 78639c7371..040803e140 100644 --- a/main/contrib/NRefactory/Project/Src/Lexer/CSharp/Lexer.cs +++ b/main/contrib/NRefactory/Project/Src/Lexer/CSharp/Lexer.cs @@ -1158,11 +1158,11 @@ namespace ICSharpCode.NRefactory.Parser.CSharp Ast.Expression expr = PPUnaryExpression(); while (ReaderPeek() == '=' || ReaderPeek() == '!') { Token token = ReadOperator((char)ReaderRead()); - if (token == null || token.kind != Tokens.Equals && token.kind != Tokens.NotEqual) { + if (token == null || token.kind != Tokens.Equal && token.kind != Tokens.NotEqual) { break; } Ast.Expression expr2 = PPUnaryExpression(); - expr = new Ast.BinaryOperatorExpression(expr, token.kind == Tokens.Equals ? Ast.BinaryOperatorType.Equality : Ast.BinaryOperatorType.InEquality, expr2); + expr = new Ast.BinaryOperatorExpression(expr, token.kind == Tokens.Equal ? Ast.BinaryOperatorType.Equality : Ast.BinaryOperatorType.InEquality, expr2); } return expr; } |