diff --git a/boot.c b/boot.c index 00b1671e..07756ced 100644 --- a/boot.c +++ b/boot.c @@ -2,19 +2,6 @@ use strict; -open IN, "./boot.c"; -my @data = ; -close IN; - -open STDOUT, ">", "./boot.c"; - -foreach (@data) { - print; - last if $_ eq "#---END---\n"; -} - -print "\n#endif\n\n"; - my $src = <<'EOL'; (define-library (picrin base) @@ -360,6 +347,19 @@ my $src = <<'EOL'; EOL +open IN, "./boot.c"; +my @data = ; +close IN; + +open STDOUT, ">", "./boot.c"; + +foreach (@data) { + print; + last if $_ eq "#---END---\n"; +} + +print "\n#endif\n\n"; + print <