/trunk/read.c |
---|
111,7 → 111,16 |
if(p < dataend){ |
c = *p++; |
switch(c){ |
case 'r': c = CR; |
case 'r': |
#if WIN_ENV |
c = CR; |
if (lineptr < MAXLINE) |
linebuf[lineptr++] = c; |
c = LF; |
#else |
c = CR; |
#endif |
break; |
case '\\': break; |
default: |
if(alerts) alertuser(_strdup("Warning:"),_strdup("Unknown escape sequence in input.")); |