danieldietrich/xtext-protectedregions — Issue #29: generate to C++
Author: dykkms
Created: 2012-02-22 09:59:27+00:00
State: open

Hello,
I use Xtext2.2 and I generate code using Xtend to C++. I followed the 2-Step Setup described here https://github.com/danieldietrich/xtext-protectedregions#setup and I changed only
support.addParser(RegionParserFactory.createJavaParser(), ".cpp");
I think, comments behavior is very similar in Java and C++.
Unfortunately, this does not work for me. Protected regions are always rewritten.
Please, could you give me any idea, what I am doing wrong?
Thank you in advance.
Michal