ncc: support k&r style function definitions
commit5cac2113243195d2ee11c30f531f8cf86e19e54c
authorAli Gholami Rudi <ali@rudi.ir>
Thu, 8 Dec 2011 17:02:29 +0000 (8 20:32 +0330)
committerAli Gholami Rudi <ali@rudi.ir>
Thu, 8 Dec 2011 17:02:29 +0000 (8 20:32 +0330)
tree113e5094e12a989dcdcea57cb93bba96af047358
parent3f5107d0fc9c2f9b74fcc6dcb1be2a9c10b7855c
ncc: support k&r style function definitions

Now it is possible to compile things like:

  f(s, n)
   char *b;
  {
   return i;
  }

I also added a few comments and cleaned up the variable definition
and initializer expression parsing sections a bit.
ncc.c