OLD | NEW |
1 /* YACC parser for Fortran expressions, for GDB. | 1 /* YACC parser for Fortran expressions, for GDB. |
2 Copyright (C) 1986, 1989-1991, 1993-1996, 2000-2012 Free Software | 2 Copyright (C) 1986, 1989-1991, 1993-1996, 2000-2012 Free Software |
3 Foundation, Inc. | 3 Foundation, Inc. |
4 | 4 |
5 Contributed by Motorola. Adapted from the C parser by Farooq Butt | 5 Contributed by Motorola. Adapted from the C parser by Farooq Butt |
6 (fmbutt@engage.sps.mot.com). | 6 (fmbutt@engage.sps.mot.com). |
7 | 7 |
8 This file is part of GDB. | 8 This file is part of GDB. |
9 | 9 |
10 This program is free software; you can redistribute it and/or modify | 10 This program is free software; you can redistribute it and/or modify |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 #define yyrule f_rule /* With YYDEBUG defined */ | 98 #define yyrule f_rule /* With YYDEBUG defined */ |
99 #define yylhs f_yylhs | 99 #define yylhs f_yylhs |
100 #define yylen f_yylen | 100 #define yylen f_yylen |
101 #define yydefred f_yydefred | 101 #define yydefred f_yydefred |
102 #define yydgoto f_yydgoto | 102 #define yydgoto f_yydgoto |
103 #define yysindex f_yysindex | 103 #define yysindex f_yysindex |
104 #define yyrindex f_yyrindex | 104 #define yyrindex f_yyrindex |
105 #define yygindex f_yygindex | 105 #define yygindex f_yygindex |
106 #define yytable f_yytable | 106 #define yytable f_yytable |
107 #define yycheck f_yycheck | 107 #define yycheck f_yycheck |
| 108 #define yyss f_yyss |
| 109 #define yysslim f_yysslim |
| 110 #define yyssp f_yyssp |
| 111 #define yystacksize f_yystacksize |
| 112 #define yyvs f_yyvs |
| 113 #define yyvsp f_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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 context where only a name could occur, this might be useful. | 660 context where only a name could occur, this might be useful. |
655 | NAME_OR_INT | 661 | NAME_OR_INT |
656 */ | 662 */ |
657 ; | 663 ; |
658 | 664 |
659 %% | 665 %% |
660 | 666 |
661 /* Take care of parsing a number (anything that starts with a digit). | 667 /* Take care of parsing a number (anything that starts with a digit). |
662 Set yylval and return the token type; update lexptr. | 668 Set yylval and return the token type; update lexptr. |
663 LEN is the number of characters in it. */ | 669 LEN is the number of characters in it. */ |
error: old chunk mismatch |
None
OLD | NEW |