| OLD | NEW |
| 1 /* YACC parser for Pascal expressions, for GDB. | 1 /* YACC parser for Pascal expressions, for GDB. |
| 2 Copyright (C) 2000, 2006-2012 Free Software Foundation, Inc. | 2 Copyright (C) 2000, 2006-2012 Free Software Foundation, Inc. |
| 3 | 3 |
| 4 This file is part of GDB. | 4 This file is part of GDB. |
| 5 | 5 |
| 6 This program is free software; you can redistribute it and/or modify | 6 This program is free software; you can redistribute it and/or modify |
| 7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
| 8 the Free Software Foundation; either version 3 of the License, or | 8 the Free Software Foundation; either version 3 of the License, or |
| 9 (at your option) any later version. | 9 (at your option) any later version. |
| 10 | 10 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 #define yyrule pascal_rule /* With YYDEBUG defined */ | 98 #define yyrule pascal_rule /* With YYDEBUG defined */ |
| 99 #define yylhs pascal_yylhs | 99 #define yylhs pascal_yylhs |
| 100 #define yylen pascal_yylen | 100 #define yylen pascal_yylen |
| 101 #define yydefred pascal_yydefred | 101 #define yydefred pascal_yydefred |
| 102 #define yydgoto pascal_yydgoto | 102 #define yydgoto pascal_yydgoto |
| 103 #define yysindex pascal_yysindex | 103 #define yysindex pascal_yysindex |
| 104 #define yyrindex pascal_yyrindex | 104 #define yyrindex pascal_yyrindex |
| 105 #define yygindex pascal_yygindex | 105 #define yygindex pascal_yygindex |
| 106 #define yytable pascal_yytable | 106 #define yytable pascal_yytable |
| 107 #define yycheck pascal_yycheck | 107 #define yycheck pascal_yycheck |
| 108 #define yyss pascal_yyss |
| 109 #define yysslim pascal_yysslim |
| 110 #define yyssp pascal_yyssp |
| 111 #define yystacksize pascal_yystacksize |
| 112 #define yyvs pascal_yyvs |
| 113 #define yyvsp pascal_yyvsp |
| 108 | 114 |
| 109 #ifndef YYDEBUG | 115 #ifndef YYDEBUG |
| 110 #define YYDEBUG 1 /* Default to yydebug support */ | 116 #define YYDEBUG 1 /* Default to yydebug support */ |
| 111 #endif | 117 #endif |
| 112 | 118 |
| 113 #define YYFPRINTF parser_fprintf | 119 #define YYFPRINTF parser_fprintf |
| 114 | 120 |
| 115 int yyparse (void); | 121 int yyparse (void); |
| 116 | 122 |
| 117 static int yylex (void); | 123 static int yylex (void); |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 ; | 334 ; |
| 329 | 335 |
| 330 exp : field_exp COMPLETE | 336 exp : field_exp COMPLETE |
| 331 { struct stoken s; | 337 { struct stoken s; |
| 332 mark_struct_expression (); | 338 mark_struct_expression (); |
| 333 write_exp_elt_opcode (STRUCTOP_STRUCT); | 339 write_exp_elt_opcode (STRUCTOP_STRUCT); |
| 334 s.ptr = ""; | 340 s.ptr = ""; |
| 335 s.length = 0; | 341 s.length = 0; |
| 336 write_exp_string (s); | 342 write_exp_string (s); |
| 337 write_exp_elt_opcode (STRUCTOP_STRUCT); } | 343 write_exp_elt_opcode (STRUCTOP_STRUCT); } |
error: old chunk mismatch |
None
| OLD | NEW |