help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

define syntax using regex


From: Shiyuan
Subject: define syntax using regex
Date: Tue, 6 May 2014 16:35:59 -0700

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]