Revision: 20693 http://sourceforge.net/p/jmol/code/20693 Author: hansonr Date: 2015-08-13 02:47:21 +0000 (Thu, 13 Aug 2015) Log Message: ----------- Jmol.___JmolVersion="14.3.16_2015.08.12"
bug fix: var b = a..B fails (found by Rolf Huehne) -- non-lower-case associative array name same as user variable name turned into lower case and then looked up as a["b"] instead of a["B"], so not found bug fix: show xxx (variable) broken in 4.3.15_2015.06.13 Modified Paths: -------------- trunk/Jmol/src/org/jmol/scriptext/CmdExt.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/scriptext/CmdExt.java =================================================================== --- trunk/Jmol/src/org/jmol/scriptext/CmdExt.java 2015-08-12 19:27:45 UTC (rev 20692) +++ trunk/Jmol/src/org/jmol/scriptext/CmdExt.java 2015-08-13 02:47:21 UTC (rev 20693) @@ -3958,7 +3958,8 @@ String name = null; int len = 2; T token = getToken(1); - int tok = (token instanceof SV ? T.nada : token.tok); + // T.identifier for SV is set for variable names + int tok = (token instanceof SV && token.tok != T.identifier ? T.nada : token.tok); if (tok == T.string) { token = T.getTokenFromName(str.toLowerCase()); if (token != null) Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-08-12 19:27:45 UTC (rev 20692) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-08-13 02:47:21 UTC (rev 20693) @@ -54,8 +54,9 @@ bug fix: var b = a..B fails (found by Rolf Huehne) -- non-lower-case associative array name same as user variable name turned into lower case and then looked up as a["b"] instead of a["B"], so not found - +bug fix: show xxx (variable) broken in 4.3.15_2015.06.13 + JmolVersion="14.3.16_2015.08.11" released This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits