[Nice-commit] Nice/debian changelog,1.132,1.133
Brought to you by:
bonniot
From: <ar...@us...> - 2003-02-25 20:36:59
|
Update of /cvsroot/nice/Nice/debian In directory sc8-pr-cvs1:/tmp/cvs-serv20675/F:/nice/debian Modified Files: changelog Log Message: Rewrite of the pattern part of the parser there are 5 different types of patterns now: name value //value can be false, true, null, integer literal or character literal name@value @type name@type And @null patterns are still allowed but will give a warning. Index: changelog =================================================================== RCS file: /cvsroot/nice/Nice/debian/changelog,v retrieving revision 1.132 retrieving revision 1.133 diff -C2 -d -r1.132 -r1.133 *** changelog 25 Feb 2003 12:54:46 -0000 1.132 --- changelog 25 Feb 2003 20:36:52 -0000 1.133 *************** *** 1,10 **** nice (0.7.7) unstable; urgency=low * Method can also dispatch on integer and character literals, but there is always a default case required. An example: long fac(long n); ! fac(@0) = 1; ! fac(n) = n*fac(n-1); ! The '@' before a literal is optional, so the following is allowed: int fib(int n); fib(1) = 1; --- 1,11 ---- nice (0.7.7) unstable; urgency=low + * The '@' in '@null' patterns is deprecated, '@' should be omitted. * Method can also dispatch on integer and character literals, but there is always a default case required. An example: long fac(long n); ! fac(n@0) = 1; ! fac(n@long) = n*fac(n-1); ! Another example using the shorter syntax: int fib(int n); fib(1) = 1; *************** *** 14,19 **** 'true' and 'false': boolean not(boolean); ! not(@true) = false; ! not(@false) = true; * New policy for typing calls to Java methods. By default, the typing is more convenient, considering arguments as possibly null, and --- 15,21 ---- 'true' and 'false': boolean not(boolean); ! not(true) = false; ! not(false) = true; ! * The 'fun' keyword is deprecated now, you can leave it away. * New policy for typing calls to Java methods. By default, the typing is more convenient, considering arguments as possibly null, and |