* comment start in cc-mode extension
@ 2009-01-31 3:16 f00biebletch
0 siblings, 0 replies; only message in thread
From: f00biebletch @ 2009-01-31 3:16 UTC (permalink / raw)
To: help-gnu-emacs
I am trying to write a major mode based on cc-mode for the Fan
programming language and need to support comments starting with "**"
and am having problems. I've set the following variables to no avail:
(c-lang-defconst c-comment-start-regexp
; fan "\\(\\(//+\\|/\\*+\\)\\|\\*\\*\\)\\s *")
fan "\\(//+\\|/\\*+\\)\\|\\*\\*")
(c-lang-defconst c-block-comment-starter fan "**")
(c-lang-defconst c-block-comment-ender fan "**")
(c-lang-defconst c-comment-start-regexp fan "\\(//|\\*\\*\\)")
(c-lang-defconst c-block-comment-start-regexp fan "\\(/[*+]|\\*\\*\
\)")
I've also tried fandoc-font-lock-keywords and then adding fandoc to c-
doc-comment-style per the documentation on cc-mode, but that has not
worked either.
I'm pretty incompetent with lisp, and more so with cc-mode, so any
help would be appreciated.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-31 3:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-31 3:16 comment start in cc-mode extension f00biebletch
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.