Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
In which I have Opinions about parsing and grammars (greenend.org.uk)
2 points by Tomte 6 months ago | hide | past | favorite | 1 comment


> A comma would be fine too, because a declaration can contain a comma-separated list of things to declare.

    int foo(double), bar(int, int);
is valid C, apparently. Which makes sense, now that I think of it, but I'd rather never see it in any source code.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: