mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 06:08:38 -04:00
ignore /// in a quote
This commit is contained in:
parent
f85a740e70
commit
4dc70a9d9e
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ foreach my $file (@c_files) {
|
|||
$line++;
|
||||
if (/^(.*)\/\//) {
|
||||
my $m = $1;
|
||||
if ($m !~ /\*/ && $m !~ /http:$/) { # skip the // in c++ comment in parse.c
|
||||
fail("C++ comment in $file line $line");
|
||||
if ($m !~ /\*/ && $m !~ /http:$/ && $m !~ m!"/*?$!) { # skip the // in c++ comment in parse.c
|
||||
fail("C++ comment in $file line $line: $m");
|
||||
next FILE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue