Re: Some files that CEDET cannot parse and produce errors
"Eric M. Ludlam" <[email protected]>
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
On 06/03/2014 03:18 PM, David Engster wrote: > Tu Do writes: >> hif-shiftleft: Arithmetic error >> Parsing jiffies.h (LL)... >> Idle Parse Error: "#<buffer jiffies.h> - Arithmetic error" > > This is a bug in hide-ifdef-mode, which is used by Semantic to see if it > should skip #if/#ifdef blocks during parsing. This mode was partly > rewritten lately, and older versions do not throw this error, which is > why Eric could not reproduce it. > > I filed an Emacs bug: > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17681 Thanks David. I was coming to that same conclusion, which is what my patch was related to. So the question is; should the C parser defend against bad hideif code, or let hideif continue to have it's errors exposed via the C preprocessor? Eric ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech