gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 42/90: -Minor tweaks to warningfilter.py regexes


From: gnunet
Subject: [gnunet] 42/90: -Minor tweaks to warningfilter.py regexes
Date: Tue, 18 Oct 2022 03:06:41 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 7162905b6914f0e829028934f5917686f60ef0c6
Author: Willow Liquorice <willow@howhill.com>
AuthorDate: Sun Sep 4 22:31:45 2022 +0100

    -Minor tweaks to warningfilter.py regexes
---
 contrib/warningfilter.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/contrib/warningfilter.py b/contrib/warningfilter.py
index b8399bb38..31ac5865c 100755
--- a/contrib/warningfilter.py
+++ b/contrib/warningfilter.py
@@ -61,18 +61,18 @@ matches = {
     "undocumented param (name)": re.compile(r"  parameter '([\w.]+)'"),
     "explicit link not resolved": re.compile(rf"{main_match} explicit link 
request to '(\w+(?:\(\))?)' could not be resolved"),
     "unknown command": re.compile(rf"{main_match} Found unknown command 
'(\\\w+)'"),
-    "missing argument": re.compile(rf"{main_match} argument '(\w+)' of command 
@param is not found in the argument list of 
{func_name}(?:{func_params}|{macro_params})"),
+    "missing argument": re.compile(rf"{main_match} argument '(\w+)' of command 
@param is not found in the argument list of 
({func_name})(?:{func_params}|{macro_params})"),
     "eof inside group": re.compile(rf"{main_match} end of file while inside a 
group"),
-    "eof inside comment": re.compile(rf"{main_match} Reached end of file while 
still inside a \(nested\) comment. Nesting level \d+ \(probable line reference: 
\d+\)"),
+    "eof inside comment": re.compile(rf"{main_match} Reached end of file while 
still inside a \(nested\) comment. Nesting level \d+ \(probable line reference: 
(\d+)\)"),
     "eof inside code block": re.compile(rf"{main_match} reached end of file 
while inside a 'code' block!"),
     "eof inside code block (line 2)": re.compile(rf"The command that should 
end the block seems to be missing!"),
     "title mismatch": re.compile(rf"{main_match} group (?P<group_id>\w+): 
ignoring title \"(?P<new_title>{verbose_name})\" that does not match old title 
\"(?P<old_title>{verbose_name})\""),
-    "end of comment expecting command": re.compile(rf"{main_match} end of 
comment block while expecting command {command_re}"),
+    "end of comment expecting command": re.compile(rf"{main_match} end of 
comment block while expecting command ({command_re})"),
     "no matching tag": re.compile(rf"{main_match} found </(?P<tag>[^>]+)> tag 
without matching <(?P=tag)>"),
     "documented empty return type": re.compile(rf"{main_match} documented 
empty return type of {func_name}"),
     "unsupported tag": re.compile(rf"{main_match} Unsupported xml/html tag 
<(?P<tag>[^>]+)> found"),
     "expected whitespace after command": re.compile(rf"{main_match} expected 
whitespace after \\(?P<command>\w+) command"),
-    "illegal command": re.compile(rf"{main_match} Illegal command 
(?P<illegal_cmd>(?:@|\\)\w+) as part of a (?P<command>\\\w+) command"),
+    "illegal command": re.compile(rf"{main_match} Illegal command 
(?P<illegal_cmd>(?:@|\\)\w+) as part of a \\(?P<command>\w+) command"),
     "undeclared symbol": re.compile(rf"{main_match} documented symbol '(\w+)' 
was not declared or defined\."),
     "nameless member": re.compile(rf"{main_match} member with no name found."),
     "end of empty list": re.compile(rf"{main_match} End of list marker found 
without any preceding list items"),

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]