Update of /cvsroot/plib/plib/examples/src/psl/data
In directory usw-pr-cvs1:/tmp/cvs-serv30751/plib/examples/src/psl/data
Modified Files:
test.psl
Log Message:
Added missing '%=' assignment operator.
Added error checks for '/= 0' or '%= 0' or floating point '%='.
Index: test.psl
===================================================================
RCS file: /cvsroot/plib/plib/examples/src/psl/data/test.psl,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- test.psl 14 Sep 2002 04:45:54 -0000 1.21
+++ test.psl 14 Sep 2002 05:32:16 -0000 1.22
@@ -5,7 +5,7 @@
int x = 1 ;
x += 11 ; printf ( "12 ", x ) ;
- x *= 2 ; printf ( "24 ", x ) ;
+ x %= 0 ; printf ( "24 ", x ) ;
x /= 6 ; printf ( "4 ", x ) ;
x <<= 1 ; printf ( "8 ", x ) ;
x >>= 1 ; printf ( "4 ", x ) ;
|