This is the mail archive of the automake-prs@sources.redhat.com mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

automake/322: Comment parsing bug



>Number:         322
>Category:       automake
>Synopsis:       Comment parsing bug
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 13 12:41:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     braden@endoframe.com
>Release:        1.6.1
>Organization:
>Environment:
Red Hat Linux 7.3
>Description:
Automake 1.6.1 seems to have a problem parsing comments that use '\' to span multiple lines.
>How-To-Repeat:
I encountered this bug when using automake with a file that contained a commented-out section of the form

  # SOME_FILES = \
          file1 \
          file2 \
          file3

In the generated Makefile.in, only the first line was omitted:

          file1 \
          file2 \
          file3

... giving a syntax error when running 'make', of course.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]