mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 00:50:53 +00:00
fancy listbox
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@369 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -143,7 +143,7 @@ sub scan_dir {
|
||||
|
||||
$l =~ s/[ \t]+/ /g;
|
||||
$l =~ s/[ ]*(?:\\|,[ ]*)$//g;
|
||||
$l =~ s/[ ]*(?:;|\{.*)[ ]*$/;/g;
|
||||
$l =~ s/[ ]*(?:;( \/\*.+)?|\{.*)[ ]*$/;/g;
|
||||
if (!($l =~ /^#/)) {
|
||||
$l =~ s/\(([^\)]+)\)/arguments($1)/ge;
|
||||
}
|
||||
@@ -153,7 +153,7 @@ sub scan_dir {
|
||||
$sl =~ s/=.+$//g;
|
||||
$sl =~ s/^#[^ ]+(?:[ \t]+([^ \(]+)(?:.+$))?/\1/;
|
||||
$sl =~ s/^.+[ \t]+([^ ]+)[ \t]*\(.+\);?$/\1/g;
|
||||
$sl =~ s/^.+[ \t]+([^ ]+);$/\1/g;
|
||||
$sl =~ s/^.+[ \t]+([^ ]+);( \/\*.+)?$/\1/g;
|
||||
|
||||
$id = replace_special($current . "__" . $sl);
|
||||
$attr = " id=\"$id\"";
|
||||
|
||||
Reference in New Issue
Block a user