Branch: Tag:

2013-11-30

2013-11-30 17:07:43 by Martin Nilsson <nilsson@opera.com>

Support even simpler main prototype main(array args).

4034:    if (cur_compat_ver <= Version (7, 6))    ret=script->main(sizeof(argv),argv,getenv());    else +  { +  array a; +  if( __get_first_arg_type(_typeof(script->main))<=typeof(a) ) +  ret=script->main(argv); +  else    ret=script->main(sizeof(argv),argv); -  +  }    };    // Disable tracing.    trace = predef::trace(trace);