|
From: Cary R. <cy...@ya...> - 2008-04-18 20:09:02
|
Steve has claimed this report, but I looked at it earlier this week and here are my notes.
list_of_port_declarations or task_port_decl_list can be used as templates for what needs to be done to implement this. Adding something like these that is specific to functions (no inout/output) and a new rule that uses this appears to be all that is required. The new rule is a slight modification of the existing rule, change the $ indexes as needed and replace the function_item_list with a block_item_decl, this does not include the I/O decls and does not need to be processed. Add the I/O decls after the function name.
Something like:
.... IDENTIFIER '('
{ C++ scope code...}
func_port_decl_list ')' ';'
block_item_decl statement ...
Cary
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
|