cpp: handle nested macro calls like M(M(1))
commiteb0e6ae1b0a4ba9fe7a669fa7e6d2b91eac2d994
authorAli Gholami Rudi <ali@rudi.ir>
Wed, 14 Jul 2010 16:07:16 +0000 (14 20:37 +0430)
committerAli Gholami Rudi <ali@rudi.ir>
Wed, 14 Jul 2010 16:14:27 +0000 (14 20:44 +0430)
treee94bc8073c4035ce5dd2a098280f0a4c9e3fb066
parent7e910a7d23348cbccf95d0339aa42fedadea1711
cpp: handle nested macro calls like M(M(1))

Before this patch, nested macro calls were disabled to prevent
nested macro definition.  This patch places macro arguments on
the bufs stack too which helps to distinguish between these two
cases.
cpp.c