mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -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++;
|
$line++;
|
||||||
if (/^(.*)\/\//) {
|
if (/^(.*)\/\//) {
|
||||||
my $m = $1;
|
my $m = $1;
|
||||||
if ($m !~ /\*/ && $m !~ /http:$/) { # skip the // in c++ comment in parse.c
|
if ($m !~ /\*/ && $m !~ /http:$/ && $m !~ m!"/*?$!) { # skip the // in c++ comment in parse.c
|
||||||
fail("C++ comment in $file line $line");
|
fail("C++ comment in $file line $line: $m");
|
||||||
next FILE;
|
next FILE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue