indent segfaul
"Simmons, Aaron" <[email protected]> Tue, 15 Dec 2009 15:44:22 -0500
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <9BF48DB58688484396C43886E8E7AD88067EB9C148@RSHBGXMBCLS1.rosettastone.local> |
I am seeing a segfault with indent 2.2.10.
I can't send you the specific code file its happening on (as its proprietary), but I have found some open source where the same problem happens. You can get it from here:
https://trac.xiph.org/browser/trunk/speex/libspeex/nb_celp.c
And here is the command:
> $ indent --k-and-r-style nb_celp.c -o nb_celp.new.c
> indent: nb_celp.c:441: Warning:old style assignment ambiguity in "=-". Assuming "= -"
>
> Segmentation fault
This appears to only happen on Mac OS X when using anything other than the default gnu style. Also, it won't happen on Ubuntu.
Thanks,
aaron