aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2010-09-15 15:24:52 +0100
committerBjörn Gustavsson <[email protected]>2010-09-30 14:23:18 +0200
commitb81b6106f9feda8f3bce9eca3173560778c336fb (patch)
tree3aaebff395b1c61f32500bbe24b21d0bcbc0521f /lib/orber
parentc9a40f46a37bd0891779d9204244a86ffb34a683 (diff)
downloadotp-b81b6106f9feda8f3bce9eca3173560778c336fb.tar.gz
otp-b81b6106f9feda8f3bce9eca3173560778c336fb.tar.bz2
otp-b81b6106f9feda8f3bce9eca3173560778c336fb.zip
Emacs erlang-mode: fix syntax highlighting of $ in two cases
A string whose last character is a dollar sign used to make the syntax highlighter believe that the string never ends, breaking highlighting of following code: -vsn("$Revision: 42 $"). And the double quote as a character constant with a (superfluous) backslash used to make the syntax highlighter believe that a new string started: foo() -> $\". This change fixes both problems by adding two regexps to font-lock-syntactic-keywords in erlang-font-lock-init. One case that is still broken is when a multi-line string ends with a dollar sign: bar() -> "This multi-line string ends with a $". baz() -> this_gets_incorrectly_highlighted.
Diffstat (limited to 'lib/orber')
0 files changed, 0 insertions, 0 deletions