[gtk-doc] scan: remove '%' that was missed in converting to py



commit 35992a3dc0a5a310839c25e800ec8192657231a9
Author: Stefan Sauer <ensonic users sf net>
Date:   Mon Mar 19 20:01:17 2018 +0100

    scan: remove '%' that was missed in converting to py
    
    Fixes #794182

 gtkdoc/scan.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc/scan.py b/gtkdoc/scan.py
index 56aa23a..cd0725e 100644
--- a/gtkdoc/scan.py
+++ b/gtkdoc/scan.py
@@ -228,7 +228,7 @@ def ScanHeader(input_file, section_list, decl_list, get_types, options):
 
     for line in common.open_text(input_file):
         # If this is a private header, skip it.
-        if re.search(r'%^\s*/\*\s*<\s*private_header\s*>\s*\*/', line):
+        if re.search(r'^\s*/\*\s*<\s*private_header\s*>\s*\*/', line):
             return
 
         # Skip to the end of the current comment.


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