~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to projectmanagers/cmake/parser/cmakelistsparser.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2010-07-23 20:08:00 UTC
  • mfrom: (5.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100723200800-fh72fo2fhlxb16ud
Tags: 4:4.0.1-1
* New upstream release.
* Add localization packages: Finnish (fi), Dutch (nl), Slovenian (sl) and
  Thai (th).
* Update debian/control:
  - bump Standards-Version to 3.9.0 (no changes needed).
  - bump kdevplatform-dev and kdebase-workspace-dev build dependency version.
  - add shared-mime-info build dependency.
  - comment turkish localization package, not shipped in this release.
* Update debian/rules: remove workaround for FindKDE4Internal.cmake default
  rpath value, fixed in kdelibs5-dev 4.4.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    
51
51
    QString newValue;
52
52
    int last=0;
53
 
    for(int i=firstScape; i<value.size() && i>=0; i=value.indexOf(scapingChar, i+2))
 
53
    for(int i=firstScape; i<value.size()-1 && i>=0; i=value.indexOf(scapingChar, i+2))
54
54
    {
55
55
        newValue+=value.mid(last, i-last);
56
56
        QChar current=value[i+1];
277
277
        return CMakeFileContent();
278
278
    if ( !cmListFileLexer_SetFileName( lexer, qPrintable( fileName ) ) ) {
279
279
        kDebug(9042) << "cmake read error. could not read " << fileName;
 
280
        cmListFileLexer_Delete(lexer);
280
281
        return CMakeFileContent();
281
282
    }
282
283
 
313
314
            }
314
315
        }
315
316
    }
 
317
    cmListFileLexer_Delete(lexer);
316
318
 
317
319
    return ret;
318
320
}