I would like to modify the compiler so that it will allow default arguments.
Several C compilers allow this as an extension. The common approach is
to define the default arguments in the prototype
int foobar (int, int=1, int=2);
and not in the actual function
int foobar (int a, int b, int c)
Allowing for the following valid invocations
foobar(100)
foobar(100,200)
foobar (100,200,300)
Has anyone added this capability to TCC ?
Can anyone give me hints on how to go about this?
--
Kevin Diggins
[EMAIL PROTECTED]
_______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
