[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: c-mode: dynamic Keywords List
From: |
Daniel Pittman |
Subject: |
Re: c-mode: dynamic Keywords List |
Date: |
Tue, 18 Aug 2009 23:48:44 +1000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
"A. Soare" <address@hidden> writes:
> The grammar of C language is LALR(1) if we leave out the typedef. At the
> beginning, the C language was designed to be LALR(1), but in time this
> characteristic was lost.
>
> With typedef, the parsing tables changes dynamically. Is it possible to
> define dynamically the list of keywords, such that the new keywords be
> colored into the color defined by Font Lock Keyword Face ?
You want the 'ctypes.el' package, not part of core:
http://www.emacswiki.org/emacs/AddKeywords#toc4
Regards,
Daniel
--
✣ Daniel Pittman ✉ address@hidden ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
Looking for work? Love Perl? In Melbourne, Australia? We are hiring.