Logo Search packages:      
Sourcecode: apertium version File versions  Download package

void TransferWord::regexError ( char const *  message,
int const   errorcode 
) [static, private]

Error function compiling regular expressions

Parameters:
message error message
errorcode return code of regcomp call

Definition at line 87 of file TransferWord.C.

Referenced by getRegex().

{
  if(errorcode != 0)
  {
    cerr << "Error: Compilation for regular expression for '"
         << message << "' failed." << endl;
    exit(EXIT_FAILURE);
  } 
}


Generated by  Doxygen 1.6.0   Back to index