Branch: Tag:

2011-12-09

2011-12-09 19:05:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Type-checker: Enabled special-casing of last argument checking in new_check_call().

Inverted meaning of flag CALL_LAST_ARG to CALL_NOT_LAST_ARG.
Fixed some related bugs.
Fixes some of [bug 6064 (#6064)].

76:    * new_check_call() and check_splice_call() flags    */   #define CALL_STRICT 0x0001 /* Strict checking. */ - #define CALL_LAST_ARG 0x0002 /* This is the last argument. */ + #define CALL_NOT_LAST_ARG 0x0002 /* This is not the last argument. */   #define CALL_7_6 0x0004 /* Pike 7.6 compatibility mode. */   #define CALL_WEAK_VOID 0x0008 /* Allow promotion of void to zero. */   #define CALL_ARG_LVALUE 0x0010 /* Argument is lvalue (sscanf). */