bug-groff
[Top][All Lists]
Advanced

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

Re: gpic bug


From: Russ Cox
Subject: Re: gpic bug
Date: Thu, 2 May 2002 00:07:48 -0400

I think I lost some context here.  My message was talking
about the fact that WITH (0,0) has been valid in the
grammar as far back as 1985.

The current rules for attributes say:

attr:
          ATTR expr             { makefattr($1, !DEFAULT, $2); }
        | ATTR                  { makefattr($1, DEFAULT, 0.0); }
        | expr                  { makefattr(curdir(), !DEFAULT, $1); }
        | DIR expr              { makefattr($1, !DEFAULT, $2); }
        | DIR                   { makefattr($1, DEFAULT, 0.0); }
        | FROM position         { makeoattr($1, $2); }
        | TO position           { makeoattr($1, $2); }
        | AT position           { makeoattr($1, $2); }
        | BY position           { makeoattr($1, $2); }
        | WITH CORNER           { makeiattr(WITH, $2); }
        | WITH '.' PLACENAME    { makeoattr(PLACE, getblock(getlast(1,BLOCK), 
$3)); }
        | WITH '.' PLACENAME CORNER
                { makeoattr(PLACE, getpos(getblock(getlast(1,BLOCK), $3), $4)); 
}
        | WITH position         { makeoattr(PLACE, $2); }
        | SAME                  { makeiattr(SAME, $1); }
        | TEXTATTR              { maketattr($1, (char *) 0); }
        | HEAD                  { makeiattr(HEAD, $1); }
        | DOT expr              { makefattr(DOT, !DEFAULT, $2); }
        | DOT                   { makefattr(DOT, DEFAULT, 0.0); }
        | DASH expr             { makefattr(DASH, !DEFAULT, $2); }
        | DASH                  { makefattr(DASH, DEFAULT, 0.0); }
        | CHOP expr             { makefattr(CHOP, !DEFAULT, $2); }
        | CHOP                  { makefattr(CHOP, DEFAULT, 0.0); }
        | CHOP PLACENAME        { makeattr(CHOP, PLACENAME, getvar($2)); }
        | FILL expr             { makefattr(FILL, !DEFAULT, $2); }
        | FILL                  { makefattr(FILL, DEFAULT, 0.0); }
        | NOEDGE                { makeiattr(NOEDGE, 0); }
        | textlist
        ;

Can you give me an example of what you think
doesn't work with the AT&T pic?

Russ



reply via email to

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