From 06a67404601b54ff384ffde54836c7e9b94be119 Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Fri, 16 May 2008 22:07:38 -0700 Subject: [PATCH] Erlang test file for erlware mode. --- test.erl | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 test.erl diff --git a/test.erl b/test.erl new file mode 100644 index 0000000..447ae65 --- /dev/null +++ b/test.erl @@ -0,0 +1,29 @@ +%% This file contains Erlang code for testing the +%% Erlware emacs mode. It contains functions that +%% use different corner cases to make sure the mode +%% does the right thing. +%% +%% <> + +-module(test.erl). + +func1() -> + % This line should stay here after a tab. + % <> + ok. + +func2() -> + % Pressing tabs on all lines should not change indents. + {1, $(}, + {2, $)}, + {3, $>}, + {4, $<}, + {5, $,}, + [$% | ["should not be highlighted as a comment"]], + ok. + +func3() -> + % This is currently broken. If you edit the font lock + % mode to underline function names, there will be an + % underline character after the 'ok'. + fun() -> ok end. -- 2.11.4.GIT