📝 release preparation

This commit is contained in:
Niels Lohmann 2018-08-18 12:00:14 +02:00
parent 6899fa304c
commit 3811daa8a3
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
7 changed files with 175 additions and 37 deletions

View file

@ -92,8 +92,10 @@ class lexer
return "end of input";
case token_type::literal_or_value:
return "'[', '{', or a literal";
// LCOV_EXCL_START
default: // catch non-enum values
return "unknown token"; // LCOV_EXCL_LINE
return "unknown token";
// LCOV_EXCL_STOP
}
}
@ -745,11 +747,13 @@ class lexer
goto scan_number_any1;
}
// LCOV_EXCL_START
default:
{
// all other characters are rejected outside scan_number()
assert(false); // LCOV_EXCL_LINE
assert(false);
}
// LCOV_EXCL_STOP
}
scan_number_minus: