Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Include * in Xtext grammar
Include * in Xtext grammar [message #1838958] Wed, 10 March 2021 12:59
John Doe is currently offline John DoeFriend
Messages: 138
Registered: October 2020
Senior Member
Hi all,

I am writing a grammar and I have the following rule:


When I write the grammar I want to write

John * (name followed by space followed by asterisk, or even without the space).

How could I write that? Because the asterisk is not allowed to be written as an ID.

Thank you!
Previous Topic:Migrating from ANTLR3 to ANTLR4
Next Topic:Guice error in tests after adding Formatter [SOLVED]
Goto Forum:

Current Time: Fri May 14 09:39:17 GMT 2021

Powered by FUDForum. Page generated in 0.01734 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top