[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gperf-bugs] Re: Bug#202474: %{ %} is broken
From: |
Bruno Haible |
Subject: |
Re: [Gperf-bugs] Re: Bug#202474: %{ %} is broken |
Date: |
Thu, 24 Jul 2003 22:00:03 +0200 |
User-agent: |
KMail/1.5 |
Falk Hueffner wrote:
> > Package: gperf
> > Version: 3.0-3
> > Severity: normal
> > File: /usr/bin/gperf
> >
> > gperf 3.0
Please use gperf 3.0.1 instead; gperf 3.0 was superseded due to a bug that
made it impossible to build glibc with this version of gperf.
> > doesn't accept %{ %} constructs any more:
> >
> > % echo -e "%{\nint x;\n%}\nbadjak\nmanis" | gperf
> > (standard input):1: declarations are not allowed in the keywords section.
> > To declare a keyword starting with %, enclose it in double-quotes.
>
> This works though:
> echo -e "%{\nint x;\n%}\n%%\nbadjak\nmanis" | gperf
> ^^^^
Right. The documentation section "Input Format" says that the
declarations section and the functions section are optional.
It does *not* say that the section separators are optional.
> > This used to work with 2.7.2.
... but was not consistent with the documentation of gperf 2.7.2.
> > It breaks bootstrapping gcc
Then it's a bug in gcc's *.gperf files.
Bruno