]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/mcparse.y
gdb: make macro_stringify return a gdb::unique_xmalloc_ptr<char>
[thirdparty/binutils-gdb.git] / binutils / mcparse.y
index 121cfa92ef042b713afb9359a0b8603ea0e5d01f..a274eeee5a53ed2b750f65456c16731f1e18f8f1 100644 (file)
@@ -1,21 +1,21 @@
 %{ /* mcparse.y -- parser for Windows mc files
-  Copyright (C) 2007-2014 Free Software Foundation, Inc.
-  
+  Copyright (C) 2007-2020 Free Software Foundation, Inc.
+
   Parser for Windows mc files
   Written by Kai Tietz, Onevision.
-  
+
   This file is part of GNU Binutils.
-  
+
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3 of the License, or
   (at your option) any later version.
-  
+
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
-  
+
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
@@ -181,6 +181,7 @@ message:
            cur_node->severity = mc_cur_severity;
            cur_node->id = ($1 & 0xffffUL);
            cur_node->vid = ($1 & 0xffffUL) | mc_sefa_val;
+           cur_node->id_typecast = mcset_msg_id_typedef;
            mc_last_id = $1;
          }
          lang_entities