anuragraghavan / franca

Automatically exported from code.google.com/p/franca
0 stars 0 forks source link

Enum literal documentation on same line #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would be a nice feature if there would be a possibility to put an enum 
literal documentation just after the definition:

enumeration MyEnum {
    VALUE1 = "1" <** @description : xxx **>
}

Original issue reported on code.google.com by stefan.b...@gmail.com on 30 Jan 2014 at 9:47

GoogleCodeExporter commented 9 years ago
The IDL's syntax is not newline-aware. Thus, the description as given in the 
example above will be connected to the following enumerator value, not the 
previous one. If we change this for enumerations only, we break conceptual 
integrity of the language (we either introduce newline-awareness or change the 
behavior of the structured comments).

Any ideas/comments?

Original comment by klaus.birken@gmail.com on 12 Feb 2014 at 2:52

GoogleCodeExporter commented 9 years ago
This feature would be inconsistent with Franca's structured comment concept. 
Won't fix.

Original comment by klaus.birken@gmail.com on 19 Feb 2014 at 10:34