>>>>> "Eric" == Eric M Ludlam <eric@...> writes:
Eric> I'm guessing the appended patch (at the bottom) will fix this specific
Yes, this worked for the senator-complete-symbol problem.
Initially, even with this patch, I still saw the idle error.
But after running senator-complete-symbol, it seems to have gone away.
Eric> I'm guessing that you have something like:
Eric> #include "mode-classes.def"
Eric> so semantic thinks it can load it, but when it does, no parser is
Eric> available, and no database table is created for it.
Yes, indeed. Some of the .def files in GCC have c-mode set in their
local variables section, but the majority of them do not.
Eric> Another option for you is to modify the auto-mode-alist so that .def
Eric> files go into c++ mode.
I may give this a try. Thanks for the quick patch :-)