Closed GoogleCodeExporter closed 9 years ago
Before 0.9.0, Franca allows to define optional values for FEnumerators, which
must be of String type. Example:
enumeration MyEnum03 {
ENUM01 = "1"
ENUM02 = "2"
ENUM03 = "0x03"
}
Issue 52 (planned for 0.9.0) will mark the string values as deprecated and
allow positive integer values instead (including other formats like
hexadecimal).
Please provide an example for the use case you are referring to by this ticket!
Original comment by klaus.birken@gmail.com
on 12 Feb 2014 at 6:47
This could be an example:
enumeration TestEnum {
VALUE=d1
}
const Double d1 = 1.0d
This example works without validation issues. But I don't know if d1 is really
treat as an enum entry
Original comment by stefan.b...@gmail.com
on 13 Feb 2014 at 9:14
Original comment by klaus.birken@gmail.com
on 14 Feb 2014 at 11:26
Solved by commit 16f568e.
Original comment by klaus.birken@gmail.com
on 14 Feb 2014 at 11:28
Merged on master.
Original comment by klaus.birken@gmail.com
on 19 Feb 2014 at 10:24
Original comment by klaus.birken@gmail.com
on 25 Jan 2015 at 12:31
Original issue reported on code.google.com by
stefan.b...@gmail.com
on 5 Feb 2014 at 2:40