OLD | NEW |
1 /* YACC parser for Ada expressions, for GDB. | 1 /* YACC parser for Ada expressions, for GDB. |
2 Copyright (C) 1986, 1989-1991, 1993-1994, 1997, 2000, 2003-2004, | 2 Copyright (C) 1986, 1989-1991, 1993-1994, 1997, 2000, 2003-2004, |
3 2007-2012 Free Software Foundation, Inc. | 3 2007-2012 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 #define yystate ada_state | 87 #define yystate ada_state |
88 #define yytmp ada_tmp | 88 #define yytmp ada_tmp |
89 #define yyv ada_v | 89 #define yyv ada_v |
90 #define yy_yyv ada_yyv | 90 #define yy_yyv ada_yyv |
91 #define yyval ada_val | 91 #define yyval ada_val |
92 #define yylloc ada_lloc | 92 #define yylloc ada_lloc |
93 #define yyreds ada_reds /* With YYDEBUG defined */ | 93 #define yyreds ada_reds /* With YYDEBUG defined */ |
94 #define yytoks ada_toks /* With YYDEBUG defined */ | 94 #define yytoks ada_toks /* With YYDEBUG defined */ |
95 #define yyname ada_name /* With YYDEBUG defined */ | 95 #define yyname ada_name /* With YYDEBUG defined */ |
96 #define yyrule ada_rule /* With YYDEBUG defined */ | 96 #define yyrule ada_rule /* With YYDEBUG defined */ |
| 97 #define yyss ada_yyss |
| 98 #define yysslim ada_yysslim |
| 99 #define yyssp ada_yyssp |
| 100 #define yystacksize ada_yystacksize |
| 101 #define yyvs ada_yyvs |
| 102 #define yyvsp ada_yyvsp |
97 | 103 |
98 #ifndef YYDEBUG | 104 #ifndef YYDEBUG |
99 #define YYDEBUG 1 /* Default to yydebug support */ | 105 #define YYDEBUG 1 /* Default to yydebug support */ |
100 #endif | 106 #endif |
101 | 107 |
102 #define YYFPRINTF parser_fprintf | 108 #define YYFPRINTF parser_fprintf |
103 | 109 |
104 struct name_info { | 110 struct name_info { |
105 struct symbol *sym; | 111 struct symbol *sym; |
106 struct minimal_symbol *msym; | 112 struct minimal_symbol *msym; |
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 * cascaded renamings to allow. If ORIG_LEFT_CONTEXT is null, it | 863 * cascaded renamings to allow. If ORIG_LEFT_CONTEXT is null, it |
858 * defaults to the currently selected block. ORIG_SYMBOL is the | 864 * defaults to the currently selected block. ORIG_SYMBOL is the |
859 * symbol that originally encoded the renaming. It is needed only | 865 * symbol that originally encoded the renaming. It is needed only |
860 * because its prefix also qualifies any index variables used to index | 866 * because its prefix also qualifies any index variables used to index |
861 * or slice an array. It should not be necessary once we go to the | 867 * or slice an array. It should not be necessary once we go to the |
862 * new encoding entirely (FIXME pnh 7/20/2007). */ | 868 * new encoding entirely (FIXME pnh 7/20/2007). */ |
863 | 869 |
864 static void | 870 static void |
865 write_object_renaming (struct block *orig_left_context, | 871 write_object_renaming (struct block *orig_left_context, |
866 const char *renamed_entity, int renamed_entity_len, | 872 const char *renamed_entity, int renamed_entity_len, |
error: old chunk mismatch |
None
OLD | NEW |