<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Oct 28, 2010, at 9:49 AM, Nadeem Ahmad wrote:</div><blockquote type="cite">I have a question. I am adding new attributes to C++ for functions. Consider the following examples:<br><br><font size="4"><b>void foo UNSW ( ) { }</b></font><br><br>UNSW is an additional attribute associated with the function "foo". I am planning to add it to the <b>Declarator </b>object associated with the function so I can access it for type checking process. Is this the right direction to keep the attribute information for the Semantic analysis phase?</blockquote><br></div><div>Yes, adding attributes somewhere within the declarator will be necessary.</div><div><br></div><div>Note that if you were willing to require this to fall *before* the identifier, you would be able to use one of the existing attribute syntaxes.</div><div><br></div><div>John.</div><br></body></html>