anchor.diff:     ;
   
   optionsSpec
  -   : OPTIONS (option ';') + '}'
  +   : OPTIONS (option ';')+ '}'
      ;
   
   option
  
positive.code:    ;
  
  alternative
     : element +
     ;
  
  exceptionGroup
     : (exceptionHandler) + (finallyClause)?
     | finallyClause
     ;
  
  
negative.code:  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
  grammar ANTLRv3;
  
  grammarDef
     : DOC_COMMENT? ('lexer' | 'parser' | 'tree')? 'grammar' id ';' optionsSpec? tokensSpec? attrScope* action* rule_+
     ;
  
  tokensSpec
     : TOKENS tokenSpec+ '}'
     ;
  
  tokenSpec
  