From a90bc60eb1438f59dec8d7b0fc9e01629b4c4300 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Wed, 9 Aug 2017 12:41:20 +0200 Subject: [PATCH] scan: fix regexp for adding doc comments There was a leftover '/' from the perl port. This caused gobject symbols missing, when not using gtkdoc-scangobj. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=784209 --- gtkdoc/scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtkdoc/scan.py b/gtkdoc/scan.py index 9e212ab..0843519 100644 --- a/gtkdoc/scan.py +++ b/gtkdoc/scan.py @@ -236,7 +236,7 @@ def ScanHeader(input_file, section_list, decl_list, get_types, options): logging.info('Comment: %s', line.strip()) doc_comment += line if re.search(r'\*/', line): - m = re.search(r'\* ([a-zA-Z][a-zA-Z0-9_]+):/', doc_comment) + m = re.search(r'\* ([a-zA-Z][a-zA-Z0-9_]+):', doc_comment) if m: doc_comments[m.group(1).lower()] = 1 in_comment = 0 -- 2.11.4.GIT