Show
Ignore:
Timestamp:
04/04/08 03:02:50 (9 months ago)
Author:
gary
Message:

merge of r1913-1915 on mainline

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/c08_branch/source/parse_table.cpp

    r1815 r1916  
    878878 
    879879                lgLines_Malloc = true; 
    880                 /* this flag says we did not find a continuum source - nearly all table XXX 
     880                /* this flag says this is not find a continuum source - nearly all table XXX 
    881881                 * commands deal with continuum sources */ 
    882882                ncont = -10; 
    883883 
    884884                /* actually get the lines, and malloc the space in the arrays */ 
    885                 nLINE_TABLE = cdGetLineList( chLINE_LIST , &chLabel , &wl); 
     885                if( (nLINE_TABLE = cdGetLineList( chLINE_LIST , &chLabel , &wl) )<0 ) 
     886                { 
     887                        /* did not find file, abort */ 
     888                        fprintf(ioQQQ,"\n DISASTER PROBLEM ParseTable could not find " 
     889                                "line list file %s\n", chLINE_LIST ); 
     890                        fprintf(ioQQQ," Please check the spelling of the file name and that it " 
     891                                "is in either the local or data directory.\n\n"); 
     892                        cdEXIT(EXIT_FAILURE); 
     893                } 
    886894        } 
    887895