From 50db93006e14c7310837f5ad4c48aa3c7afbc400 Mon Sep 17 00:00:00 2001 From: Xabier Rodriguez Calvar Date: Tue, 13 Feb 2018 14:02:39 +0100 Subject: [PATCH] debug-viewer: Fix C++ detection of lambdas as function https://bugzilla.gnome.org/show_bug.cgi?id=793422 --- debug-viewer/GstDebugViewer/Data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug-viewer/GstDebugViewer/Data.py b/debug-viewer/GstDebugViewer/Data.py index f6873bf54e..752bcd6246 100644 --- a/debug-viewer/GstDebugViewer/Data.py +++ b/debug-viewer/GstDebugViewer/Data.py @@ -155,7 +155,7 @@ def default_log_line_regex_(): PID = r"(\d+)\s*" FILENAME = r"([^:]*):" LINE = r"(\d+):" - FUNCTION = "([A-Za-z0-9_]*):" + FUNCTION = "([A-Za-z0-9_]*|operator\(\)):" # FIXME: When non-g(st)object stuff is logged with *_OBJECT (like # buffers!), the address is printed *without* <> brackets! OBJECT = "(?:<([^>]+)>)?"