mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-28 01:18:15 +02:00
For this we always add a new argument to the argument list as soon as possible, without waiting until we see some argument token. This does mean we need to take some extra care when comparing the number of arguments with the number of expected arguments. In addition to matching numbers, we also support one (empty) argument when zero arguments are expected. Add a test case here for this, which does pass.
6 lines
91 B
C
6 lines
91 B
C
#define zero() success
|
|
zero()
|
|
#define one(x) success
|
|
one()
|
|
#define two(x,y) success
|
|
two(,)
|