preprocessor: Make quoting : [PR 95253]
authorNathan Sidwell <nathan@acm.org>
Fri, 15 Jan 2021 14:47:13 +0000 (06:47 -0800)
committerNathan Sidwell <nathan@acm.org>
Fri, 15 Jan 2021 16:56:20 +0000 (08:56 -0800)
Make doesn't need ':' quoting (in a filename).

PR preprocessor/95253
libcpp/
* mkdeps.c (munge): Do not escape ':'.

libcpp/mkdeps.c

index 471e449a19d5110303d108b692bda28caa8b6f70..1867e0089d7b5c6efacafb4dcf81a0c4d5be123c 100644 (file)
@@ -162,7 +162,6 @@ munge (const char *str, const char *trail = nullptr)
              /* FALLTHROUGH  */
 
            case '#':
-           case ':':
              buf[dst++] = '\\';
              /* FALLTHROUGH  */