mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Grammar: No need to notify on validation pass
- The lack of exceptions is all we need.
This commit is contained in:
parent
63df5ba992
commit
0ff2ebb37f
1 changed files with 0 additions and 3 deletions
|
@ -287,9 +287,6 @@ void Grammar::validate () const
|
|||
for (auto& nu : notUsed)
|
||||
if (nu != _start)
|
||||
throw format ("Definition '{1}' is defined, but not referenced.", nu);
|
||||
|
||||
if (_debug)
|
||||
std::cout << "Validated\n";
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue