along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-
-/* Standard C includes. */
#include <ctype.h>
-
-/* Standard C++ includes. */
-#include <unordered_map>
-
-/* Local non-gdb includes. */
+#include "gdb_obstack.h"
+#include "symtab.h"
#include "buildsym.h"
#include "dictionary.h"
-#include "gdb_obstack.h"
#include "safe-ctype.h"
-#include "symtab.h"
+#include <unordered_map>
+#include "language.h"
/* This file implements dictionaries, which are tables that associate
symbols to names. They are represented by an opaque type 'struct
{
std::unordered_map<enum language, std::vector<symbol *>> nsyms;
- for (const struct pending *list_counter = symbol_list;
+ for (const pending *list_counter = symbol_list;
list_counter != nullptr; list_counter = list_counter->next)
{
for (int i = list_counter->nsyms - 1; i >= 0; --i)