all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* define syntax using regex
@ 2014-05-06 23:35 Shiyuan
  0 siblings, 0 replies; only message in thread
From: Shiyuan @ 2014-05-06 23:35 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,
    I try to write a major mode for syntax highlight.  The language has the
structure type::variable, that is, the word before :: is a type name and
after :: is a variable name.  How can I define this syntax in emacs?
Thanks.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-06 23:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 23:35 define syntax using regex Shiyuan

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.