Commit a7453a64 authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

coccinelle 1.0 has changed the syntax for regexps


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1210226 13f79535-47bb-0310-9956-ffa450edef68
parent 32284517
Loading
Loading
Loading
Loading
+3 −3
Changes for docs/log-message-tags/find-messages.cocci: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@r@
expression rv, s;
constant char [] format;
identifier level ~= "^APLOG_\(EMERG\|ALERT\|CRIT\|ERR\|WARNING\|NOTICE\|INFO\|STARTUP\|DEBUG\)$";
identifier fn ~= "^ap_log_\(\|r\|c\|p\)error$";
constant char [] format !~ "APLOGNO";
identifier level =~ "^APLOG_(EMERG|ALERT|CRIT|ERR|WARNING|NOTICE|INFO|STARTUP|DEBUG)$";
identifier fn =~ "^ap_log_(|r|c|p)error$";

@@
        fn( APLOG_MARK ,