dukeboard/kevoree-modeling-framework

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

electricalwind opened this issue · 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 ;)