25 " ParseInit found a single quote on this line. This was used for file names in C90, but double quotes are used now.\n");
26 fprintf(
ioQQQ,
" The single quote has been ignored.\n");
41 strcpy( chName,
"cloudy.ini" );
64 ipEndL = strrchr(
input.chCardSav[ip-1] ,
'\n' );
68 fprintf(
ioQQQ,
" ParseInit read in a init file line that did not end with a newline\n");
69 fprintf(
ioQQQ,
" line was the following=>%s<=\n",
input.chCardSav[ip-1]);
74 k = (long)(ipEndL -
input.chCardSav[ip-1]);
76 input.chCardSav[ip-1][k] =
' ';
78 input.chCardSav[ip-1][k+1] =
' ';
80 input.chCardSav[ip-1][k+2] =
'\0';
82 if(
input.chCardSav[ip-1][0]==
' ' )
break;
92 fprintf(
ioQQQ,
"initt=%s=\n",
input.chCardSav[ip-1] );
97 if( ip <=
input.nSave )
100 " Too many ini lines. Total of all input and ini lines cannot exceed NKRD, presently%4i\n",
const int FILENAME_PATH_LENGTH_2
char * read_whole_line(char *chLine, int nChar, FILE *ioIN)
#define DEBUG_ENTRY(funcname)
bool nMatch(const char *chKey) const
int GetQuote(char *chLabel, bool lgABORT)
FILE * open_data(const char *fname, const char *mode, access_scheme scheme)
void ParseInit(Parser &p)