Re: How to reload grammar file

Tu Do <[email protected]> Tue, 10 Mar 2015 17:55:42 +0700
Newsgroups gmane.emacs.cedet
Message-ID <CAOEd9j=NZdy4932wyCroksqpgAGBBhvoN5YHLkuqg=rZuhzzHQ@mail.gmail.com>
Please add this to c.by to <semantic_list>:

%token <semantic-list> BRACES     "{}"

with brace pair added, Semantic will be able to parse semantic units inside
a namespace. Currently, Semantic is unable to do that because its rule
define a semantic-unit to be parsed, but the braces are not included as
part of semantic-list. Here is an example to reproduce:

namespace test_ns {
    class test_ns_class {
    private:
        int a;
    public:
        int func(int a, int b);
    };
};

If you try to fetch tags, there's nothing included as members of test_ns
tag. With the above addition, it can parse properly.

On Tue, Mar 10, 2015 at 4:49 PM, Tu Do <[email protected]> wrote:

> Hi Eric,
>
> If I change a grammar file i.e. c.by and test it, how do I reload it? Do
> I have to run make again?
>
> Thanks,
>
> Tu.
>

------------------------------------------------------------------------------
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/

_______________________________________________
Cedet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cedet-devel