Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[xtext-dev] New keyword in Xtext grammar

Hi,

since we now allow the EOF token in terminal rules due to ticket https://bugs.eclipse.org/bugs/show_bug.cgi?id=315431 , a new keyword had to be introduced in the Xtext grammar language. Please make sure to use the latest nightly build (available in a few hours on the hudson build server) in your development environment to get rid of the error markers in the test languages and in the xtend grammar.

Furthermore, you'll have to prefix a possibly existing identifier EOF in your grammars with the ^ escape character: Use ^EOF and your grammar will work as usual. There shouldn't be any necessary changes if you don't regenerate your language.

Happy lexing,
Sebastian

Back to the top