OSDN Git Service

Don't add a space before `/*' when processing comments.
authoramodra <amodra>
Sat, 8 Jul 2000 12:00:26 +0000 (12:00 +0000)
committeramodra <amodra>
Sat, 8 Jul 2000 12:00:26 +0000 (12:00 +0000)
bfd/doc/ChangeLog
bfd/doc/chew.c

index 39c7265..3a739b7 100644 (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
index eba69c2..4f5036c 100644 (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) =='}')