bug-gnu-emacs
[Top][All Lists]
Advanced

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

etags.c does not skip white space in Perl_functions


From: Yuri Shtil
Subject: etags.c does not skip white space in Perl_functions
Date: Tue, 26 Feb 2008 12:24:28 -0800
User-agent: Thunderbird 2.0.0.9 (X11/20071115)

call to skip_places in Perl_functions ignores the return value.

Here is a diff I propose:

diff -c -F'^[_a-zA-Z0-9$]+ *(' etags_old.c etags.c
*** etags_old.c    2008-02-26 12:22:10.477948000 -0800
--- etags.c    2008-02-26 11:28:58.252938000 -0800
***************
*** 4509,4515 ****

   LOOP_ON_INPUT_LINES (inf, lb, cp)
     {
!       skip_spaces(cp);

       if (LOOKING_AT (cp, "package"))
     {
--- 4509,4515 ----

   LOOP_ON_INPUT_LINES (inf, lb, cp)
     {
!       cp = skip_spaces(cp);

       if (LOOKING_AT (cp, "package"))
     {




reply via email to

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