diff options
author | Mike Krüger <mkrueger@novell.com> | 2009-04-24 09:02:04 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@novell.com> | 2009-04-24 09:02:04 +0400 |
commit | c2e37d68928447f2fe83549aeff9e29fadd386ea (patch) | |
tree | 0f241ed21ce888768418b208f1efc5489f841b6f /main/contrib | |
parent | 9109c01ea7b98f940bfec6009e115973e94229ea (diff) |
* Src/Lexer/AbstractLexer.cs: Allow whitespaces as symbol
separator/Fixed 'Bug 497682 - Specific case in which the class &
method not shown'.
svn path=/trunk/monodevelop/; revision=132546
Diffstat (limited to 'main/contrib')
-rw-r--r-- | main/contrib/NRefactory/Project/ChangeLog | 6 | ||||
-rw-r--r-- | main/contrib/NRefactory/Project/Src/Lexer/AbstractLexer.cs | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/main/contrib/NRefactory/Project/ChangeLog b/main/contrib/NRefactory/Project/ChangeLog index c0a7a0f71d..8498ba41e5 100644 --- a/main/contrib/NRefactory/Project/ChangeLog +++ b/main/contrib/NRefactory/Project/ChangeLog @@ -1,3 +1,9 @@ +2009-04-24 Mike Krüger <mkrueger@novell.com> + + * Src/Lexer/AbstractLexer.cs: Allow whitespaces as symbol + separator/Fixed 'Bug 497682 - Specific case in which the + class & method not shown'. + 2009-04-17 Mike Kestner <mkestner@novell.com> * NRefactory.csproj: kill pre task, update outdirs diff --git a/main/contrib/NRefactory/Project/Src/Lexer/AbstractLexer.cs b/main/contrib/NRefactory/Project/Src/Lexer/AbstractLexer.cs index 3cf35b6ed5..c34a7e64da 100644 --- a/main/contrib/NRefactory/Project/Src/Lexer/AbstractLexer.cs +++ b/main/contrib/NRefactory/Project/Src/Lexer/AbstractLexer.cs @@ -49,7 +49,7 @@ namespace ICSharpCode.NRefactory.Parser protected static IEnumerable<string> GetSymbols (string symbols) { if (!string.IsNullOrEmpty(symbols)) { - foreach (string symbol in symbols.Split (';')) { + foreach (string symbol in symbols.Split (';', ' ', '\t')) { string s = symbol.Trim (); if (s.Length == 0) continue; |