<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi all,</div><div><br></div><div>I've been using TextMate for a while, but this is my first message on this list. First of all, I'd like to thank you guys for building such great bundles. And thank you Allan for all the good ideas that make TextMate such a great environment to evolve in.</div><div><br></div><div>As you might have guessed, I don't write an email just to congratulate. I have a question for the C language grammar maintainer.</div><div><br></div><div>The following function definition is wrongly parsed by the C bundle:</div><div><br></div><div><div><i>void __attribute__((section(".sramtext"))) hal_LpsDeepSleep(bool die)</i></div><div><i>{</i></div><div><i> ...</i></div><div><i>}</i></div><div><br></div><div>Here, the <i>__attribute__</i> is considered as an <i>entity.name.function.c</i>, instead of <span class="Apple-style-span" style="font-style: italic; ">hal_LpsDeepSleep</span>. The <span class="Apple-style-span" style="font-style: italic; ">__attribute__<span class="Apple-style-span" style="font-style: normal; "> keyword applied to variables also make the parser lost.</span></span></div><div><br></div><div>Is there a simple way to exclude <span class="Apple-style-span" style="font-style: italic; ">__attribute__</span> from the "possible function names"? I have not much experience with the language grammar syntax, so instead of implementing a dirty fix, I wanted to have your opinion about that.</div><div><br></div><div>Thanks in advance.</div><div><br></div></div><div>Mathieu</div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Optima; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div><div><br></div><div>___________________________________________</div><div><br></div><div>Mathieu Godart</div><div><br></div><div>Skype: mathieu_godart</div><div>MSN: <a href="mailto:mathieu_godart@hotmail.com">mathieu_godart@hotmail.com</a></div><div><br></div><div><div>ASIC Integration Manager</div><div>Coolsand Technologies</div></div><div>___________________________________________</div></div><br></div><br></div></div></span></div><br></body></html>