summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2019-11-28 14:38:59 +0100
committerSimon McVittie <smcv@debian.org>2020-08-28 15:12:41 +0100
commita13178de3f67499f8394be3df0552b72b55b92e5 (patch)
treef4d23f17f861184580971d083867724cdb0718d6
parent9e7c27376f57064ac44833abd530c12e5943e2f7 (diff)
downloadgtk-doc-wip/work-around-98-110.tar.gz
Partially revert a gtk-doc 1.31 change that broke e-d-s and NM buildswip/work-around-98-110
Bug: https://gitlab.gnome.org/GNOME/gtk-doc/-/issues/98 Bug: https://gitlab.gnome.org/GNOME/gtk-doc/-/issues/110 Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1775560
-rw-r--r--gtkdoc/scan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtkdoc/scan.py b/gtkdoc/scan.py
index 6c6534a..341939a 100644
--- a/gtkdoc/scan.py
+++ b/gtkdoc/scan.py
@@ -978,8 +978,8 @@ def ScanHeaderContent(input_lines, decl_list, get_types, options):
logging.info('struct/union level : %d', level)
# here we want in_declaration=='', otherwise we have a partial declaration
- if in_declaration != '':
- raise RuntimeError('partial declaration (%s) : %s ' % (in_declaration, decl))
+ #if in_declaration != '':
+ # raise RuntimeError('partial declaration (%s) : %s ' % (in_declaration, decl))
# print remaining forward declarations
for symbol in sorted(forward_decls.keys()):