version 1.10 | version 1.11 |
---|
| |
} | } |
else if ( ! strncasecmp("ATOM",tok[0],4) ) { | else if ( ! strncasecmp("ATOM",tok[0],4) ) { |
debug_msg("Recognized atom statement."); | debug_msg("Recognized atom statement."); |
if ( ntok < 4 ) { | if ( ntok == 2 ) { |
| s1 = parse_atom(tok[1],&i1,&j1); |
| if ( topo_defs_atom(defs,0,0, s1,i1,j1,"",0.0) ) { |
| PRINT_ERROR("Failed to parse atom statement."); |
| } |
| } else if ( ntok != 2 && ntok < 4 ) { |
PRINT_ERROR("Failed to parse atom statement."); | PRINT_ERROR("Failed to parse atom statement."); |
} else { | } else { |
s1 = parse_atom(tok[1],&i1,&j1); | s1 = parse_atom(tok[1],&i1,&j1); |