I have no idea why this is happening. As I am new to xtext I don't know whether it is due to my grammar or due to xtext. By the way, is the grammar okay like that or do I make something which should not be done?