[Nice-commit] Nice/src/bossa/parser Parser.jj,1.268,1.269
Brought to you by:
bonniot
From: Arjan B. <ar...@us...> - 2004-10-13 18:29:28
|
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() { |