SeelabFhdo / lemma

Home of the Language Ecosystem for Modeling Microservice Architecture (LEMMA)
MIT License
33 stars 8 forks source link

word "to" in commentary is identified as keyword #37

Closed josor001 closed 3 years ago

josor001 commented 3 years ago

During working on the OpenAPI import feature I encountered a bug. Apparently the word "to" used in comments, in my case in comments for operations in the service dsl, is identified as a keyword and, thus, causes the syntax check to go crazy (see screen). Probably a minor issue which can be fixed easily. image

josor001 commented 3 years ago

Turns out I caused the issue myself because I added "to" as a completely new keyword. Fixed it now on my feature branch. I also noticed another missing | after 'selector' which I also added with this change (https://github.com/SeelabFhdo/lemma/blob/master/de.fhdo.lemma.servicedsl/src/de/fhdo/lemma/ServiceDsl.xtext#L196 ).