Explicitly clear accumulator before parsing
This silences some (mistaken) reports from clang-analyzer
This commit is contained in:
parent
4673b91104
commit
7404973415
@ -103,7 +103,7 @@ version::sanity (void) const {
|
||||
| ('alpha'i | 'a'i) %{ v.release = RELEASE_ALPHA; }
|
||||
| ('gamma'i | 'g'i) %{ v.release = RELEASE_GAMMA; };
|
||||
|
||||
version := (dots type?)
|
||||
version := (dots type?) >clear
|
||||
$!{ throw std::invalid_argument (str); };
|
||||
|
||||
write data;
|
||||
|
Loading…
Reference in New Issue
Block a user