gdb: Remove cleanup from linux_nat_target::follow_fork
[deliverable/binutils-gdb.git] / gdb / parser-defs.h
index c67b8d5691b6c2abe7fba375a3e347be5622ba13..195264f48a6aa9b6a21defa14f86e20272555116 100644 (file)
@@ -1,6 +1,6 @@
 /* Parser definitions for GDB.
 
-   Copyright (C) 1986-2018 Free Software Foundation, Inc.
+   Copyright (C) 1986-2019 Free Software Foundation, Inc.
 
    Modified from expread.y by the Department of Computer Science at the
    State University of New York at Buffalo.
@@ -233,11 +233,7 @@ union type_stack_elt
 struct type_stack
 {
   /* Elements on the stack.  */
-  union type_stack_elt *elements;
-  /* Current stack depth.  */
-  int depth;
-  /* Allocated size of stack.  */
-  int size;
+  std::vector<union type_stack_elt> elements;
 };
 
 /* Reverse an expression from suffix form (in which it is constructed)
This page took 0.025202 seconds and 4 git commands to generate.