Changeset 1170 for trunk/src/kmk/read.c


Ignore:
Timestamp:
Oct 1, 2007, 5:46:57 AM (18 years ago)
Author:
bird
Message:

GCC starts with an empty ' \' line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/read.c

    r1169 r1170  
    535535          if (!cur)
    536536            break;
     537        }
     538      if (*cur == '\\')
     539        {
     540          unsigned eol_len = (file_end - cur > 1 && cur[1] == '\n') ? 2
     541                           : (file_end - cur > 2 && cur[1] == '\r' && cur[2] == '\n') ? 3
     542                           : (file_end - cur == 1) ? 1 : 0;
     543           if (eol_len)
     544             {
     545               cur += eol_len;
     546               line_no++;
     547               continue;
     548             }
    537549        }
    538550      if (*cur == '\n')
Note: See TracChangeset for help on using the changeset viewer.