Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c29bb857 authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

PDL: Add missing quote in matching constraint error am: c67d23f4 am: c5cdc2f9 am: 59685ee1

am: 1c514b09

Change-Id: I3489d625f8521b4ed154cd288b8ac605718fc853
parents 7c6d3358 1c514b09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ void PacketDef::AddParentConstraint(std::string field_name, std::variant<int64_t
    const auto& enum_def = static_cast<EnumField*>(constrained_field)->GetEnumDef();
    if (!enum_def.HasEntry(std::get<std::string>(value))) {
      ERROR(constrained_field) << "No matching enumeration \"" << std::get<std::string>(value)
                               << "for constraint on enum in parent packet " << parent_->name_ << ".";
                               << "\" for constraint on enum in parent packet " << parent_->name_ << ".";
    }

    // For enums, we have to qualify the value using the enum type name.