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/dialyzer/test/options1_SUITE_data/src/compiler/v3_kernel.erl | |
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/dialyzer/test/options1_SUITE_data/src/compiler/v3_kernel.erl')
-rw-r--r-- | lib/dialyzer/test/options1_SUITE_data/src/compiler/v3_kernel.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dialyzer/test/options1_SUITE_data/src/compiler/v3_kernel.erl b/lib/dialyzer/test/options1_SUITE_data/src/compiler/v3_kernel.erl index d7c3e1add9..ecba19b1d1 100644 --- a/lib/dialyzer/test/options1_SUITE_data/src/compiler/v3_kernel.erl +++ b/lib/dialyzer/test/options1_SUITE_data/src/compiler/v3_kernel.erl @@ -129,7 +129,7 @@ function(#c_def{anno=Af,name=#c_fname{id=F,arity=Arity},val=Body}, St0) -> %%B1 = B0, St3 = St2, %Null second pass {#k_fdef{anno=#k{us=[],ns=[],a=Af ++ Ab}, func=F,arity=Arity,vars=Kvs,body=B1},St3}. - + %% body(Cexpr, Sub, State) -> {Kexpr,[PreKepxr],State}. %% Do the main sequence of a body. A body ends in an atomic value or %% values. Must check if vector first so do expr. @@ -719,7 +719,7 @@ last([_|T]) -> last(T). first([_]) -> []; first([H|T]) -> [H|first(T)]. - + %% This code implements the algorithm for an optimizing compiler for %% pattern matching given "The Implementation of Functional %% Programming Languages" by Simon Peyton Jones. The code is much @@ -1143,7 +1143,7 @@ arg_val(Arg) -> #k_bin_end{} -> 0; #k_binary{} -> 0 end. - + %% ubody(Expr, Break, State) -> {Expr,[UsedVar],State}. %% Tag the body sequence with its used variables. These bodies %% either end with a #k_break{}, or with #k_return{} or an expression |