* 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).