summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-11 12:47:28 +0200
committerSlávek Banko <[email protected]>2020-06-11 12:47:54 +0200
commit904ca6724bbd6a5702c586b41d9ff2cf8695f6b9 (patch)
tree712d213246659d6ddc548b9479435e103ba2b8ca
parentb0d91a2d947e6523bfb4fdc969c668ce384e4976 (diff)
downloadkscope-904ca6724bbd6a5702c586b41d9ff2cf8695f6b9.tar.gz
kscope-904ca6724bbd6a5702c586b41d9ff2cf8695f6b9.zip
Fix FTBFS with stricter C++11.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit a178ab7c223b468c9a35479aec69483959de87bb)
-rw-r--r--src/makefrontend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefrontend.cpp b/src/makefrontend.cpp
index 326faf1..a330827 100644
--- a/src/makefrontend.cpp
+++ b/src/makefrontend.cpp
@@ -33,10 +33,10 @@
#define PATH_ELEM "[a-zA-Z0-9_\\.\\-]+"
#define RE_FILE_LINE \
- "((?:\\/)?(?:"PATH_ELEM"\\/)*"PATH_ELEM"):([0-9]+)(:[0-9]+)?: (.*)"
+ "((?:\\/)?(?:" PATH_ELEM "\\/)*" PATH_ELEM "):([0-9]+)(:[0-9]+)?: (.*)"
#define RE_ENTER_DIR \
"Entering directory " \
- "\\`((\\/)?("PATH_ELEM"\\/)*"PATH_ELEM")"
+ "\\`((\\/)?(" PATH_ELEM "\\/)*" PATH_ELEM ")"
#define RE_EXIT_DIR "Leaving directory"
/**