Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #39791] [TODO] deprecate @MAIN syntax in favor of :main

0 views
Skip to first unread message

Jerry Gay

unread,
Jul 11, 2006, 2:09:11 PM7/11/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Jerry Gay
# Please include the string: [perl #39791]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=39791 >


everybody wanted the colon, and now we have it. it's time to lop off
@these ungainly warts@.

an untested first attempt appears below.
~jerry

Index: compilers/imcc/imcc.l
===================================================================
--- compilers/imcc/imcc.l (revision 13249)
+++ compilers/imcc/imcc.l (working copy)
@@ -259,12 +259,6 @@

"method" return(METHOD); /* old compat cruft -
the canonical colon names are below */
-<emit,INITIAL>"@MULTI" return(MULTI);
-<emit,INITIAL>"@MAIN" return(MAIN);
-<emit,INITIAL>"@LOAD" return(LOAD);
-<emit,INITIAL>"@IMMEDIATE" return(IMMEDIATE);
-<emit,INITIAL>"@POSTCOMP" return(POSTCOMP);
-<emit,INITIAL>"@ANON" return(ANON);

":method" return(METHOD);
<emit,INITIAL>":multi" return(MULTI);

0 new messages