Ignore:
Timestamp:
10/12/16 15:28:46 (8 years ago)
Author:
phdmakk
Message:

+ added support for opaque comments in grammar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/EBNF.xtext

    r90 r98  
    1 grammar de.ugoe.cs.swe.bnftools.Ebnf hidden(WS, ML_COMMENT, SL_COMMENT) 
     1grammar de.ugoe.cs.swe.bnftools.Ebnf hidden(WS, SL_COMMENT) 
    22 
    33import "http://www.eclipse.org/emf/2002/Ecore" as ecore 
     
    3131 
    3232BnfEntry: 
    33         sectionheader=SectionHeading | rule=Rule 
     33        sectionheader=SectionHeading | rule=Rule | comment=Comment 
    3434; 
    3535 
     
    4545        {SectionHeading} 
    4646        sectionHeader=SECTIONHEADER 
     47; 
     48 
     49Comment: 
     50        {Comment} 
     51        content=ML_COMMENT 
    4752; 
    4853 
Note: See TracChangeset for help on using the changeset viewer.