Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
As reported on Gentoo Linux.
% re2c --version
% re2c -V
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase: __pos (which is 4) > this->size() (which is 3)
zsh: abort (core dumped) re2c -V
The text was updated successfully, but these errors were encountered:
Rewrite vernum function
dev-util/re2c: fix -V option handling, bug #664752
Patch by Mike Gilbert \o/
Repored-by: Thomas Deutschmann
Fixed-by: Mike Gilbert
Package-Manager: Portage-2.3.48, Repoman-2.3.10
vernum: move version-string-to-vernum converter to a separate helper
No functional change. While at it added tests
to cover past failures:
- "1.1": #211
- "0.14": https://sourceforge.net/p/re2c/bugs/55/
Signed-off-by: Sergei Trofimovich <firstname.lastname@example.org>
Successfully merging a pull request may close this issue.