~ubuntu-branches/ubuntu/wily/geany/wily-proposed

« back to all changes in this revision

Viewing changes to scintilla/lexers/LexLua.cxx

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2013-05-10 15:27:35 UTC
  • mfrom: (4.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130510152735-bvm7jw5k95ahpp8q
Tags: 1.23+dfsg-2
* Upload to unstable, fixes FTBFS (Closes: #707368)
* [a472a80] Enable parallel builds
* [17a6378] No-change bump of Standards-Version to 3.9.4
* [ea78f31] Add README.source describing git branch structure

Show diffs side-by-side

added added

removed removed

Lines of Context:
374
374
        char chNext = styler[startPos];
375
375
        bool foldCompact = styler.GetPropertyInt("fold.compact", 1) != 0;
376
376
        int styleNext = styler.StyleAt(startPos);
377
 
        char s[10];
378
377
 
379
378
        for (unsigned int i = startPos; i < lengthDoc; i++) {
380
379
                char ch = chNext;
384
383
                bool atEOL = (ch == '\r' && chNext != '\n') || (ch == '\n');
385
384
                if (style == SCE_LUA_WORD) {
386
385
                        if (ch == 'i' || ch == 'd' || ch == 'f' || ch == 'e' || ch == 'r' || ch == 'u') {
 
386
                                char s[10] = "";
387
387
                                for (unsigned int j = 0; j < 8; j++) {
388
388
                                        if (!iswordchar(styler[i + j])) {
389
389
                                                break;