~ubuntu-branches/ubuntu/lucid/monodevelop/lucid

« back to all changes in this revision

Viewing changes to contrib/NRefactory/Project/Src/Lexer/AbstractLexer.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-01-10 14:25:59 UTC
  • mfrom: (1.2.5 upstream) (1.3.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100110142559-sorji5exvk9tyknr
Tags: 2.2+dfsg-2
* debian/rules/remove_support_for_non_debian_functionality.patch:
  + Also fix monodevelop-core-addins.pc to remove links to the
    addins we remove in Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// <file>
 
1
// <file>
2
2
//     <copyright see="prj:///doc/copyright.txt"/>
3
3
//     <license see="prj:///doc/license.txt"/>
4
4
//     <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
299
299
                
300
300
                protected string ReadToEndOfLine()
301
301
                {
302
 
                        sb.Length = 0;
 
302
                        return ReadToEndOfLine (true);
 
303
                }
 
304
                protected string ReadToEndOfLine(bool resetBuilder)
 
305
                {
 
306
                        if (resetBuilder)
 
307
                                sb.Length = 0;
303
308
                        int nextChar;
304
309
                        while ((nextChar = reader.Read()) != -1) {
305
310
                                char ch = (char)nextChar;