Open GoogleCodeExporter opened 9 years ago
This is a clear problem that is easily reproducible. In the following
simplified example, the bad line is ignored.
class Nesreca {
* -> VrstaNesrece; // This line was not noticed as a error by Umple compiler!
}
Original comment by TimothyCLethbridge
on 21 Aug 2014 at 10:58
I will fix this.
Right now, it is parsed as follows:
[classDefinition][name:Nesreca][portBindingDefinition][fromPort:*][toPort:VrstaN
esrece][bindinHandler][inlineComment:This line was not noticed as a error by
Umple compiler!]
Original comment by asopa...@gmail.com
on 25 Aug 2014 at 1:03
Solution requires modification of the grammar for the portBindingDefinition (in
umple_structure grammar).
We need to restrict what is considered a 'fromPort' and/or 'toPort'.
Original comment by asopa...@gmail.com
on 25 Aug 2014 at 1:35
It turns out that this is valid syntax for ports. But ports can only be
generated in C++.
We therefore need to generate a series of warnings when a generate target is
Java and certain syntax will be ignored in that language.
Original comment by TimothyCLethbridge
on 25 Aug 2014 at 4:09
Original comment by ahmedvc@gmail.com
on 25 Aug 2014 at 4:41
Original issue reported on code.google.com by
zoranssa...@gmail.com
on 21 Aug 2014 at 8:38Attachments: