| OLD | NEW |
| 1 /* YACC parser for Java expressions, for GDB. | 1 /* YACC parser for Java expressions, for GDB. |
| 2 Copyright (C) 1997-2000, 2006-2012 Free Software Foundation, Inc. | 2 Copyright (C) 1997-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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 #define yyrule java_rule /* With YYDEBUG defined */ | 91 #define yyrule java_rule /* With YYDEBUG defined */ |
| 92 #define yylhs java_yylhs | 92 #define yylhs java_yylhs |
| 93 #define yylen java_yylen | 93 #define yylen java_yylen |
| 94 #define yydefred java_yydefred | 94 #define yydefred java_yydefred |
| 95 #define yydgoto java_yydgoto | 95 #define yydgoto java_yydgoto |
| 96 #define yysindex java_yysindex | 96 #define yysindex java_yysindex |
| 97 #define yyrindex java_yyrindex | 97 #define yyrindex java_yyrindex |
| 98 #define yygindex java_yygindex | 98 #define yygindex java_yygindex |
| 99 #define yytable java_yytable | 99 #define yytable java_yytable |
| 100 #define yycheck java_yycheck | 100 #define yycheck java_yycheck |
| 101 #define yyss java_yyss |
| 102 #define yysslim java_yysslim |
| 103 #define yyssp java_yyssp |
| 104 #define yystacksize java_yystacksize |
| 105 #define yyvs java_yyvs |
| 106 #define yyvsp java_yyvsp |
| 101 | 107 |
| 102 #ifndef YYDEBUG | 108 #ifndef YYDEBUG |
| 103 #define YYDEBUG 1 /* Default to yydebug support */ | 109 #define YYDEBUG 1 /* Default to yydebug support */ |
| 104 #endif | 110 #endif |
| 105 | 111 |
| 106 #define YYFPRINTF parser_fprintf | 112 #define YYFPRINTF parser_fprintf |
| 107 | 113 |
| 108 int yyparse (void); | 114 int yyparse (void); |
| 109 | 115 |
| 110 static int yylex (void); | 116 static int yylex (void); |
| (...skipping 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1440 { | 1446 { |
| 1441 int i; | 1447 int i; |
| 1442 | 1448 |
| 1443 for (i = expout_ptr - 1; i >= pos; i--) | 1449 for (i = expout_ptr - 1; i >= pos; i--) |
| 1444 expout->elts[i + newlen] = expout->elts[i]; | 1450 expout->elts[i + newlen] = expout->elts[i]; |
| 1445 } | 1451 } |
| 1446 | 1452 |
| 1447 memcpy (expout->elts + pos, new->elts, EXP_ELEM_TO_BYTES (newlen)); | 1453 memcpy (expout->elts + pos, new->elts, EXP_ELEM_TO_BYTES (newlen)); |
| 1448 expout_ptr += newlen; | 1454 expout_ptr += newlen; |
| 1449 } | 1455 } |
| OLD | NEW |