diff options
author | Pierre Fenoll <[email protected]> | 2013-09-10 15:48:29 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-09-12 15:09:35 +0200 |
commit | 21095e6830f37676dd29c33a590851ba2c76499b (patch) | |
tree | af67365890562885620703842def67331c1346fd /lib/tools/test/eprof_SUITE_data | |
parent | b15d3c7cc568abfb2c7cf48cd76f1d8d503b2736 (diff) | |
download | otp-21095e6830f37676dd29c33a590851ba2c76499b.tar.gz otp-21095e6830f37676dd29c33a590851ba2c76499b.tar.bz2 otp-21095e6830f37676dd29c33a590851ba2c76499b.zip |
Remove ^L characters hidden randomly in the code. Not those used in text files as delimiters.
While working on a tool that processes Erlang code and testing it against this repo,
I found out about those little sneaky 0xff. I thought it may be of help to other
people build such tools to remove non-conforming-to-standard characters.
Diffstat (limited to 'lib/tools/test/eprof_SUITE_data')
-rw-r--r-- | lib/tools/test/eprof_SUITE_data/eed.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tools/test/eprof_SUITE_data/eed.erl b/lib/tools/test/eprof_SUITE_data/eed.erl index 520c5f3dd1..5f2a21aa60 100644 --- a/lib/tools/test/eprof_SUITE_data/eed.erl +++ b/lib/tools/test/eprof_SUITE_data/eed.erl @@ -146,7 +146,7 @@ format_error({'EXIT', {Code, {Mod, Func, Args}}}) -> [{Code, {Mod, Func, length(Args)}}])); format_error(A) -> atom_to_list(A). - + %%% Parsing commands. @@ -327,7 +327,7 @@ when 0 =< Num1, Num1 =< Num2, Num2 =< State#state.lines -> check_lines(_, _, _, _) -> error(bad_linenum). - + %%% Executing commands. %% ($)= - print line number @@ -657,7 +657,7 @@ undo_command(_, _, _) -> write_command(_Cmd, [_First, _Last], _St) -> error(not_implemented). - + %%% Primitive buffer operations. print_current(St) -> @@ -717,7 +717,7 @@ wrap_next_line(State) when State#state.dot == State#state.lines -> wrap_next_line(State) -> next_line(State). - + %%% Utilities. get_pattern(End, Cmd, State) -> |