[gtk-doc] scan: fix regexp for adding doc comments
- From: Stefan Sauer <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] scan: fix regexp for adding doc comments
- Date: Wed, 9 Aug 2017 10:45:20 +0000 (UTC)
commit a90bc60eb1438f59dec8d7b0fc9e01629b4c4300
Author: Stefan Sauer <ensonic users sf net>
Date: Wed Aug 9 12:41:20 2017 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]