Rev 192 | Rev 198 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 192 | Rev 194 | ||
---|---|---|---|
Line 112... | Line 112... | ||
112 | c = *p++; |
112 | c = *p++; |
113 | switch(c){ |
113 | switch(c){ |
114 | case 'r': c = CR; |
114 | case 'r': c = CR; |
115 | case '\\': break; |
115 | case '\\': break; |
116 | default: |
116 | default: |
117 | if(alerts) alertuser("Warning:","Unknown escape sequence in input."); |
117 | if(alerts) alertuser(my_strdup("Warning:"),my_strdup("Unknown escape sequence in input.")); |
118 | } |
118 | } |
119 | }//else if(alerts) alertuser("Warning:","truncated escape sequence ends input"); |
119 | }//else if(alerts) alertuser(my_strdup("Warning:"),my_strdup("truncated escape sequence ends input")); |
120 | } |
120 | } |
121 | 121 | ||
122 | if(lineptr < MAXLINE) |
122 | if(lineptr < MAXLINE) |
123 | linebuf[lineptr++] = c; |
123 | linebuf[lineptr++] = c; |
124 | } |
124 | } |