- Timestamp:
- Apr 20, 2020 11:55:38 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin.c
r3293 r3333 135 135 { 136 136 ch = *pszCmd++; 137 if (ch == '\n') /* escaped end-of-line */ 138 break; 139 if (ch == '\r' && *pszCmd == '\n') /* escaped end-of-line */ 140 { 141 pszCmd++; 142 break; 143 } 137 144 if (ch) 138 145 *pszDst++ = ch; … … 221 228 */ 222 229 if (ch != 0) 223 while ((ch = *pszCmd) && isspace(ch)) 230 while ( (ch = *pszCmd) 231 && ( isspace(ch) 232 || (ch == '\\' && (pszCmd[1] == '\n' || (pszCmd[1] == '\r' && pszCmd[2] == '\n'))))) 224 233 pszCmd++; 225 234 if (ch == 0)
Note:
See TracChangeset
for help on using the changeset viewer.