From 5db6226178d98141b7d1f5cf792797160710c693 Mon Sep 17 00:00:00 2001 From: Magnus Henoch Date: Mon, 6 Aug 2012 11:16:27 +0100 Subject: Fix highlighting of atoms ending with a dollar sign Like this: 'atom$'. In that example, the last single quote should be recognised as ending the atom. This needs a font-lock workaround similar to the one for strings. --- lib/tools/emacs/test.erl.indented | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/tools/emacs/test.erl.indented') diff --git a/lib/tools/emacs/test.erl.indented b/lib/tools/emacs/test.erl.indented index e0593c6522..45d9593000 100644 --- a/lib/tools/emacs/test.erl.indented +++ b/lib/tools/emacs/test.erl.indented @@ -215,6 +215,11 @@ highlighting(X) % Function definitions should be highlighted "char $in string", atom, + 'atom$', atom, 'atom$', atom, + 'atom\$', atom, + + 'char $in atom', atom, + $[, ${, $\\, atom, ?MACRO_1, ?MACRO_2(foo), -- cgit v1.2.3