Branch: Tag:

2017-01-08

2017-01-08 14:20:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: __ARGS__ is now a macro expanding to __args__.

This ensures that the symbol was reserved in prior versions of Pike,
and also makes it possible to check support via #ifdef.

3545:    do_magic_define(&this,"_Pragma",insert_pragma)->args = 1;    simple_add_define(&this, "static_assert", "_Static_assert");    +  simple_add_define(&this, "__ARGS__", "__args__"); +     do_magic_define(&this,"__COUNTER__",insert_current_counter);       /* These are Pike extensions. */