Revert some unnecessary member initializer changes.

This commit is contained in:
Perry Kundert 2017-10-06 07:53:31 -07:00
parent 5e480b56d8
commit 45e1e3d48a

View file

@ -2841,13 +2841,13 @@ scan_number_done:
private: private:
/// input adapter /// input adapter
detail::input_adapter_t ia { nullptr }; detail::input_adapter_t ia = nullptr;
/// the current character /// the current character
int current { std::char_traits<char>::eof() }; int current = std::char_traits<char>::eof();
/// the number of characters read /// the number of characters read
std::size_t chars_read { 0 }; std::size_t chars_read = 0;
/// raw input token string (for error messages) /// raw input token string (for error messages)
std::vector<char> token_string { }; std::vector<char> token_string { };
@ -2856,15 +2856,15 @@ scan_number_done:
std::string yytext { }; std::string yytext { };
/// a description of occurred lexer errors /// a description of occurred lexer errors
const char* error_message { "" }; const char* error_message = "";
// number values // number values
number_integer_t value_integer { 0 }; number_integer_t value_integer = 0;
number_unsigned_t value_unsigned { 0 }; number_unsigned_t value_unsigned = 0;
number_float_t value_float { 0 }; number_float_t value_float = 0;
/// the decimal point /// the decimal point
const char decimal_point_char { '.' }; const char decimal_point_char = '.';
}; };
/*! /*!