corrected lexer comment w/ regard to null null chars
This commit is contained in:
parent
78cc0f11cd
commit
f76291cd3b
@ -1459,8 +1459,7 @@ scan_number_done:
|
|||||||
case '9':
|
case '9':
|
||||||
return scan_number();
|
return scan_number();
|
||||||
|
|
||||||
// end of input (the null byte is needed when parsing from
|
// end of input
|
||||||
// string literals)
|
|
||||||
case std::char_traits<char>::eof():
|
case std::char_traits<char>::eof():
|
||||||
return token_type::end_of_input;
|
return token_type::end_of_input;
|
||||||
|
|
||||||
|
|||||||
@ -4041,8 +4041,7 @@ scan_number_done:
|
|||||||
case '9':
|
case '9':
|
||||||
return scan_number();
|
return scan_number();
|
||||||
|
|
||||||
// end of input (the null byte is needed when parsing from
|
// end of input
|
||||||
// string literals)
|
|
||||||
case std::char_traits<char>::eof():
|
case std::char_traits<char>::eof():
|
||||||
return token_type::end_of_input;
|
return token_type::end_of_input;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user