C lexer should trigger an Error for dangling */

Issue #467 resolved
Anonymous created an issue

While / / c / i++ / is not a valid C code, no error is currently triggered on the last */.

I imagine that adding a regex for that token in the 'statements' state is enough for this.

I attach an mercurial export, mostly to learn whether that's the proper way to submit patches (I've used mostly darcs and git, never mercurial...)

Best regards, Samuel Hym

Reported by samuelhym