On 09/19/2011 05:11 PM, Jason Merrill wrote: > On 09/19/2011 04:22 AM, Ed Smith-Rowland wrote: >> +check_literal_operator_args( const_tree decl, > > Space before the (, not after. > Duh. =:o) >> Done. I am now storing the numeric string along with the number and >> the suffix ID for numeric operators. I'm keeping the numeric value >> because we need it too. > > Can't you store the string and the suffix, and then interpret the > number later if you end up calling an operator that takes the value? I could and I thought abut it but from the wording (2.14.8 p3 and p4) it looks like the numeric argument gets first try, then raw literal then literal template. I thought I might as well let the preprocessor do the numeric conversion since I'll always check it first. > > Jason > Also, I put the check in that errors if both a raw literal and a literal template share the same name. That testcase now has dg stuff in it. Ed