[gtksourceview] language-parser-2: fix comment



commit 0e3e677b63b8c2bc6d63213fb040e907a93b329c
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Sep 1 19:57:54 2015 +0200

    language-parser-2: fix comment
    
    The regex is already complicated, but if there are errors in it, …

 gtksourceview/gtksourcelanguage-parser-2.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/gtksourcelanguage-parser-2.c b/gtksourceview/gtksourcelanguage-parser-2.c
index ce54563..9a4c914 100644
--- a/gtksourceview/gtksourcelanguage-parser-2.c
+++ b/gtksourceview/gtksourcelanguage-parser-2.c
@@ -1102,13 +1102,13 @@ replace_delimiter (const GMatchInfo *match_info,
 
 static gchar *
 expand_regex_delimiters (ParserState *parser_state,
-               gchar *regex,
-               gint len)
+                        gchar       *regex,
+                        gint         len)
 {
        /* This is the commented regex without the doubled escape needed
         * in a C string:
         *
-        * (?<!\\)(\\\\)*\\%([\[|\])
+        * (?<!\\)(\\\\)*\\%(\[|\])
         * |------------||---------|
         *      |             |
         *      |        the strings


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