anchor.diff:  	    mod = Mod,
   	    func = Fun,
   	    args = Arg,
  -	    buffer = undefined
  +	    pst = #pst{}
   	   }}.
   
   
  
positive.code: %%% Internal functions
  %%%===================================================================
  
  count_brackets([${ | Rem], { Processed, start} ) ->
      count_brackets(Rem,  { [ ${ | Processed ], 1});
  
  %% Drop any initial characters prior to opening bracket
  count_brackets([_ | Rem], { Processed, start }) ->
      count_brackets(Rem, { Processed, start });
  
  count_brackets(Rem, { Processed, 0 }) ->
      { complete,  lists:reverse(Processed), {lists:reverse(Rem), start} };
  
  count_brackets([], { Processed, Count }) ->
      { incomplete,  { Processed, Count } };
  
  count_brackets([${ | Rem], {Processed, Count}) ->
      count_brackets(Rem, {[ ${ | Processed ], Count + 1});
  
  count_brackets([$} | Rem], {Processed, Count}) ->
      count_brackets(Rem, {[ $} | Processed ], Count - 1});
  
  count_brackets([C | Rem], {Processed, Count}) ->
      count_brackets(Rem, {[ C | Processed ], Count});
  
  count_brackets(New, undefined) ->
      count_brackets(New, { [], start}).
      
  
negative.code: 	  mod = undefined,
  	  func = undefined,
  	  args = undefined,
  	  pst = undefined %%  Payload state
  	 }).
  
  %%%===================================================================
  