Difference for psfgen/src/charmm_parse_topo_defs.c from version 1.9 to 1.10

version 1.9version 1.10
Line 78
Line 78
     }     }
     if ( first ) {     if ( first ) {
       first = 0;       first = 0;
        if ( ! strncasecmp("IOFORMAT",tok[0],8) ) {
          first = 1;
          continue;
        } else if ( ntok == 2 && sscanf(tok[0],"%u",&utmp) == 1
                            && sscanf(tok[1],"%u",&utmp) == 1 ) {
          sprintf(msgbuf,"Created by CHARMM version %s %s",tok[0],tok[1]);
          print_msg(v,msgbuf);
          continue;
        } else if ( ntok == 1 && sscanf(tok[0],"%u",&utmp) == 1 ) {
          sprintf(msgbuf,"Created by CHARMM version %s",tok[0]);
          print_msg(v,msgbuf);
          continue;
        }
      }
  
       if ( ! strncasecmp("READ",tok[0],4) && ! strncasecmp("RTF",tok[1],4) ) {       if ( ! strncasecmp("READ",tok[0],4) && ! strncasecmp("RTF",tok[1],4) ) {
         print_msg (v, "reading topology from stream file");         print_msg (v, "reading topology from stream file");
        skip = 0;
         first = 1;         first = 1;
         stream = 1;         stream = 1;
         continue;         continue;
Line 91
Line 107
         print_msg (v, "skipping unknown section in stream file");         print_msg (v, "skipping unknown section in stream file");
         skip = 1;         skip = 1;
         continue;         continue;
       } else if ( ! strncasecmp("IOFORMAT",tok[0],8) ) { 
         first = 1; 
         continue; 
       } else if ( ntok == 2 && sscanf(tok[0],"%u",&utmp) == 1 
                           && sscanf(tok[1],"%u",&utmp) == 1 ) { 
         sprintf(msgbuf,"Created by CHARMM version %s %s",tok[0],tok[1]); 
         print_msg(v,msgbuf); 
         continue; 
       } else if ( ntok == 1 && sscanf(tok[0],"%u",&utmp) == 1 ) { 
         sprintf(msgbuf,"Created by CHARMM version %s",tok[0]); 
         print_msg(v,msgbuf); 
         continue; 
       } 
     }     }
  
     if ( skip ) {     if ( skip ) {


Legend:
Removed in v.1.9 
changed lines
 Added in v.1.10



Made by using version 1.53 of cvs2html