[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] ".if '...'...' \# comments ..." Bug?
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] ".if '...'...' \# comments ..." Bug? |
Date: |
Wed, 05 May 2004 19:10:38 +0200 (CEST) |
> I noticed an odd behavior using groff 1.18 with the .if request and
> '...'...' expression. The following request sequence operates as
> expected:
>
> .if '\*[FunctionalVerificationAspectsFigure]'' \
> . ds FunctionalVerificationAspectsFigure 999
>
> If string register FunctionalVerificationAspectsFigure is null, the
> .ds request initializes it. However, when the .if request has \#
> comment appended to the line:
>
> .if '\*[FunctionalVerificationAspectsFigure]'' \# formatting of this
> . ds FunctionalVerificationAspectsFigure 999
>
> the .ds request is unconditionally executed, independent of the
> value of FunctionalVerificationAspectsFigure.
I'm not sure whether this has been fixed already in 1.19, but with
the CVS it works as *you* expect (sorry, Alejandro :-).
Werner
- Re: [Groff] ".if '...'...' \# comments ..." Bug?,
Werner LEMBERG <=