PATCH to add tree.c:expr_last

Jason Merrill jason@redhat.com
Tue May 20 20:04:00 GMT 2003


expr_last is a new utility function that does for COMPOUND_EXPRs what
tree_last does for TREE_LISTs.

Objective-C had a static function with the same name; its purpose was
different and not immediately apparent, so I just renamed it to
objc_expr_last.

Booted and tested i686-pc-linux-gnu, applied to trunk and tree-ssa.

2003-05-20  Jason Merrill  <jason@redhat.com>

	* tree.c (expr_last): New fn.
	* tree.h: Declare it.
	* objc/objc-act (expr_last): Rename to objc_expr_last.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 3310 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030520/b268f63e/attachment.bin>


More information about the Gcc-patches mailing list