kevoree-modeling-framework icon indicating copy to clipboard operation
kevoree-modeling-framework copied to clipboard

[v4.18.3][Minor Bug] minus character within MM file

Open electricalwind opened this issue 9 years ago • 0 comments

when a field/class/package in an mm file contain a minus "-", the compilation will work however it will create a file impossible to parse in Java for the package case or impossible to compile to javascript in the other cases. Other special character seems to be escaped correctly.

e.g: for this class:

class bug-veul.Version  {
    idVers : String
}
class bugveul.Version-  {
    idVers : String
}
class bugveul.Version  {
    idVers- : String
}

This bug is minor and is mostly an inattention of mine when declaring package, but it could be nice to raise the error before generating the java file ;)

electricalwind avatar Apr 29 '15 16:04 electricalwind