diff --git a/userspace/marsadm b/userspace/marsadm index ad689379..72941d80 100755 --- a/userspace/marsadm +++ b/userspace/marsadm @@ -436,7 +436,7 @@ sub call_hook { # syntactic scanning / parsing -my $match_comment = qr'#[^\n]*|//\h[^\n]*|/\*(?:[^*]|\*[^/])*\*/'; +my $match_comment = qr'#[^\n]*|//\h[^\n]*|/\*(?:[^*]|\*[^/])*\*/|\\\n\s*'; my $match_nobrace = qr'(?:[^{}\\]|\\.)*'s; my $match_inner = $match_nobrace; my $match_brace = qr"\{$match_inner\}"s;