diff --git a/src/dbcppp/DBC_Grammar.cpp b/src/dbcppp/DBC_Grammar.cpp index 177c2e91..17a14746 100755 --- a/src/dbcppp/DBC_Grammar.cpp +++ b/src/dbcppp/DBC_Grammar.cpp @@ -807,8 +807,8 @@ struct NetworkGrammar _multiplexer_indicator %= -_C_identifier; _start_bit %= _unsigned_integer; _signal_size %= _unsigned_integer; - _byte_order %= qi::lexeme[qi::char_('0') | qi::char_('1')][set_byte_order]; - _value_type %= qi::lexeme[qi::char_('-') | qi::char_('+')][set_value_type]; + _byte_order = qi::lexeme[qi::char_('0') | qi::char_('1')][set_byte_order]; + _value_type = qi::lexeme[qi::char_('-') | qi::char_('+')][set_value_type]; _factor %= _double; _offset %= _double; _minimum %= _double; diff --git a/src/dbcppp/Signal.h b/src/dbcppp/Signal.h index d71435f3..c88311a5 100755 --- a/src/dbcppp/Signal.h +++ b/src/dbcppp/Signal.h @@ -23,7 +23,7 @@ namespace dbcppp }; enum class ByteOrder { - BigEndian, LittleEndian + LittleEndian, BigEndian }; enum class ValueType {