[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ylwrap proposition
From: |
Sergey Poznyakoff |
Subject: |
Re: ylwrap proposition |
Date: |
Sat, 23 Jun 2007 21:19:47 +0300 |
Bob Proulx <address@hidden> ha escrit:
> I believe that it is very well known and well propagated knowledge
> that the strings yy and YY are often used to mutate the result into a
> unique identifier. Almost all practical documentation uses sed
> substitution in the examples. In fact this may be such a well known
> technique that many users are probably relying upon this happening for
> their own identifiers in addition to the ones from yacc/lex.
That is true when one has only one parser in his program. Note, that
`--prefix' is designed only for the cases, when one needs to have
several yacc-generated parsers within a single program. In such cases,
it is impossible to link them together without renaming all
globally-visible identifiers.
Regards,
Sergey