parent
84936f6f88
commit
2272d9cf7c
|
@ -1,3 +1,7 @@
|
|||
2004-07-07 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* vec.h: Fix the example use.
|
||||
|
||||
2004-07-06 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* langhooks-def.h (LANG_HOOKS_GIMPLE_BEFORE_INLINING): Remove.
|
||||
|
|
|
@ -85,9 +85,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|||
|
||||
struct my_struct *s;
|
||||
|
||||
if (VEC_length(tree,s)) { we have some contents }
|
||||
VEC_safe_push(tree,s,decl); // append some decl onto the end
|
||||
for (ix = 0; (t = VEC_iterate(tree,s,ix)); ix++)
|
||||
if (VEC_length(tree,s->v)) { we have some contents }
|
||||
VEC_safe_push(tree,s->v,decl); // append some decl onto the end
|
||||
for (ix = 0; (t = VEC_iterate(tree,s->v,ix)); ix++)
|
||||
{ do something with t }
|
||||
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue