Thanks Shalom. Matt, please change my vote to "yes" on 1957 and I'll leave 1571 as "no" for now pending changes from Shalom. Gord. Bresticker, Shalom wrote: > 1571, 1957: > > Gord, you're right. > > 1957 is correct and the example in 1571 is wrong. > > If that is your only objection, you can change your vote on 1957 to Yes > and I will correct 1571 in the meantime. > > Thanks, > Shalom > > >>> SVDB 1571 ___Yes _X_No >>> http://www.eda.org/svdb/view.php?id=1571 >> See comments below on 1957 -- I think there is an incorrect >> interaction between 1571 and 1957 that needs to be corrected >> on one of the two sides. >> >>> SVDB 1957 ___Yes _X_No >>> http://www.eda.org/svdb/view.php?id=1957 >> The 1571 proposal has the following: >> `define MACRO2(a=5, b, c="C") $display(a,,b,,c); >> `MACRO2 (1, , 3) // ILLEGAL: b omitted, no default >> But my reading of 1957 is that "b" should just be empty here >> and not illegal. >> >> What is the intent of 1957 and 1571? Do different rules >> apply for macros in which any formal has a default? If so >> the example above is Ok but the rule needs to be much more >> clearly stated. >> >> I think that 1571 might intend to say that if an argument for >> a formal with a default is omitted, the default is used and >> then ALL subsequent omitted arguments must have defaults. >> If that is the intent then 1957 and 1571 are Ok together >> except for the above example which would be legal. >> >> >> Sorry for the late "no" on this -- I had focussed on the >> "blue" text in 1571 previously and it wasn't until I looked >> at 1957 separately that I became a bit confused on this point. > --------------------------------------------------------------------- > Intel Israel (74) Limited > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. -- -------------------------------------------------------------------- Gordon Vreugdenhil 503-685-0808 Model Technology (Mentor Graphics) gordonv@model.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Tue Nov 27 10:18:45 2007
This archive was generated by hypermail 2.1.8 : Tue Nov 27 2007 - 10:19:06 PST