diff options
author | Xabier Rodriguez Calvar <calvaris@igalia.com> | 2018-02-13 14:02:39 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-02-14 00:40:07 +0000 |
commit | 50db93006e14c7310837f5ad4c48aa3c7afbc400 (patch) | |
tree | 0506eda79de42c0393372e1a30c9e20793c8a461 | |
parent | 55274bc89f46a8bd0345e76f0fe384a1cd8c7d25 (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.py | 2 |
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 = "(?:<([^>]+)>)?" |