diff options
author | Dan Gudmundsson <[email protected]> | 2018-03-01 15:00:02 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2018-03-01 15:00:02 +0100 |
commit | cc0a308533b38371e4a7fe8caa9c9e65bd15cc26 (patch) | |
tree | 880e0de93dfe345594aad6e0ba8d805a568675a5 /lib/tools/test/emacs_SUITE_data/records | |
parent | 3bba476ad0df599050ccfc0826856111f5ff1bde (diff) | |
parent | af960d82c5b8322a40bddc4bc08897b7e2d95463 (diff) | |
download | otp-cc0a308533b38371e4a7fe8caa9c9e65bd15cc26.tar.gz otp-cc0a308533b38371e4a7fe8caa9c9e65bd15cc26.tar.bz2 otp-cc0a308533b38371e4a7fe8caa9c9e65bd15cc26.zip |
Merge branch 'maint'
* maint:
emacs: delimiter first in icr works
emacs: Indent delimiter first in term elements correctly
emacs: Indent tuple (and maps) elements as list elements
Add emacs indention testcase
Diffstat (limited to 'lib/tools/test/emacs_SUITE_data/records')
-rw-r--r-- | lib/tools/test/emacs_SUITE_data/records | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/tools/test/emacs_SUITE_data/records b/lib/tools/test/emacs_SUITE_data/records new file mode 100644 index 0000000000..241582718c --- /dev/null +++ b/lib/tools/test/emacs_SUITE_data/records @@ -0,0 +1,35 @@ +%% -*- Mode: erlang; indent-tabs-mode: nil -*- +%% Copyright Ericsson AB 2017. All Rights Reserved. + +%% Test that records are indented correctly + +-record(record0, + { + r0a, + r0b, + r0c + }). + +-record(record1, {r1a, + r1b, + r1c + }). + +-record(record2, { + r2a, + r2b + }). + +-record(record3, {r3a = 8#42423 bor + 8#4234, + r3b = 8#5432 + bor 2#1010101, + r3c = 123 + + 234, + r3d}). + +-record(record5, + { r5a = 1 :: integer() + , r5b = foobar :: atom() + }). + |