From 0c9dffd3af29febd389b17e0559b43e48049885b Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sun, 4 Feb 2007 20:06:10 +0000 Subject: [PATCH] Correct parser by using intended C equality ("==") instead of assignment ("=") operator. --- usr.bin/ctags/fortran.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/ctags/fortran.c b/usr.bin/ctags/fortran.c index ef6c45fee258..3761615f10eb 100644 --- a/usr.bin/ctags/fortran.c +++ b/usr.bin/ctags/fortran.c @@ -124,7 +124,7 @@ PF_funcs() continue; for (cp = lbp + 1; *cp && intoken(*cp); ++cp) continue; - if ((cp = lbp + 1)) + if (cp == lbp + 1) continue; *cp = EOS; (void)strlcpy(tok, lbp, sizeof(tok)); /* possible trunc */