Don't add a space before `/*' when processing comments.

This commit is contained in:
Alan Modra 2000-07-08 12:00:26 +00:00
parent bd79f7577d
commit 181866dcc7
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2000-07-08 Alan Modra <alan@linuxcare.com.au>
* chew.c (outputdots): Don't add a space before `/*'.
(courierize): Likewise.
Wed May 24 12:03:25 2000 Hans-Peter Nilsson <hp@axis.com>
* bfdint.texi (BFD ELF processor required): Add paragraph about

View File

@ -1,5 +1,5 @@
/* chew
Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 1998
Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 1998, 2000
Free Software Foundation, Inc.
Contributed by steve chamberlain @cygnus
@ -634,7 +634,7 @@ DEFUN_VOID(outputdots)
{
if (c == '{' && at(tos,idx+1) =='*')
{
cattext(&out," /*");
cattext(&out,"/*");
idx+=2;
}
else if (c == '*' && at(tos,idx+1) =='}')
@ -685,7 +685,7 @@ WORD(courierize)
{
if (at(tos,idx)=='{' && at(tos,idx+1) =='*')
{
cattext(&out," /*");
cattext(&out,"/*");
idx+=2;
}
else if (at(tos,idx)=='*' && at(tos,idx+1) =='}')