diff options
author | Björn Gustavsson <[email protected]> | 2016-03-02 06:33:45 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-09 13:20:01 +0100 |
commit | 477f490820a28e479527e93d420f26ea23fdf3e3 (patch) | |
tree | 5faa1afdfaf59b12b83155028f2cc22b7b09be63 /lib/stdlib/test/erl_pp_SUITE.erl | |
parent | 03ec5bc984264feee907408e720015e2bd9b6108 (diff) | |
download | otp-477f490820a28e479527e93d420f26ea23fdf3e3.tar.gz otp-477f490820a28e479527e93d420f26ea23fdf3e3.tar.bz2 otp-477f490820a28e479527e93d420f26ea23fdf3e3.zip |
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
"%%".
Diffstat (limited to 'lib/stdlib/test/erl_pp_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/erl_pp_SUITE.erl | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/stdlib/test/erl_pp_SUITE.erl b/lib/stdlib/test/erl_pp_SUITE.erl index 415c1549d4..f59cd710d9 100644 --- a/lib/stdlib/test/erl_pp_SUITE.erl +++ b/lib/stdlib/test/erl_pp_SUITE.erl @@ -22,7 +22,7 @@ %%%----------------------------------------------------------------- -module(erl_pp_SUITE). -%-define(debug, true). +%%-define(debug, true). -ifdef(debug). -define(line, put(line, ?LINE), ). @@ -470,19 +470,12 @@ cond1(Config) when is_list(Config) -> {clause,4,[],[[{atom,4,true}]], [{tuple,5,[{atom,5,x},{atom,5,y}]}]}]}, CChars = flat_expr1(C), -% ?line "cond {foo,bar} -> [a,b]; true -> {x,y} end" = CChars, ?line "cond\n" " {foo,bar} ->\n" " [a,b];\n" " true ->\n" " {x,y}\n" "end" = CChars, -% ?line ok = pp_expr(<<"cond -% {foo,bar} -> -% [a,b]; -% true -> -% {x,y} -% end">>), ok. block(Config) when is_list(Config) -> |