mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 00:50:53 +00:00
add messagebox
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@338 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
|
||||
open(IN, "<", "resource/harvard.txt");
|
||||
print("const char* harvard[] = {\n");
|
||||
while(my $l = <IN>){
|
||||
$l =~ s/\r?\n$//;
|
||||
if($l =~ /^[ \t]*[0-9]+\. (.+)$/){
|
||||
print(" \"" . $1 . "\",\n");
|
||||
}
|
||||
while (my $l = <IN>) {
|
||||
$l =~ s/\r?\n$//;
|
||||
if ($l =~ /^[ \t]*[0-9]+\. (.+)$/) {
|
||||
print(" \"" . $1 . "\",\n");
|
||||
}
|
||||
}
|
||||
print(" NULL\n");
|
||||
print("};\n");
|
||||
|
||||
Reference in New Issue
Block a user