projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1284f78
)
Skip pre-setting names.
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 13 Jan 2009 17:01:04 +0000
(17:01 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Tue, 13 Jan 2009 17:01:04 +0000
(17:01 +0000)
tools/url-pattern-translator.pl
patch
|
blob
|
history
diff --git
a/tools/url-pattern-translator.pl
b/tools/url-pattern-translator.pl
index
9dfa78f
..
09a2a24
100755
(executable)
--- a/
tools/url-pattern-translator.pl
+++ b/
tools/url-pattern-translator.pl
@@
-18,7
+18,7
@@
# Only convert your files once, or, as RoboCop used to say,
# there will be... trouble.
#
# Only convert your files once, or, as RoboCop used to say,
# there will be... trouble.
#
-# $Id: url-pattern-translator.pl
1.10 2008/08/10 16:32:59 fk
Exp $
+# $Id: url-pattern-translator.pl
,v 1.2 2008/08/10 16:35:47 fabiankeil
Exp $
#
# Copyright (c) 2008 Fabian Keil <fk@fabiankeil.de>
#
#
# Copyright (c) 2008 Fabian Keil <fk@fabiankeil.de>
#
@@
-101,9
+101,13
@@
sub looks_interesting($) {
$type_to_skip = "macro or version definition";
$type_to_skip = "macro or version definition";
+ } elsif (m@^\s*standard\.@) {
+
+ $type_to_skip = "predefined settings";
+
}
}
- #p("Skipping " . $type_to_skip . ": " . $_);
+ #p("Skipping " . $type_to_skip . ": " . $_)
if defined $type_to_skip
;
return not defined $type_to_skip;
}
return not defined $type_to_skip;
}