Skip to content

Commit

Permalink
[cage] Provide coda for generated include/*.pasm files #1032
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Feb 24, 2014
1 parent 0cad250 commit 45d8e31
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion lib/Parrot/H2inc.pm
@@ -1,5 +1,5 @@
package Parrot::H2inc;
# Copyright (C) 2010, Parrot Foundation.
# Copyright (C) 2010-2014, Parrot Foundation.

use strict;
use warnings;
Expand Down Expand Up @@ -335,6 +335,7 @@ sub print_generated_file {
my $args = shift;
open my $out_fh, '>', $args->{out} or die "Can't open $args->{out}: $!\n";
print {$out_fh} <<"EOF";
# ex: set ro ft=c:
# DO NOT EDIT THIS FILE.
#
# This file is generated automatically from
Expand All @@ -343,6 +344,13 @@ sub print_generated_file {
# Any changes made here will be lost.
#
$args->{gen}
# Local Variables:
# mode: pir
# buffer-read-only: t
# fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:
EOF
close $out_fh;

Expand Down
2 changes: 1 addition & 1 deletion tools/build/h2inc.pl
@@ -1,4 +1,4 @@
# Copyright (C) 2011, Parrot Foundation.
# Copyright (C) 2011-2014, Parrot Foundation.

=head1 NAME
Expand Down

0 comments on commit 45d8e31

Please sign in to comment.