[Aimmath-commit] AIM/WEB-INF/maple SafeParse.mpl,1.3,1.4
Brought to you by:
gustav_delius,
npstrick
From: <nps...@us...> - 2003-09-06 10:46:55
|
Update of /cvsroot/aimmath/AIM/WEB-INF/maple In directory sc8-pr-cvs1:/tmp/cvs-serv21404/WEB-INF/maple Modified Files: SafeParse.mpl Log Message: Index: SafeParse.mpl =================================================================== RCS file: /cvsroot/aimmath/AIM/WEB-INF/maple/SafeParse.mpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SafeParse.mpl 25 Aug 2003 21:47:18 -0000 1.3 --- SafeParse.mpl 6 Sep 2003 10:46:51 -0000 1.4 *************** *** 624,627 **** --- 624,630 ---- report['BadName'] := nam; + # The line below is unsafe against hacking, but gives a more useful error + # message. + # report['BadName'] := sprintf("%s has value %A",nam,eval(convert(nam,name))); fi; |