[erlang-patches] Fix syntax highlighting of $ in Emacs

Björn Gustavsson <>
Fri Sep 17 10:46:41 CEST 2010


On Wed, Sep 15, 2010 at 4:29 PM, Magnus Henoch
<> wrote:
> This patch fixes Emacs syntax highlighting of the dollar sign in two
> cases, namely for strings ending with a dollar sign and an escaped
> double quote as a character constant:
>
> -vsn("$Revision: 42 $").
>
> foo() ->
>    $\".
>
> These combinations used to cause the syntax highlighter to believe that
> the following code is part of a string.
>
> git fetch git://github.com/legoscia/otp.git dollar_font_lock

Thanks! Will include in 'pu'.

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list