[LON-CAPA-cvs] cvs: loncom /homework lonmaxima.pm

riegler lon-capa-cvs-allow@mail.lon-capa.org
Wed, 24 Sep 2008 18:01:09 -0000


riegler		Wed Sep 24 14:01:09 2008 EDT

  Modified files:              
    /loncom/homework	lonmaxima.pm 
  Log:
  blacklisting %i is not a good idea as it respresents the imaginary unit.
  Current problems using %i in this semantics do not work anymore.
  The other usage of %i is a reference to input lines. This should indeed be blocked if possible. However, it is unlikely that anybody uses it in this semantics.
  
Index: loncom/homework/lonmaxima.pm
diff -u loncom/homework/lonmaxima.pm:1.25 loncom/homework/lonmaxima.pm:1.26
--- loncom/homework/lonmaxima.pm:1.25	Thu Aug 21 08:08:32 2008
+++ loncom/homework/lonmaxima.pm	Wed Sep 24 14:01:07 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Interface routines to MAXIMA CAS
 #
-# $Id: lonmaxima.pm,v 1.25 2008/08/21 12:08:32 bisitz Exp $
+# $Id: lonmaxima.pm,v 1.26 2008/09/24 18:01:07 riegler Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -61,7 +61,7 @@
 sub blacklisted {
     my ($cmd)=@_;
     foreach my $forbidden (
-        '\? ','\?','%i','%o','batch','block'
+        '\? ','\?','%o','batch','block'
        ,'compil','concat','describe','display2d','file','inchar'
        ,'includ','lisp','load','outchar','plot','quit'
        ,'read','reset','save','stin','stout','stringout'