From 477f490820a28e479527e93d420f26ea23fdf3e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 2 Mar 2016 06:33:45 +0100 Subject: Replace "%" with "%%" at the beginning of a line We want to re-ident the source files after having taken out all ?line macros. When re-indenting using Emacs, it's important that comments that should be at the beginning of a line (or follow the indentation of statements around it) must start with "%%". --- lib/stdlib/test/beam_lib_SUITE.erl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/stdlib/test/beam_lib_SUITE.erl') diff --git a/lib/stdlib/test/beam_lib_SUITE.erl b/lib/stdlib/test/beam_lib_SUITE.erl index 22624e09a6..e5329da749 100644 --- a/lib/stdlib/test/beam_lib_SUITE.erl +++ b/lib/stdlib/test/beam_lib_SUITE.erl @@ -19,7 +19,7 @@ %% -module(beam_lib_SUITE). -%-define(debug, true). +%%-define(debug, true). -ifdef(debug). -define(format(S, A), io:format(S, A)). @@ -193,8 +193,6 @@ error(Conf) when is_list(Conf) -> %% such as sed and clearcasediff don't like zero bytes in text files, %% we have eliminated them. ?line ok = file:write_file(BeamFile, <<"FOR1",5:32,"BEAMfel">>), -% ?line verify(invalid_beam_file, beam_lib:info(BeamFile)), -% ?line verify(invalid_beam_file, beam_lib:info(<<"FOR1",5:32,"BEAMfel">>)), ?line NoOfTables = length(ets:all()), ?line true = (P0 == pps()), @@ -211,7 +209,7 @@ last_chunk(Bin) -> Last. do_error(BeamFile, ACopy) -> - % evil tests + %% evil tests ?line Chunks = chunk_info(BeamFile), ?line {value, {_, AtomStart, _}} = lists:keysearch("Atom", 1, Chunks), ?line {value, {_, ImportStart, _}} = lists:keysearch("ImpT", 1, Chunks), -- cgit v1.2.3