remove error message because odd numbers of apostrophes are valid for transposing matrices in Matlab syntax

issue#70
Houtan Bastani 2013-10-04 16:17:29 +02:00
parent a29ed07ea5
commit 7b523eccd0
1 changed files with 0 additions and 6 deletions

View File

@ -93,12 +93,6 @@ NativeStatement::computingPass()
else
apostrophes.push_back(idx);
if (apostrophes.size() % 2)
{
cerr << "ERROR: A Matlab Statement has an odd number of apostrophes: " << native_statement << endl;
exit(EXIT_FAILURE);
}
bool skip = false;
string newstr = "";
sregex date_expr = sregex::compile( "-?[0-9]+[Mm](1[0-2]|[1-9])|-?[0-9]+[Qq][1-4]|-?[0-9]+[Ww]([1-4][0-9]|5[0-2]|[1-9])" );