Bug TW-1254
- TW-1254 Calc command can segfault on negative numbers (thanks to Renato
Alves).
- Implemented a recursive descent parser to syntax check the expression,
and disambiguate unary minus. The syntax checking is not generating any
diagnostics yet.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <cmake.h>
|
||||
//#include <iostream> // TODO Remove
|
||||
#include <ISO8601.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -755,9 +756,9 @@ void ISO8601d::resolve ()
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
void ISO8601d::dump ()
|
||||
{
|
||||
/*
|
||||
std::cout << "# Y=" << _year
|
||||
<< " M=" << _month
|
||||
<< " W=" << _week
|
||||
@@ -770,8 +771,8 @@ void ISO8601d::dump ()
|
||||
<< " ambi=" << _ambiguity
|
||||
<< " --> " << _value
|
||||
<< "\n";
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
ISO8601p::ISO8601p ()
|
||||
|
||||
Reference in New Issue
Block a user