Update of /cvsroot/nice/Nice/testsuite/compiler/syntax
In directory sc8-pr-cvs1:/tmp/cvs-serv24986/F:/nice/testsuite/compiler/syntax
Modified Files:
blockcall.testsuite
Log Message:
Stricter parsing of expressions used as statement.
Index: blockcall.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/syntax/blockcall.testsuite,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** blockcall.testsuite 12 Dec 2003 20:34:46 -0000 1.1
--- blockcall.testsuite 15 Jan 2004 21:39:19 -0000 1.2
***************
*** 12,14 ****
/// FAIL
int x;
! /* ///FAIL HERE */(x = 0) { print("abc"); }
--- 12,14 ----
/// FAIL
int x;
! (x = 0)/* ///FAIL HERE */{ print("abc"); }
|