Revision: 5225
Author:   hansonr
Date:     2006-06-14 14:50:13 -0700 (Wed, 14 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/jmol/?rev=5225&view=rev

Log Message:
-----------
bob200603 forgot that "range" was a token

Modified Paths:
--------------
    branches/bob200603/Jmol/src/org/jmol/viewer/Eval.java
Modified: branches/bob200603/Jmol/src/org/jmol/viewer/Eval.java
===================================================================
--- branches/bob200603/Jmol/src/org/jmol/viewer/Eval.java       2006-06-14 
21:10:07 UTC (rev 5224)
+++ branches/bob200603/Jmol/src/org/jmol/viewer/Eval.java       2006-06-14 
21:50:13 UTC (rev 5225)
@@ -1833,11 +1833,14 @@
           invalidArgument();
         isDelete = true;
         continue;
+      case Token.range:
+        isRange = true; //unnecessary
+        atomIndex = -1;
+        isAll = true;
+        continue;
       case Token.identifier:
         if (((String) token.value).equalsIgnoreCase("ALLCONNECTED"))
           isAllConnected = true;
-        else if (((String) token.value).equalsIgnoreCase("RANGE"))
-          isRange = true; //unnecessary
         else
           keywordExpected("ALL, ALLCONNECTED, or DELETE");
       // fall through


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Jmol-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to