LWN.net Logo

YYERROR__VERBOSE

YYERROR__VERBOSE

Posted Jul 26, 2012 13:40 UTC (Thu) by pbonzini (subscriber, #60935)
In reply to: YYERROR__VERBOSE by ballombe
Parent article: Bison 2.6 released

I agree, also for YYPARSE_PARAM and YYLEX_PARAM. Parsers are often write-and-forget, which means for programs such as Bison (unfortunately) there is no long-enough deprecation period.


(Log in to post comments)

YYERROR__VERBOSE

Posted Jul 26, 2012 21:33 UTC (Thu) by ballombe (subscriber, #9523) [Link]

Maybe they should make bison to output a deprecation warning for two release
before the removal.

YYERROR__VERBOSE

Posted Jul 27, 2012 16:39 UTC (Fri) by pbonzini (subscriber, #60935) [Link]

The only thing that _might_ work is printing an error and forcing people to add a --deprecated command-line option. And even then I'm not sure...

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds