[gnome-builder] gcc: allow + in filenames too



commit 4aad3bd298b35e903db89a1e9ddfe6947c2d219c
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jun 7 14:08:11 2018 -0700

    gcc: allow + in filenames too
    
    This is arguably a very crappy way to encode what is allowed to be valid
    characters on a file-system.
    
    Fixes #527

 src/plugins/gcc/gbp-gcc-pipeline-addin.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/gcc/gbp-gcc-pipeline-addin.c b/src/plugins/gcc/gbp-gcc-pipeline-addin.c
index ec8ea1c3a..6d43654ae 100644
--- a/src/plugins/gcc/gbp-gcc-pipeline-addin.c
+++ b/src/plugins/gcc/gbp-gcc-pipeline-addin.c
@@ -20,11 +20,11 @@
 
 #include "gbp-gcc-pipeline-addin.h"
 
-#define ERROR_FORMAT_REGEX               \
-  "(?<filename>[a-zA-Z0-9\\-\\.\\/_]+):" \
-  "(?<line>\\d+):"                       \
-  "(?<column>\\d+): "                    \
-  "(?<level>[\\w\\s]+): "                \
+#define ERROR_FORMAT_REGEX                  \
+  "(?<filename>[a-zA-Z0-9\\+\\-\\.\\/_]+):" \
+  "(?<line>\\d+):"                          \
+  "(?<column>\\d+): "                       \
+  "(?<level>[\\w\\s]+): "                   \
   "(?<message>.*)"
 
 struct _GbpGccPipelineAddin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]