corrected lexer comment w/ regard to null null chars

This commit is contained in:
Francois Chabot 2019-01-22 15:00:26 -05:00
parent 78cc0f11cd
commit f76291cd3b
2 changed files with 2 additions and 4 deletions

View File

@ -1459,8 +1459,7 @@ scan_number_done:
case '9':
return scan_number();
// end of input (the null byte is needed when parsing from
// string literals)
// end of input
case std::char_traits<char>::eof():
return token_type::end_of_input;

View File

@ -4041,8 +4041,7 @@ scan_number_done:
case '9':
return scan_number();
// end of input (the null byte is needed when parsing from
// string literals)
// end of input
case std::char_traits<char>::eof():
return token_type::end_of_input;