Re: How to reload grammar file

Eric Ludlam <[email protected]> Sun, 22 Mar 2015 15:06:55 -0400
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
On 03/10/2015 05:49 AM, Tu Do wrote:
> Hi Eric,
>
> If I change a grammar file i.e. c.by <http://c.by> and test it, how do I
> reload it? Do I have to run make again?

When in a grammar file, press "C-c C-c" to do the compile step directly 
from the buffer.  If you are using the version of CEDET from 
sourceforge/git, it will also reload the newly compiled grammar back 
into Emacs, and force all buffers matching that mode to reload the 
parser, and clear caches so when tags are next requested, your changes 
will be included.

If it doesn't do all those steps, then I'd consider that a bug that 
needs fixing.

Eric

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/