mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
620f9b40b2
commit
70ba19fd5e
5 changed files with 424 additions and 21 deletions
|
@ -59,6 +59,7 @@ private:
|
|||
int dayOfWeek (int, int, int);
|
||||
bool validate ();
|
||||
void resolve ();
|
||||
void dump ();
|
||||
|
||||
public:
|
||||
bool _ambiguity;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue