remove error message because odd numbers of apostrophes are valid for transposing matrices in Matlab syntax
parent
a29ed07ea5
commit
7b523eccd0
|
@ -93,12 +93,6 @@ NativeStatement::computingPass()
|
||||||
else
|
else
|
||||||
apostrophes.push_back(idx);
|
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;
|
bool skip = false;
|
||||||
string newstr = "";
|
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])" );
|
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])" );
|
||||||
|
|
Loading…
Reference in New Issue