Update of /cvsroot/nice/Nice/src/bossa/parser
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18045/F:/nice/src/bossa/parser
Modified Files:
Parser.jj
Log Message:
Removed the deprecated 'Any' keyword.
Index: Parser.jj
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/parser/Parser.jj,v
retrieving revision 1.268
retrieving revision 1.269
diff -C2 -d -r1.268 -r1.269
*** Parser.jj 12 Oct 2004 16:57:19 -0000 1.268
--- Parser.jj 13 Oct 2004 18:28:47 -0000 1.269
***************
*** 189,193 ****
| < AT: "@" >
| < EXACTLY_AT: "#" >
- | < ANY_: "Any" > /* Nice specific */
// Assertions
--- 189,192 ----
***************
*** 448,452 ****
{
( t = <IDENT>
- | t = "Any"
| t = "alike"
| t = "var"
--- 447,450 ----
***************
*** 586,592 ****
}
| { boolean sure = false; }
! [ t="Any" { User.warning(makeLocation(t), "The 'Any' keyword is deprecated,
leave it away."); }
! | "!" { sure = true; }
! ]
id=monotypeVar()
{
--- 584,588 ----
}
| { boolean sure = false; }
! [ "!" { sure = true; } ]
id=monotypeVar()
{
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
|