anchor.diff:                                 "message m3 {",
                                  "  required m1.m2 b = 1;",
                                  "}"]),
  -    [{{enum,m1_e1}, _},
  +    [{import, _},
  +     {package, p1},
  +     {{enum,m1_e1}, _},
        {{msg,m1},     [#field{name=y, type={msg,m1_m2}},
                        #field{name=z, type={enum,m1_e1}},
                        #field{name=w}]},
  
positive.code: fetch_ref(Name, [{{msg,Name}=Key,_} | _])  -> Key;
  fetch_ref(Name, [_ | T])                   -> fetch_ref(Name, T).
  
  %%----------------------------------------------------------------------
  
  parses_simple_msg_test() ->
  
negative.code:                                  Fields)};
                   ({{enum,Name}, ENs}) ->
                        {{enum,reformat_name(Name)}, ENs};
                   ({package, Name}) ->
                        {package, reformat_name(Name)};
                   (OtherElem) ->
                        OtherElem
                end,
  