[MDSAL-333] Special chars like "*" cannot be processed in enums Created: 05/Apr/18  Updated: 05/Apr/18  Resolved: 05/Apr/18

Status: Resolved
Project: mdsal
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Michal Cmarada Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates MDSAL-309 V1 codegen generates enum constants t... Resolved

 Description   

if an enum is generated from yang model that contains only a special character like "*" it fails to create working class for this enum.

as in https://tools.ietf.org/html/rfc8294 :
typedef ipv4-multicast-source-address {
type union {
type enumeration {
enum *

{ description "Any source address."; }

}
type inet:ipv4-address;
}
description
"Multicast source IPv4 address type.";
}


Generated at Wed Feb 07 20:09:33 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.