diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-11 12:47:28 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-11 12:47:54 +0200 |
commit | 904ca6724bbd6a5702c586b41d9ff2cf8695f6b9 (patch) | |
tree | 712d213246659d6ddc548b9479435e103ba2b8ca | |
parent | b0d91a2d947e6523bfb4fdc969c668ce384e4976 (diff) | |
download | kscope-904ca6724bbd6a5702c586b41d9ff2cf8695f6b9.tar.gz kscope-904ca6724bbd6a5702c586b41d9ff2cf8695f6b9.zip |
Fix FTBFS with stricter C++11.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a178ab7c223b468c9a35479aec69483959de87bb)
-rw-r--r-- | src/makefrontend.cpp | 4 |
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" /** |