[svn:parrot] r48898 - trunk/tools/dev
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Fri Sep 10 01:25:08 UTC 2010
Author: NotFound
Date: Fri Sep 10 01:25:08 2010
New Revision: 48898
URL: https://trac.parrot.org/parrot/changeset/48898
Log:
avoid svn playing with the Id mark for the generated files in nci_thunk_gen
Modified:
trunk/tools/dev/nci_thunk_gen.pir
Modified: trunk/tools/dev/nci_thunk_gen.pir
==============================================================================
--- trunk/tools/dev/nci_thunk_gen.pir Fri Sep 10 01:08:50 2010 (r48897)
+++ trunk/tools/dev/nci_thunk_gen.pir Fri Sep 10 01:25:08 2010 (r48898)
@@ -313,7 +313,7 @@
str_file = concat str_file, '.str'
.local string head
- head = 'sprintf'(<<'HEAD', c_file, ext_defn, str_file)
+ head = 'sprintf'(<<'HEADSTART', c_file)
/* ex: set ro ft=c:
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
*
@@ -326,7 +326,13 @@
/* %s
* Copyright (C) 2010, Parrot Foundation.
* SVN Info
- * $Id$
+HEADSTART
+
+ # Avoid svn mangling here by hex encoding the dollar signs
+ head = concat head, " * \x{24}Id: \x{24}\n"
+
+ .local string headtail
+ headtail = 'sprintf'(<<'HEAD', ext_defn, str_file)
* Overview:
* Native Call Interface routines. The code needed to build a
* parrot to C call frame is in here
@@ -355,6 +361,7 @@
hackish, but that is just fine */
HEAD
+ head = concat head, headtail
.return (head)
.end
More information about the parrot-commits
mailing list