I am using following excerpt in the grammar for my DSL:
SelectDml: 'select' columnList+=FieldColumn (',' columns+=FieldColumn)* from=FromClause; FromClause: 'from' value=ID (alias=ID)?; FieldColumn hidden(): fieldName=ID ('.' ID)?;
If I parse following line of my DSL, then there is one FieldColumn in the column-List which is absolutely fine. But the FieldColumn has the fieldName
a and not the expected value:
select a.col from a
Is there a problem with my grammar? Something missing?