X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fcp%2Foperators.def;h=b8400cd33c3df0170da66f91757c93f7558370ec;hb=df476b3b715126a236b381c02bf841eb77c75bce;hp=845dbbd2de94db52ec2815660a3a6419a5b30393;hpb=9031d10bd672bc998735aa044155b896bf370917;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/cp/operators.def b/gcc/cp/operators.def index 845dbbd2de9..b8400cd33c3 100644 --- a/gcc/cp/operators.def +++ b/gcc/cp/operators.def @@ -21,8 +21,8 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. */ /* The DEF_OPERATOR macro takes the following arguments: @@ -129,9 +129,6 @@ DEF_SIMPLE_OPERATOR ("->", COMPONENT_REF, "pt", 2) DEF_SIMPLE_OPERATOR ("[]", ARRAY_REF, "ix", 2) DEF_SIMPLE_OPERATOR ("++", POSTINCREMENT_EXPR, "pp", 2) DEF_SIMPLE_OPERATOR ("--", POSTDECREMENT_EXPR, "mm", 2) -/* These operators are GNU extensions. */ -DEF_SIMPLE_OPERATOR ("?", MAX_EXPR, "v23max", 2) /* This one is needed for mangling. */ DEF_SIMPLE_OPERATOR ("::", SCOPE_REF, "sr", 2) @@ -147,12 +144,12 @@ DEF_ASSN_OPERATOR ("|=", BIT_IOR_EXPR, "oR", 2) DEF_ASSN_OPERATOR ("^=", BIT_XOR_EXPR, "eO", 2) DEF_ASSN_OPERATOR ("<<=", LSHIFT_EXPR, "lS", 2) DEF_ASSN_OPERATOR (">>=", RSHIFT_EXPR, "rS", 2) -/* These operators are GNU extensions. */ -DEF_ASSN_OPERATOR ("?=", MAX_EXPR, "v23maX", 2) /* Ternary operators. */ DEF_SIMPLE_OPERATOR ("?:", COND_EXPR, "qu", 3) /* Miscellaneous. */ DEF_SIMPLE_OPERATOR ("()", CALL_EXPR, "cl", -1) + +/* Variadic templates extension. */ +DEF_SIMPLE_OPERATOR ("...", EXPR_PACK_EXPANSION, "pu", 1)