Skip to content

Commit

Permalink
Update DBCX3.cpp
Browse files Browse the repository at this point in the history
fix #130
  • Loading branch information
xR3b0rn authored Jan 26, 2023
1 parent fa8ce17 commit 885e46d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libdbcppp/DBCX3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ namespace dbcppp::DBCX3::Grammar

static const auto attribute_default_def =
(lexeme[(lit("BA_DEF_DEF_REL_") | lit("BA_DEF_DEF_")) >> omit[space]]) > attribute_name > attribute_value > ';';
static const auto attribute_value_def = double_ | signed_int | quoted_string;
static const auto attribute_value_def = signed_int | double_ | quoted_string;

static const auto attribute_value_ent_def =
lexeme[lit("BA_") >> omit[skipper]]
Expand Down Expand Up @@ -469,4 +469,4 @@ std::optional<dbcppp::DBCX3::AST::G_Network> dbcppp::DBCX3::ParseFromMemory(cons
return gnet;
}
return std::nullopt;
}
}

0 comments on commit 885e46d

Please sign in to comment.