From: Raymond T. <rt...@us...> - 2000-06-30 21:10:48
|
Update of /cvsroot/clocc/clocc/src/f2cl/src In directory slayer.i.sourceforge.net:/tmp/cvs-serv16849/src Modified Files: f2cl5.l Log Message: o Select the :user package. o Delete the old commented-out CHECK_NEW_VBLES o In LOOKUP-VBLE-TYPE, we weren't handling the case of a variable declared like this: dimension x(10) double precision x *EXPLICIT_VBLE_DECLS* contained two entries for X (one as an array and one as a variable), and the lookup returned whatever was found first. In this case we would incorrectly declare X using the default Fortran typing rules. This hoses the coercion stuff. We now try to look up the type skipping over array types. If this fails, we then use the default Fortran rules. |