RE: [sv-bc] For Future Consideration: Macros & Semicolons


Subject: RE: [sv-bc] For Future Consideration: Macros & Semicolons
From: Maidment, Matthew R (matthew.r.maidment@intel.com)
Date: Thu Feb 20 2003 - 12:48:16 PST


Hi Steven.

Thanks for brainstorming more code workarounds.
I brought my lousy workaround to the group to
demonstrate that nothing will do and I'll have
to craft some sort of conventions for knowing
when it is appropriate to terminate a macro with
a semi-colon.

I was really hoping for something more elegant.
I was trying to nudge everyone into what I really
wanted, but it didn't work so now I'll just ask:

What about allowing for null "stuff" in the BNF?

For example

  begin

  end; // The semi-colon is harmless

or

  ;; //The second semi-colon is harmless

I can anticipate that allowing for null will add
add more clutter to the BNF but the benefit to
macro processing is quite nice.

Matt

--
Matt Maidment                  
mmaidmen@ichips.intel.com



This archive was generated by hypermail 2b28 : Thu Feb 20 2003 - 12:49:22 PST