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:28 +0200
commita178ab7c223b468c9a35479aec69483959de87bb (patch)
tree3f8747dbda70f438add07711fea288fd4656a727
parent510ebba261ce437a7800b9dc653d64c093b7890e (diff)
downloadkscope-a178ab7c223b468c9a35479aec69483959de87bb.tar.gz
kscope-a178ab7c223b468c9a35479aec69483959de87bb.zip
Fix FTBFS with stricter C++11.
Signed-off-by: Slávek Banko <[email protected]>
-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"
/**