예제 #1
0
static scancontext *
ExtParse(scancontext * scanctx, const char *szCommand)
{
    scanctx->ExtErrorHandler = ErrorHandler;
    scanctx->fError = FALSE;
    scanctx->szError = NULL;

    ExtStartParse(scanctx->scanner, szCommand);
    return scanctx->fError ? NULL : scanctx;
}
예제 #2
0
파일: external.c 프로젝트: bgnori/gnubg
static extcmd *
ExtParse( const char *szCommand ) {

  ExtErrorHandler = ErrorHandler;
  fError = FALSE;
  szError = NULL;
  ExtStartParse(szCommand);

  return fError ? NULL : &ec;

}