Skip to content
Snippets Groups Projects
Commit ebacc372 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[tests] Finally get rid of the assert failure in oracle of empty3.cpp

parent f721012f
No related branches found
No related tags found
No related merge requests found
......@@ -1890,6 +1890,7 @@ void Lexer::handlePPDirectiveInACSL(const std::string& buffer, size_t& position,
// FIXME - not valid if there is a # immediately followed by newline
void
Lexer::removeFromRevision(size_t start) {
if (start+1>= _revised.size()) { _revised[start] = ' '; return; }
if (_revised[start+1] == '\n') {
_revised[start] = ' ';
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment