Show
Ignore:
Timestamp:
03/19/08 02:58:12 (10 months ago)
Author:
gary
Message:

trivial changes in a series of sims that could not be parsed with cygwin gcc.

some commands require a trailing space to be recognized. a trailing space used to be concatenated after the input string pad lines out - this appears to have been lost in the changes over the past year. two commands had issues with gcc / cygwin

CMB - two changes, added trailing space to sims that use this command, but also changed parse_commands.cpp to only check on first three characters

element xx on - added trailing space

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/parse_commands.cpp

    r1789 r1864  
    468468 
    469469                /* replace with CMB command, both will continue to be parsed */ 
    470                 else if( (strcmp(chKey4,"CMB ") == 0) || (strcmp(chKey4,"FIRE") == 0) ) 
     470                else if( (strcmp(chKey3,"CMB") == 0) || (strcmp(chKey4,"FIRE") == 0) ) 
    471471                { 
    472472                        /* cosmic thermal background radiation, argument is redshift */