Re: [ENHANCEMENT] Change format of %{ %}

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>
Hi Arthur,

> Le 15 janv. 2014 à 00:52, Arthur Schwarz <[email protected]> a écrit :
> 
> All the code placement options end in '}' except "%{" which ends with "$}". For conformity maybe its time to obsolete the "%}" ending and change to '}'

Cannot do that: %{ ... %} is mandated by POSIX Yacc.  It wouldn't be
helpful to our users to deprecate that.

FWIW, I often get caught myself.

Cheers!

> This then becomes:
> %{ } obsoleting %{ %}
> %code { }
> %code top { }
> %code required { }
> %code provided { }
> 
> thanks
> art
> _______________________________________________
> [email protected] https://lists.gnu.org/mailman/listinfo/help-bison
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.