anchor.diff:      end;
   maybe_token_to_item(_, _) -> false.
   
  -process_part({text, RevStrings}) ->
  -    {printf, lists:flatten(lists:reverse(RevStrings))};
  -process_part({stat, Format, Stats}) when is_list(Format) ->
  -    process_part({stat, {Format}, Stats});
  -process_part({stat, Format, Stats}) when is_atom(Stats) ->
  -    process_part({stat, Format, [Stats]});
  -process_part({stat, Format0, Stats}) ->
  +process_item({stat, Format, Stats}) when is_list(Format) ->
  +    process_item({stat, {Format}, Stats});
  +process_item({stat, Format, Stats}) when is_atom(Stats) ->
  +    process_item({stat, Format, [Stats]});
  +process_item({stat, Format0, Stats}) ->
       Format = [process_format_item(F) || F <- tuple_to_list(Format0)],
       [{printf, "[stat"},
        {printa,
  
positive.code:     {tag(pre_probe, pre_after_probe, Probes), State}.
  
  pre_probe({probe, Point, _Predicate, Statements}, State) ->
      pre_probe({probe, Point, split_terms(Statements)}, State);
  pre_probe({probe, _Point, Statements}, State) ->
      {tag(pre_st, pre_after_st, split_terms(Statements)), State}.
  
  pre_after_probe({probe, Point, Predicate, _}, Children, State) ->
      {{probe, Point, Predicate, Children}, State};
  pre_after_probe({probe, Point, _}, Children, State) ->
      {{probe, Point, Children}, State}.
  
  pre_st({?op_assign, Name, _Value}, State) ->
      add_var(Name, State);
  
negative.code: process_format_item("%@s") -> "\"%@s\"";
  process_format_item(F)     -> F.
  
  merge_printfs(Statements) ->
      lists:foldl(fun maybe_merge/2, [], lists:reverse(Statements)).
  
  maybe_merge({printf, NewText}, [{printf, Text}|Rest]) ->
      [{printf, NewText ++ Text}|Rest];
  maybe_merge({printf, NewText}, [{printf, Format, Items}|Rest]) ->
      [{printf, NewText ++ Format, Items}|Rest];
  maybe_merge({printf, NewFormat, NewItems}, [{printf, Text}|Rest]) ->
      [{printf, NewFormat ++ Text, NewItems}|Rest];
  maybe_merge({printf, NewFormat, NewItems}, [{printf, Format, Items}|Rest]) ->
      [{printf, NewFormat ++ Format, NewItems ++ Items}|Rest];
  maybe_merge(St, OutStatements) ->
      [St|OutStatements].
  
  %%-----------------------------------------------------------------------------
  %% common callbacks for systemtap and dtrace - pass 2: generate
  