1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 22:28:47 -04:00

note when a constant tag is ignored

This commit is contained in:
Kenichi Ishigaki 2015-04-16 17:14:44 +09:00
parent 50eaffaff6
commit 18fe076b34

View file

@ -170,7 +170,7 @@ sub extract_constants {
$tag =~ s/[ \-]+/_/g; $tag =~ s/[ \-]+/_/g;
($tag) = $tag =~ /^(\w+)/; ($tag) = $tag =~ /^(\w+)/;
$tag =~ s/_$//; $tag =~ s/_$//;
$tag = '' if $tag =~ / if ($tag =~ /
testing_interface | testing_interface |
library_version_numbers | library_version_numbers |
configuration_options | device_characteristics | configuration_options | device_characteristics |
@ -181,7 +181,10 @@ sub extract_constants {
virtual_table_indexing_information | virtual_table_indexing_information |
checkpoint_operation_parameters | checkpoint_mode | checkpoint_operation_parameters | checkpoint_mode |
conflict_resolution | text_encodings conflict_resolution | text_encodings
/x; /x) {
print "$tag is ignored\n";
$tag = '';
}
next; next;
} }
if ($tag && /^#define SQLITE_(\S+)\s+(?:\d|\(SQLITE)/) { if ($tag && /^#define SQLITE_(\S+)\s+(?:\d|\(SQLITE)/) {