aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/emacs_SUITE_data/comments
blob: ff974ca295abf24e1b8d3d10b8594b801f0c36e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
%% -*- Mode: erlang; indent-tabs-mode: nil -*-
%% Copyright Ericsson AB 2017. All Rights Reserved.

%%% 3 comment chars: always left indented
%%% 2 comment chars: Context indented
%%% 1 comment char: Rigth indented

%%% left
%% context dependent
                                                % rigth

func() ->
%%% left
    %% context dependent
                                                % right indented
    case get(foo) of
        undefined ->
            %% Testing indention
            ok;
        %% Catch all
        Other ->
            Other
    end,
    ok.