anchor.diff:              $flags_def::flagName=stringDup($IDENTIFIER.text);
           }
   	;
  -
  +at_least_one_flag_element: flag_element zero_or_more_flag_elements;
  +
  +zero_or_more_flag_elements : (flag_element* -> (COMMA[","] WS["\n"] flag_element)*);
   flag_element
  -	:	( IDENTIFIER EQUALS integer ITEM_TERMINATOR -> WS["\t"] IDENTIFIER WS[" "] COLON[":"] WS[" "] integer COMMA[","] WS["\n"])
  +	:	( IDENTIFIER EQUALS integer ITEM_TERMINATOR -> WS["\t"] WS["\t"] IDENTIFIER WS[" "] COLON[":"] WS[" "] integer)
           {
               defineFlagValue( ctx, $message::messageName, $flags_def::flagName, $flags_def::flagList, $IDENTIFIER.text , $integer.text);
           }
  
positive.code: 
  extensions
          : 
          ( EXTENSIONS integer TO integer_inclusive ITEM_TERMINATOR -> WS["\n"] ) //WS["\t"] EXTENSIONS WS[" "] integer WS[" "] TO WS[" "] integer_inclusive ITEM_TERMINATOR WS["\n"] 
          {
              defineExtensionRange(ctx, $integer.text, $integer_inclusive.text);
          }
  
negative.code:     @init {
          $enum_def::enumList=antlr3ListNew(1);
      }
  	:	( ENUM enum_identifier BLOCK_OPEN at_least_one_enum_element BLOCK_CLOSE -> WS["\t"] enum_identifier COLON[":"] WS[" "] QUALIFIEDIDENTIFIER["PROTO.Enum"] PAREN_OPEN["("] QUOTE["\""] QUALIFIEDIDENTIFIER[qualifyType(ctx,$ENUM.text,$enum_def::enumName)] QUOTE["\""] COMMA[","] BLOCK_OPEN WS["\n"] at_least_one_enum_element WS["\t"] BLOCK_CLOSE PAREN_CLOSE[")"] )
          {
              defineEnum( ctx, $message::messageName, $enum_def::enumName, $enum_def::enumList);
              $enum_def::enumList->free($enum_def::enumList);
              stringFree($enum_def::enumName);
          }
  	;
  at_least_one_enum_element : enum_element zero_or_more_enum_elements;
  zero_or_more_enum_elements : (enum_element* -> (WS[","] WS["\n"] enum_element)*);
  
  enum_element
  	:	(IDENTIFIER EQUALS integer ITEM_TERMINATOR -> WS["\t"] WS["\t"] IDENTIFIER WS[" "] COLON[":"] integer )
          {
              defineEnumValue( ctx, $message::messageName, $enum_def::enumName, $enum_def::enumList, $IDENTIFIER.text, $integer.text );
          }
  