Hacker News new | ask | show | jobs
by PurplePanda 4219 days ago
It confuses me that it doesn't work for functions. like

    int main() return 0;
1 comments

In K&R C, the function braces serve to separate parameter declarations and local variables:

    int main(argc, argv)
      int argc;
      char **argv;
    {
      int local;
    }
Thanks, I haven't seen that syntax before.