File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -993,13 +993,9 @@ fix_contiguous_strings([Other|Rest], Ts) ->
993993
994994no_fix (_ ) -> no_fix .
995995
996- % % @spec tokens_to_string(Tokens::[term()]) -> string()
997996% %
998997% % @doc Generates a string corresponding to the given token sequence.
999998% % The string can be re-tokenized to yield the same token list again.
1000-
1001- -spec tokens_to_string ([term ()]) -> string ().
1002-
1003999token_to_string (T ) ->
10041000 case erl_scan :text (T ) of
10051001 undefined ->
@@ -1017,6 +1013,7 @@ token_to_string(var, A) -> atom_to_list(A);
10171013token_to_string (dot , dot ) -> " .\n " ;
10181014token_to_string (Same , Same ) -> atom_to_list (Same ).
10191015
1016+ -spec tokens_to_string ([term ()]) -> string ().
10201017tokens_to_string ([T | Ts ]) ->
10211018 token_to_string (T ) ++ maybe_space (erl_scan :category (T ), Ts ) ++ tokens_to_string (Ts );
10221019tokens_to_string ([]) ->
You can’t perform that action at this time.
0 commit comments