summaryrefslogtreecommitdiff
path: root/lib/sbin/c_file_processor.pl
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-02-05 15:22:32 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-02-05 15:22:32 +0000
commit876c099af10edaad749727fdba7e26b0b8190a14 (patch)
treebb752bab669c9fcf489254b98bfbcc72d5d6882d /lib/sbin/c_file_processor.pl
parent8960d8e4c782e52ba7e7c2c2a0d21cb5ddf3968f (diff)
Removed new lines in USE_CCTK_ARGUMENTS
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1367 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/c_file_processor.pl')
-rw-r--r--lib/sbin/c_file_processor.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sbin/c_file_processor.pl b/lib/sbin/c_file_processor.pl
index 9764e6ca..f6e0e525 100644
--- a/lib/sbin/c_file_processor.pl
+++ b/lib/sbin/c_file_processor.pl
@@ -8,7 +8,7 @@
# with by the normal c preprocessor.
#
# It also parses the C source and adds the USE macros, which perform
-# a dummy assign. This avoid ugky warnings on some compilers.
+# a dummy assign. This avoid ugly warnings on some compilers.
# This auto adding was tested on all C-thorns and it worked. Since this
# does not match the full C syntax, there can pathological cases, where
# this script will not be able to put the USE stuff in the right place.
@@ -95,17 +95,17 @@ while(<>)
}
if (($par eq "") &&($mline=~/}/)&&(($domacro1==1)||($domacro2==1)))
{
- $frag1="\n/* DUMMY MACROS STARTX */\n";
+ $frag1="/* DUMMY MACROS STARTX */";
$frag2="/* DUMMY MACROS ENDX */ ";
if ($domacro1==1)
{
- $frag1.="$addmacro1\n";
+ $frag1.="$addmacro1 ";
$done1 =1;
$domacro1=0;
}
if ($domacro2==1)
{
- $frag1.="$addmacro2\n";
+ $frag1.="$addmacro2 ";
$done2 =1;
$domacro2=0;
}