summaryrefslogtreecommitdiff
path: root/misc/cgo
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-03-27 15:22:52 -0400
committerRui Ueyama <ruiu@google.com>2014-03-27 15:22:52 -0400
commit688c7d359f266abb881a9432b9bec9954f7960af (patch)
tree3c9e1809fc3df22272a5258e296c9d679be84c34 /misc/cgo
parentae4f3f0533575577bc2fdb02a15f0ab65bb47c81 (diff)
downloadgo-688c7d359f266abb881a9432b9bec9954f7960af.tar.gz
misc/emacs: handle backslash in raw string in Emacs 23
Go-mode in Emacs 23 does not recognize a backslash followed by a backquote as end of raw string literal, as it does not support syntax-propertize-function which Go-mode uses to remove special meaning from backslashes in ``. This patch provides a fallback mechanism to do the same thing using font-lock-syntactic-keywords, which is supported by Emacs 23. LGTM=dominik.honnef R=golang-codereviews, dominik.honnef CC=adonovan, golang-codereviews https://codereview.appspot.com/78730048 Committer: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'misc/cgo')
0 files changed, 0 insertions, 0 deletions