[gtk-doc/wip/work-around-98-110] Partially revert a gtk-doc 1.31 change that broke e-d-s and NM builds




commit a13178de3f67499f8394be3df0552b72b55b92e5
Author: Kalev Lember <klember redhat com>
Date:   Thu Nov 28 14:38:59 2019 +0100

    Partially revert a gtk-doc 1.31 change that broke e-d-s and NM builds
    
    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

 gtkdoc/scan.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtkdoc/scan.py b/gtkdoc/scan.py
index 6c6534a2..341939ac 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()):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]