Unbreak arg parsing.

This commit is contained in:
Kris Maglione 2007-07-03 05:49:34 -04:00
parent 8e079b8628
commit c941881c40
1 changed files with 2 additions and 2 deletions

View File

@ -54,11 +54,11 @@ int __i;
#define ARGF() ((_inargv && _argv[_argi]) ? \ #define ARGF() ((_inargv && _argv[_argi]) ? \
(_argtmp=_argi, _argi=strlen(_argv), __i=_argi,_argv+_argtmp) \ (_argtmp=_argi, _argi=strlen(_argv), __i=_argi,_argv+_argtmp) \
: ((argc > 0) ? (--argc, ++argv, __i=argc, __p=argv, (*argv-1)) : ((char*)0))) : ((argc > 0) ? (--argc, ++argv, __i=argc, __p=argv, *(argv-1)) : ((char*)0)))
#define EARGF(f) ((_inargv && _argv[_argi]) ? \ #define EARGF(f) ((_inargv && _argv[_argi]) ? \
(_argtmp=_argi, _argi=strlen(_argv), __i=_argi, _argv+_argtmp) \ (_argtmp=_argi, _argi=strlen(_argv), __i=_argi, _argv+_argtmp) \
: ((argc > 0) ? (--argc, ++argv, __i=argc, __p=argv, (*argv-1)) : ((f), (char*)0))) : ((argc > 0) ? (--argc, ++argv, __i=argc, __p=argv, *(argv-1)) : ((f), (char*)0)))
#ifndef KENC #ifndef KENC
# undef USED # undef USED