[svn:parrot] r38867 - trunk/lib/Parrot/Configure

fperrad at svn.parrot.org fperrad at svn.parrot.org
Sun May 17 10:27:30 UTC 2009


Author: fperrad
Date: Sun May 17 10:27:28 2009
New Revision: 38867
URL: https://trac.parrot.org/parrot/changeset/38867

Log:
[config] specify a comment type for PIR file generation.
See result in runtime/parrot/library/config.pir

Modified:
   trunk/lib/Parrot/Configure/Compiler.pm

Modified: trunk/lib/Parrot/Configure/Compiler.pm
==============================================================================
--- trunk/lib/Parrot/Configure/Compiler.pm	Sun May 17 04:48:02 2009	(r38866)
+++ trunk/lib/Parrot/Configure/Compiler.pm	Sun May 17 10:27:28 2009	(r38867)
@@ -54,6 +54,9 @@
     perl => {
         comment_type    => '#',
     },
+    pir => {
+        comment_type    => '#',
+    },
 );
 
 =item C<cc_gen()>
@@ -359,6 +362,9 @@
         elsif ($target =~ m/\.pmc$/ ) {
             $options{file_type} = 'pmc';
         }
+        elsif ($target =~ m/\.pir$/ ) {
+            $options{file_type} = 'pir';
+        }
     } elsif ( $options{file_type} eq 'none' ) {
         delete $options{file_type};
     }


More information about the parrot-commits mailing list