summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXabier Rodriguez Calvar <calvaris@igalia.com>2018-02-13 14:02:39 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-02-14 00:40:07 +0000
commit50db93006e14c7310837f5ad4c48aa3c7afbc400 (patch)
tree0506eda79de42c0393372e1a30c9e20793c8a461
parent55274bc89f46a8bd0345e76f0fe384a1cd8c7d25 (diff)
debug-viewer: Fix C++ detection of lambdas as function
https://bugzilla.gnome.org/show_bug.cgi?id=793422
-rw-r--r--debug-viewer/GstDebugViewer/Data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug-viewer/GstDebugViewer/Data.py b/debug-viewer/GstDebugViewer/Data.py
index f6873bf..752bcd6 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 = "(?:<([^>]+)>)?"