anchor.diff:  	    mkvlist(textual_order(to_encoding_order(CompList),asn1ct_name:all(term))),
   	    emit("},")
       end,
  -    emit({{var,asn1ct_name:curr(bytes)},"}"}),
  +    emit({{curr,bytes},"}"}),
       emit({".",nl,nl}).
   
   textual_order([#'ComponentType'{textual_order=undefined}|_],TermList) ->
  
positive.code: 	    case extgroup_pos_and_length(CompList) of
  		{extgrouppos,ExtGroupPos,ExtGroupLen} ->
  		    Elements = make_elements(ExtGroupPos+1,
  					     "Val",lists:seq(1,ExtGroupLen)),
  		    emit([
  			  {next,val}," = case [X || X <- [",
  			  {asis,Elements},
  			  "],X =/= asn1_NOVALUE] of",nl,
  			  "[] -> ",{curr,val},";",nl,
  			  "_ -> setelement(",{asis,ExtGroupPos+1},{curr,val},
  			  "{extaddgroup,", {asis,Elements},"})",nl,
  			  "end,",nl]);
  		_ -> % no extensionAdditionGroup
  		    ok
  	    end,
  	    asn1ct_name:new(tmpval),
  	    emit(["Extensions = ?RT_PER:fixextensions(",{asis,Ext},
  		  {curr,val},",),",nl]);
  	_ -> true
      end,
      EncObj =
  
negative.code:     gen_enc_line(Erule,TopType,Cname,Type,NextElement, Pos,DynamicEnc,Ext),
      emit({nl,"end"});
  gen_enc_component_optional(Erule,TopType,Cname,Type,Pos,DynamicEnc,Ext) ->
      Element = make_element(Pos+1,asn1ct_gen:mk_var(asn1ct_name:curr(val)),Cname),
      emit({"case ",Element," of",nl}),
  
      emit({"asn1_NOVALUE -> [];",nl}),
  