#include "bcdefs.h"#include "global.h"#include "proto.h"Include dependency graph for bc.c:

Go to the source code of this file.
Data Structures | |
| union | YYSTYPE |
Defines | |
| #define | YYBYACC 1 |
| #define | YYMAJOR 1 |
| #define | YYMINOR 9 |
| #define | yyclearin (yychar=(-1)) |
| #define | yyerrok (yyerrflag=0) |
| #define | YYRECOVERING (yyerrflag!=0) |
| #define | YYPREFIX "yy" |
| #define | NEWLINE 257 |
| #define | AND 258 |
| #define | OR 259 |
| #define | NOT 260 |
| #define | STRING 261 |
| #define | NAME 262 |
| #define | NUMBER 263 |
| #define | MUL_OP 264 |
| #define | ASSIGN_OP 265 |
| #define | REL_OP 266 |
| #define | INCR_DECR 267 |
| #define | Define 268 |
| #define | Break 269 |
| #define | Quit 270 |
| #define | Length 271 |
| #define | Return 272 |
| #define | For 273 |
| #define | If 274 |
| #define | While 275 |
| #define | Sqrt 276 |
| #define | Else 277 |
| #define | Scale 278 |
| #define | Ibase 279 |
| #define | Obase 280 |
| #define | Auto 281 |
| #define | Read 282 |
| #define | Warranty 283 |
| #define | Halt 284 |
| #define | Last 285 |
| #define | Continue 286 |
| #define | Print 287 |
| #define | Limits 288 |
| #define | UNARY_MINUS 289 |
| #define | YYERRCODE 256 |
| #define | YYTABLESIZE 1113 |
| #define | YYFINAL 1 |
| #define | YYDEBUG 0 |
| #define | YYMAXTOKEN 289 |
| #define | YYSTACKSIZE 500 |
| #define | YYMAXDEPTH 500 |
| #define | yystacksize YYSTACKSIZE |
| #define | YYABORT goto yyabort |
| #define | YYREJECT goto yyabort |
| #define | YYACCEPT goto yyaccept |
| #define | YYERROR goto yyerrlab |
Functions | |
| int | yyparse () |
Variables | |
| static char | yysccsid [] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" |
| short | yylhs [] |
| short | yylen [] |
| short | yydefred [] |
| short | yydgoto [] |
| short | yysindex [] |
| short | yyrindex [] |
| short | yygindex [] |
| short | yytable [] |
| short | yycheck [] |
| int | yydebug |
| int | yynerrs |
| int | yyerrflag |
| int | yychar |
| short * | yyssp |
| YYSTYPE * | yyvsp |
| YYSTYPE | yyval |
| YYSTYPE | yylval |
| short | yyss [YYSTACKSIZE] |
| YYSTYPE | yyvs [YYSTACKSIZE] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 63 of file bc.c. Referenced by gettable(), main(), and parse(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 66 of file bc.c. Referenced by insert_string(), readline(), and rl_check_ints(). |
|
|
|
|
|
|
|
|
Definition at line 57 of file bc.c. Referenced by ctags(), and lex_gettoken(). |
|
|
Definition at line 52 of file bc.c. Referenced by columns(), readline(), and redisplay(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 82 of file bc.c. Referenced by getendif(), main(), and parse(). |
|
|
|
|
|
Definition at line 77 of file bc.c. Referenced by getsize(), and writedata(). |
|
|
|
|
|
Definition at line 67 of file bc.c. Referenced by Jump(). |
|
|
Definition at line 73 of file bc.c. Referenced by Findscale(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 410 of file bc.c. Referenced by yyparse(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 412 of file bc.c. Referenced by yyparse(). |
|
|
|
|
|
Definition at line 10 of file bc.c. Referenced by yyparse(). |
|
|
|
|
|
|
|
|
Definition at line 549 of file bc.c. Referenced by yyparse(). |
|
|
|
|
|
Definition at line 179 of file bc.c. Referenced by yyparse(). |
|
|
Definition at line 555 of file bc.c. References getenv(), printf, yychar, yycheck, YYDEBUG, yydebug, yydefred, YYERRCODE, yyerrflag, yyerror(), yylex(), yylval, YYMAXTOKEN, yynerrs, YYPREFIX, yyrindex, yysindex, yyss, yyssp, yystacksize, yytable, YYTABLESIZE, yyvs, and yyvsp. Referenced by main(), onecommand(), and run(). |
|
|
Definition at line 542 of file bc.c. Referenced by yyparse(). |
|
|
Definition at line 294 of file bc.c. Referenced by yyparse(). |
|
|
Definition at line 539 of file bc.c. Referenced by yyparse(). |
|
|
Initial value: { 1,
0, 0, 0, 21, 0, 83, 0, 0, 22, 24,
0, 0, 28, 0, 35, 0, 0, 94, 95, 0,
18, 25, 97, 23, 39, 19, 0, 0, 0, 0,
0, 2, 0, 16, 4, 7, 5, 17, 0, 0,
0, 0, 96, 86, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 81, 0, 0, 0, 11, 71,
73, 0, 0, 0, 0, 0, 69, 87, 3, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 91, 43, 0, 40, 0, 84,
0, 0, 38, 0, 0, 0, 0, 0, 0, 0,
0, 8, 0, 85, 0, 93, 0, 0, 0, 88,
27, 0, 0, 33, 0, 89, 90, 0, 13, 15,
0, 0, 0, 62, 0, 0, 0, 0, 0, 29,
0, 0, 42, 0, 56, 0, 0, 0, 0, 0,
64, 0, 0, 0, 46, 34, 37, 0, 48, 58,
30, 0, 0, 0, 0, 47, 53, 54, 0, 0,
0, 31, 49, 0, 32,
}
Definition at line 110 of file bc.c. Referenced by yyparse(). |
|
|
Initial value: { 1,
30, 79, 31, 113, 108, 149, 109, 73, 74, 32,
33, 58, 34, 35, 59, 48, 138, 155, 164, 131,
146, 50, 132, 88, 54, 89, 152, 154, 101, 94,
95,
}
|
|
|
Definition at line 541 of file bc.c. Referenced by yyparse(). |
|
|
Initial value: { 0,
958, 0, 104, -118, 0, 0, -35, 0, 0, 0,
0, -34, 22, 0, 15, 0, 0, 0, 0, 0,
0, 0, 0, -1, 0, 0, 0, 0, 0, 0,
0,
}
|
|
|
Initial value: { 2,
0, 2, 2, 1, 2, 0, 1, 3, 2, 0,
1, 2, 3, 2, 3, 1, 2, 1, 1, 1,
1, 1, 1, 1, 1, 1, 4, 0, 0, 0,
0, 13, 0, 7, 0, 0, 7, 3, 0, 3,
1, 3, 1, 1, 0, 0, 3, 0, 12, 0,
1, 0, 3, 3, 1, 3, 3, 5, 0, 1,
1, 3, 3, 5, 0, 1, 0, 1, 0, 4,
0, 4, 0, 4, 2, 3, 3, 3, 3, 3,
2, 1, 1, 3, 4, 2, 2, 4, 4, 4,
3, 1, 4, 1, 1, 1, 1,
}
|
|
|
Initial value: { -1,
0, 0, 10, 10, 10, 11, 11, 11, 11, 12,
12, 12, 12, 12, 12, 15, 15, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 16, 17, 18,
19, 13, 20, 13, 22, 23, 13, 13, 25, 13,
24, 24, 26, 26, 21, 27, 21, 28, 14, 5,
5, 6, 6, 6, 7, 7, 7, 7, 8, 8,
9, 9, 9, 9, 4, 4, 2, 2, 29, 1,
30, 1, 31, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 3, 3, 3, 3, 3, 3,
}
|
|
|
Definition at line 546 of file bc.c. Referenced by command(), diag(), pattern(), synio(), wordlist(), yylex(), and yyparse(). |
|
|
Definition at line 540 of file bc.c. Referenced by onecommand(), run(), yyerror(), and yyparse(). |
|
|
Initial value: { 0,
-16, 0, 0, 0, 409, 0, 0, 0, 0, 0,
0, -58, 0, 0, 0, 0, 426, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, -50, 46,
470, 0, 0, 0, 0, 0, 0, 0, 661, 56,
0, 525, 0, 0, 0, 0, 59, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, -6,
705, 7, 0, 60, 0, 61, 0, 63, 0, 49,
0, 0, 0, 0, 0, 0, 17, 0, 78, 0,
-47, -45, 0, 0, 0, 537, 440, 620, 637, 594,
0, 0, 0, 0, 0, 0, -33, 0, 66, 0,
0, -19, 0, 0, 68, 0, 0, 0, 0, 0,
667, 680, 508, 0, 705, 18, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, -31, 49, -44, 0,
0, -40, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 69, 0, 0, 0, 0, 0,
13, 0, 0, 0, 0,
}
Definition at line 154 of file bc.c. Referenced by yyparse(). |
|
|
|
|
|
Initial value: { 0,
-7, 58, 212, 0, -22, 0, -233, -241, 0, 0,
-8, -5, 0, -4, 0, 2, 4, 0, 0, 9,
0, 0, 0, 0, 0, 0, 212, 212, 91, 725,
-240, 0, -29, 0, 0, 0, 0, 0, 84, 245,
212, -57, 0, 0, 10, 212, 212, 14, 212, 16,
212, 212, 23, 156, 0, 549, 127, -52, 0, 0,
0, 212, 212, 212, 212, 212, 0, 0, 0, 91,
-17, 725, 24, -3, 578, -205, 562, 725, 27, 212,
606, 212, 669, 716, 0, 0, 725, 0, 19, 0,
91, 127, 0, 212, 212, -36, -39, -91, -91, -36,
212, 0, 166, 0, 277, 0, -21, 36, 40, 0,
0, 725, 28, 0, 725, 0, 0, 156, 0, 0,
84, 540, -39, 0, -9, 725, -2, -37, -174, 0,
127, 48, 0, 346, 0, -167, 3, 212, -185, 127,
0, -188, 6, 37, 0, 0, 0, -205, 0, 0,
0, 127, -42, 91, 212, 0, 0, 0, -20, 54,
26, 0, 0, 127, 0,
}
Definition at line 135 of file bc.c. Referenced by yyparse(). |
|
|
Definition at line 547 of file bc.c. Referenced by yyparse(). |
|
|
Definition at line 543 of file bc.c. Referenced by yyparse(). |
|
|
Definition at line 180 of file bc.c. Referenced by yyparse(). |
|
|
|
|
|
Definition at line 548 of file bc.c. Referenced by yyparse(). |
|
|
Definition at line 544 of file bc.c. Referenced by yyparse(). |
1.4.6