Universal-Variability-Language / uvl-parser

GNU Lesser General Public License v3.0
10 stars 8 forks source link

Mismatch in the grammar and toString() of the FeatureModel #8

Closed prankuragarwal closed 1 year ago

prankuragarwal commented 1 year ago

Acc. to the grammar of FeatureModel, it should start with namespace (if there is any) then includes then other things. But in the toString() function it has includes first and then namespace. What's happening is that when I write a feature model to a file and then read that file again, it gives a parsing error.

SundermannC commented 1 year ago

Thanks a lot for the detailed report, @prankuragarwal The grammar describes the structure as intended, the problem here is the toString() function. We will fix this.