bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] move some code into condition_macro


From: Hideki IWAMOTO
Subject: Re: [PATCH] move some code into condition_macro
Date: Wed, 19 Mar 2003 23:17:14 +0900

On Wed, 19 Mar 2003 22:04:11 +0900, Shigio Yamaguchi wrote...
> Fixed with the following modification.
> Two code is logically equal, I think.
> 

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libutil -I../libdb -I../libglibc    -g 
-O2 -Wall -MT C.o -MD -MP -MF ".deps/C.Tpo" \
  -c -o C.o `test -f 'C.c' || echo './'`C.c; \
then mv ".deps/C.Tpo" ".deps/C.Po"; \
else rm -f ".deps/C.Tpo"; exit 1; \
fi
C.c:589: parse error before '}' token
make[1]: *** [C.o] Error 1
make[1]: Leaving directory `/home/iwamoto/work/global/gctags'
make: *** [install-recursive] Error 1


Index: gctags/C.c
===================================================================
RCS file: /cvsroot/global/global/gctags/C.c,v
retrieving revision 1.30
diff -u -r1.30 C.c
--- gctags/C.c  19 Mar 2003 12:59:41 -0000      1.30
+++ gctags/C.c  19 Mar 2003 14:16:20 -0000
@@ -580,7 +580,7 @@
                        if (target == REF) {
                                if (dflag && defined(token))
                                        PUT(token, lineno, sp);
-                       } else if (target == SYM)
+                       } else if (target == SYM) {
                                if (!dflag || !defined(token))
                                        PUT(token, lineno, sp);
                        }
Index: gctags/Cpp.c
===================================================================
RCS file: /cvsroot/global/global/gctags/Cpp.c,v
retrieving revision 1.27
diff -u -r1.27 Cpp.c
--- gctags/Cpp.c        19 Mar 2003 12:59:41 -0000      1.27
+++ gctags/Cpp.c        19 Mar 2003 14:16:20 -0000
@@ -624,7 +624,7 @@
                        if (target == REF) {
                                if (dflag && defined(token))
                                        PUT(token, lineno, sp);
-                       } else if (target == SYM)
+                       } else if (target == SYM) {
                                if (!dflag || !defined(token))
                                        PUT(token, lineno, sp);
                        }

----
Hideki IWAMOTO  address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]