marsadm: C++ comments must be followed by whitespace

They can interfere with http://myserver.org syntax.
This commit is contained in:
Thomas Schoebel-Theuer 2019-02-02 16:36:57 +01:00 committed by Thomas Schoebel-Theuer
parent e4e6d9b7a3
commit c6e31dc6da
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ sub rsync_cmd {
# syntactic scanning / parsing # syntactic scanning / parsing
my $match_comment = "#[^\n]*\n|//[^\n]*\n|/\\*(?:[^*]|\\*[^/])*\\*/|\\\\\n\\s*"; my $match_comment = qr'#[^\n]*|//\h[^\n]*|/\*(?:[^*]|\*[^/])*\*/';
my $match_nobrace = qr'(?:[^{}\\]|\\.)*'s; my $match_nobrace = qr'(?:[^{}\\]|\\.)*'s;
my $match_inner = $match_nobrace; my $match_inner = $match_nobrace;
my $match_brace = qr"\{$match_inner\}"s; my $match_brace = qr"\{$match_inner\}"s;