added the trace-reg-on and trace-reg-off commands
This commit is contained in:
parent
2be059ee4f
commit
3bd36d7220
@ -19,7 +19,7 @@
|
||||
/* A lexical scanner generated by flex */
|
||||
|
||||
/* Scanner skeleton version:
|
||||
* $Header: /home/volker/Archiv/bochs-cvs-rsync-20110222/bochs/debug/lexer.c,v 1.8 2001-10-03 13:10:37 bdenney Exp $
|
||||
* $Header: /home/volker/Archiv/bochs-cvs-rsync-20110222/bochs/debug/lexer.c,v 1.9 2001-11-28 18:40:02 instinc Exp $
|
||||
*/
|
||||
|
||||
#define FLEX_SCANNER
|
||||
@ -300,50 +300,50 @@ static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
|
||||
*yy_cp = '\0'; \
|
||||
yy_c_buf_p = yy_cp;
|
||||
|
||||
#define YY_NUM_RULES 113
|
||||
#define YY_END_OF_BUFFER 114
|
||||
static yyconst short int yy_accept[363] =
|
||||
#define YY_NUM_RULES 115
|
||||
#define YY_END_OF_BUFFER 116
|
||||
static yyconst short int yy_accept[371] =
|
||||
{ 0,
|
||||
0, 0, 114, 112, 1, 110, 112, 111, 112, 112,
|
||||
108, 108, 112, 20, 7, 39, 112, 112, 112, 112,
|
||||
112, 112, 112, 112, 112, 41, 25, 11, 112, 112,
|
||||
112, 112, 42, 1, 0, 101, 111, 109, 104, 103,
|
||||
106, 108, 107, 0, 0, 0, 0, 0, 22, 93,
|
||||
0, 0, 0, 0, 96, 0, 94, 0, 0, 0,
|
||||
97, 0, 0, 98, 0, 0, 0, 14, 0, 0,
|
||||
0, 0, 116, 114, 1, 112, 114, 113, 114, 114,
|
||||
110, 110, 114, 20, 7, 39, 114, 114, 114, 114,
|
||||
114, 114, 114, 114, 114, 41, 25, 11, 114, 114,
|
||||
114, 114, 42, 1, 0, 103, 113, 111, 106, 105,
|
||||
108, 110, 109, 0, 0, 0, 0, 0, 22, 95,
|
||||
0, 0, 0, 0, 98, 0, 96, 0, 0, 0,
|
||||
99, 0, 0, 100, 0, 0, 0, 14, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 4, 0, 16, 0,
|
||||
0, 0, 0, 0, 0, 0, 68, 0, 0, 10,
|
||||
95, 0, 0, 0, 0, 0, 0, 0, 0, 12,
|
||||
0, 0, 0, 0, 0, 0, 70, 0, 0, 10,
|
||||
97, 0, 0, 0, 0, 0, 0, 0, 0, 12,
|
||||
|
||||
0, 0, 0, 43, 109, 102, 105, 54, 29, 0,
|
||||
0, 0, 0, 43, 111, 104, 107, 54, 29, 0,
|
||||
0, 6, 0, 38, 0, 0, 3, 57, 48, 0,
|
||||
0, 0, 0, 28, 31, 0, 30, 0, 0, 49,
|
||||
0, 32, 0, 0, 0, 0, 56, 0, 5, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 26, 0, 69, 2, 0, 0, 0, 0, 55,
|
||||
0, 0, 0, 33, 0, 100, 0, 0, 0, 0,
|
||||
0, 26, 0, 71, 2, 0, 0, 0, 0, 55,
|
||||
0, 0, 0, 33, 0, 102, 0, 0, 0, 0,
|
||||
0, 0, 0, 23, 0, 0, 0, 0, 64, 0,
|
||||
0, 0, 0, 18, 0, 0, 0, 0, 0, 0,
|
||||
0, 90, 92, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 92, 94, 0, 0, 0, 0, 0, 0, 0,
|
||||
|
||||
0, 40, 76, 0, 0, 0, 0, 0, 79, 0,
|
||||
0, 40, 78, 0, 0, 0, 0, 0, 81, 0,
|
||||
9, 60, 0, 47, 0, 0, 0, 0, 0, 0,
|
||||
0, 19, 0, 24, 0, 0, 34, 51, 0, 0,
|
||||
0, 0, 0, 0, 35, 0, 0, 53, 0, 0,
|
||||
0, 0, 0, 0, 62, 0, 67, 45, 0, 0,
|
||||
61, 0, 0, 59, 8, 0, 0, 0, 0, 74,
|
||||
82, 77, 0, 0, 37, 0, 0, 0, 0, 0,
|
||||
81, 0, 15, 0, 63, 72, 91, 17, 0, 0,
|
||||
0, 0, 0, 70, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 62, 0, 69, 45, 0, 0,
|
||||
61, 0, 0, 59, 8, 0, 0, 0, 0, 76,
|
||||
84, 79, 0, 0, 37, 0, 0, 0, 0, 0,
|
||||
83, 0, 15, 0, 63, 74, 93, 17, 0, 0,
|
||||
0, 0, 0, 72, 0, 0, 0, 0, 0, 0,
|
||||
0, 13, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
|
||||
0, 46, 88, 0, 0, 21, 0, 50, 44, 0,
|
||||
0, 0, 75, 0, 78, 0, 0, 36, 0, 0,
|
||||
0, 0, 71, 0, 0, 86, 0, 0, 65, 89,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 27, 0,
|
||||
66, 0, 0, 0, 0, 58, 0, 0, 0, 0,
|
||||
84, 52, 0, 99, 0, 73, 0, 85, 87, 80,
|
||||
83, 0
|
||||
0, 46, 90, 0, 0, 21, 0, 50, 44, 0,
|
||||
0, 0, 0, 77, 0, 80, 0, 0, 36, 0,
|
||||
0, 0, 0, 73, 0, 0, 88, 0, 0, 65,
|
||||
0, 91, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
27, 0, 66, 0, 0, 0, 0, 0, 58, 0,
|
||||
0, 0, 0, 0, 86, 52, 0, 101, 0, 75,
|
||||
0, 87, 0, 89, 82, 85, 0, 67, 68, 0
|
||||
} ;
|
||||
|
||||
static yyconst int yy_ec[256] =
|
||||
@ -386,200 +386,204 @@ static yyconst int yy_meta[41] =
|
||||
5, 5, 5, 7, 7, 7, 5, 7, 7, 5
|
||||
} ;
|
||||
|
||||
static yyconst short int yy_base[370] =
|
||||
static yyconst short int yy_base[378] =
|
||||
{ 0,
|
||||
0, 0, 417, 418, 414, 418, 411, 0, 0, 32,
|
||||
36, 43, 29, 381, 27, 38, 379, 47, 42, 50,
|
||||
62, 54, 391, 64, 77, 375, 389, 95, 72, 380,
|
||||
85, 85, 377, 405, 402, 418, 0, 0, 112, 0,
|
||||
127, 134, 418, 0, 385, 377, 382, 373, 46, 418,
|
||||
374, 118, 383, 374, 418, 370, 418, 363, 363, 359,
|
||||
418, 359, 363, 418, 357, 51, 359, 357, 354, 359,
|
||||
370, 351, 365, 357, 372, 360, 418, 358, 347, 350,
|
||||
338, 360, 102, 351, 86, 131, 358, 339, 343, 418,
|
||||
418, 136, 354, 342, 344, 352, 334, 329, 339, 332,
|
||||
0, 0, 425, 426, 422, 426, 419, 0, 0, 32,
|
||||
36, 43, 29, 389, 27, 38, 387, 47, 42, 50,
|
||||
62, 54, 399, 64, 77, 383, 397, 95, 72, 388,
|
||||
85, 85, 385, 413, 410, 426, 0, 0, 112, 0,
|
||||
127, 134, 426, 0, 393, 385, 390, 381, 46, 426,
|
||||
382, 118, 391, 382, 426, 378, 426, 371, 371, 367,
|
||||
426, 367, 371, 426, 365, 51, 367, 365, 362, 367,
|
||||
378, 359, 373, 365, 380, 368, 426, 366, 355, 358,
|
||||
346, 368, 102, 359, 86, 131, 366, 347, 351, 426,
|
||||
426, 136, 362, 350, 352, 360, 342, 337, 347, 340,
|
||||
|
||||
329, 342, 337, 418, 0, 418, 0, 328, 418, 343,
|
||||
324, 418, 335, 336, 334, 320, 337, 418, 418, 318,
|
||||
321, 316, 331, 418, 418, 331, 418, 318, 312, 418,
|
||||
325, 418, 309, 324, 319, 321, 418, 82, 418, 320,
|
||||
319, 319, 327, 297, 307, 312, 306, 300, 297, 311,
|
||||
300, 304, 307, 418, 83, 289, 293, 294, 293, 418,
|
||||
304, 301, 302, 418, 303, 418, 298, 299, 284, 281,
|
||||
308, 288, 288, 278, 276, 303, 269, 274, 418, 291,
|
||||
299, 284, 287, 418, 270, 285, 262, 126, 266, 281,
|
||||
289, 418, 418, 280, 271, 268, 276, 258, 259, 270,
|
||||
337, 350, 345, 426, 0, 426, 0, 336, 426, 351,
|
||||
332, 426, 343, 344, 342, 328, 345, 426, 426, 326,
|
||||
329, 324, 339, 426, 426, 339, 426, 326, 320, 426,
|
||||
333, 426, 317, 332, 327, 329, 426, 82, 426, 328,
|
||||
327, 327, 335, 305, 315, 320, 314, 308, 305, 319,
|
||||
308, 312, 315, 426, 83, 297, 301, 302, 301, 426,
|
||||
312, 309, 310, 426, 311, 426, 306, 307, 292, 289,
|
||||
316, 296, 296, 286, 284, 311, 277, 282, 426, 299,
|
||||
307, 292, 295, 426, 278, 293, 270, 126, 274, 289,
|
||||
297, 426, 426, 288, 279, 276, 284, 266, 267, 278,
|
||||
|
||||
250, 418, 418, 256, 254, 252, 267, 257, 418, 249,
|
||||
258, 418, 275, 418, 260, 245, 262, 254, 256, 255,
|
||||
250, 418, 245, 418, 252, 244, 418, 237, 251, 247,
|
||||
261, 240, 230, 239, 418, 230, 230, 418, 231, 252,
|
||||
234, 230, 228, 240, 249, 238, 418, 418, 234, 218,
|
||||
418, 221, 230, 418, 418, 69, 243, 230, 222, 418,
|
||||
418, 418, 218, 210, 418, 224, 223, 212, 212, 222,
|
||||
418, 212, 418, 199, 418, 418, 418, 418, 215, 214,
|
||||
217, 201, 206, 418, 212, 196, 203, 199, 208, 198,
|
||||
203, 418, 204, 204, 196, 195, 186, 188, 196, 198,
|
||||
258, 426, 426, 264, 262, 260, 275, 265, 426, 257,
|
||||
266, 426, 283, 426, 268, 253, 270, 262, 264, 263,
|
||||
258, 426, 253, 426, 260, 252, 426, 245, 259, 255,
|
||||
269, 248, 238, 247, 426, 238, 238, 426, 239, 260,
|
||||
242, 238, 236, 248, 257, 246, 426, 426, 242, 226,
|
||||
426, 229, 238, 426, 426, 69, 251, 238, 230, 426,
|
||||
426, 426, 226, 218, 426, 232, 231, 220, 220, 230,
|
||||
426, 220, 426, 207, 426, 426, 426, 426, 223, 222,
|
||||
225, 209, 214, 426, 220, 204, 211, 207, 216, 95,
|
||||
212, 426, 213, 213, 205, 204, 195, 197, 205, 207,
|
||||
|
||||
190, 418, 418, 191, 181, 418, 182, 418, 418, 178,
|
||||
185, 112, 418, 182, 418, 181, 192, 418, 171, 187,
|
||||
178, 187, 418, 139, 159, 418, 162, 159, 418, 418,
|
||||
141, 144, 153, 150, 133, 137, 145, 138, 418, 129,
|
||||
418, 121, 139, 126, 132, 418, 101, 100, 96, 77,
|
||||
418, 418, 95, 418, 66, 418, 27, 418, 418, 418,
|
||||
418, 418, 172, 179, 183, 188, 193, 195, 200
|
||||
199, 426, 426, 200, 190, 426, 191, 426, 426, 187,
|
||||
194, 112, 200, 426, 190, 426, 189, 200, 426, 179,
|
||||
195, 186, 196, 426, 139, 179, 426, 182, 189, 426,
|
||||
187, 426, 176, 181, 190, 186, 158, 162, 162, 149,
|
||||
426, 138, 426, 163, 129, 147, 131, 137, 426, 135,
|
||||
135, 130, 118, 96, 426, 426, 97, 426, 81, 426,
|
||||
77, 426, 138, 426, 426, 426, 28, 426, 426, 426,
|
||||
172, 179, 183, 188, 193, 195, 200
|
||||
} ;
|
||||
|
||||
static yyconst short int yy_def[370] =
|
||||
static yyconst short int yy_def[378] =
|
||||
{ 0,
|
||||
362, 1, 362, 362, 362, 362, 363, 364, 365, 366,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 363, 362, 364, 367, 366, 368,
|
||||
362, 362, 362, 369, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
370, 1, 370, 370, 370, 370, 371, 372, 373, 374,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 371, 370, 372, 375, 374, 376,
|
||||
370, 370, 370, 377, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
|
||||
362, 362, 362, 362, 367, 362, 369, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
370, 370, 370, 370, 375, 370, 377, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 0, 362, 362, 362, 362, 362, 362, 362
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 0,
|
||||
370, 370, 370, 370, 370, 370, 370
|
||||
} ;
|
||||
|
||||
static yyconst short int yy_nxt[459] =
|
||||
static yyconst short int yy_nxt[467] =
|
||||
{ 0,
|
||||
4, 5, 6, 7, 8, 9, 4, 10, 11, 12,
|
||||
12, 12, 4, 4, 4, 4, 13, 14, 15, 16,
|
||||
17, 18, 19, 4, 20, 4, 21, 22, 23, 24,
|
||||
25, 26, 27, 28, 29, 30, 31, 32, 33, 4,
|
||||
39, 39, 39, 39, 41, 41, 41, 42, 45, 361,
|
||||
39, 39, 39, 39, 41, 41, 41, 42, 45, 369,
|
||||
43, 42, 42, 42, 42, 46, 48, 43, 51, 49,
|
||||
50, 62, 52, 58, 112, 53, 113, 54, 63, 65,
|
||||
72, 55, 128, 56, 44, 64, 59, 60, 66, 68,
|
||||
61, 69, 67, 73, 129, 76, 70, 288, 95, 74,
|
||||
191, 71, 77, 78, 79, 99, 289, 80, 207, 360,
|
||||
191, 71, 77, 78, 79, 99, 289, 80, 207, 366,
|
||||
|
||||
81, 101, 100, 82, 96, 97, 148, 192, 102, 83,
|
||||
149, 84, 87, 208, 359, 88, 358, 103, 89, 90,
|
||||
39, 39, 39, 39, 357, 356, 145, 355, 91, 92,
|
||||
93, 146, 236, 328, 94, 41, 41, 41, 42, 115,
|
||||
329, 43, 42, 42, 42, 42, 237, 150, 43, 151,
|
||||
116, 117, 157, 152, 118, 337, 158, 354, 353, 352,
|
||||
351, 350, 349, 348, 153, 159, 347, 346, 345, 344,
|
||||
343, 338, 35, 342, 35, 35, 35, 35, 35, 37,
|
||||
341, 37, 37, 37, 37, 37, 38, 38, 38, 38,
|
||||
40, 340, 339, 40, 40, 105, 105, 105, 105, 105,
|
||||
149, 84, 87, 208, 365, 88, 364, 103, 89, 90,
|
||||
39, 39, 39, 39, 312, 363, 145, 313, 91, 92,
|
||||
93, 146, 236, 329, 94, 41, 41, 41, 42, 115,
|
||||
330, 43, 42, 42, 42, 42, 237, 150, 43, 151,
|
||||
116, 117, 157, 152, 118, 339, 158, 362, 361, 367,
|
||||
360, 359, 358, 357, 153, 159, 368, 356, 355, 354,
|
||||
353, 340, 35, 352, 35, 35, 35, 35, 35, 37,
|
||||
351, 37, 37, 37, 37, 37, 38, 38, 38, 38,
|
||||
40, 350, 349, 40, 40, 105, 105, 105, 105, 105,
|
||||
|
||||
106, 106, 107, 107, 336, 107, 335, 334, 333, 332,
|
||||
331, 330, 327, 326, 325, 324, 323, 322, 321, 320,
|
||||
319, 318, 317, 316, 315, 314, 313, 312, 311, 310,
|
||||
309, 308, 307, 306, 305, 304, 303, 302, 301, 300,
|
||||
299, 298, 297, 296, 295, 294, 293, 292, 291, 290,
|
||||
287, 286, 285, 284, 283, 282, 281, 280, 279, 278,
|
||||
277, 276, 275, 274, 273, 272, 271, 270, 269, 268,
|
||||
267, 266, 265, 264, 263, 262, 261, 260, 259, 258,
|
||||
257, 256, 255, 254, 253, 252, 251, 250, 249, 248,
|
||||
247, 246, 245, 244, 243, 242, 241, 240, 239, 238,
|
||||
106, 106, 107, 107, 348, 107, 347, 346, 345, 344,
|
||||
343, 342, 341, 338, 337, 336, 335, 334, 333, 332,
|
||||
331, 328, 327, 326, 325, 324, 323, 322, 321, 320,
|
||||
319, 318, 317, 316, 315, 314, 311, 310, 309, 308,
|
||||
307, 306, 305, 304, 303, 302, 301, 300, 299, 298,
|
||||
297, 296, 295, 294, 293, 292, 291, 290, 287, 286,
|
||||
285, 284, 283, 282, 281, 280, 279, 278, 277, 276,
|
||||
275, 274, 273, 272, 271, 270, 269, 268, 267, 266,
|
||||
265, 264, 263, 262, 261, 260, 259, 258, 257, 256,
|
||||
255, 254, 253, 252, 251, 250, 249, 248, 247, 246,
|
||||
|
||||
235, 234, 233, 232, 231, 230, 229, 228, 227, 226,
|
||||
225, 224, 223, 222, 221, 220, 219, 218, 217, 216,
|
||||
215, 214, 213, 212, 211, 210, 209, 206, 205, 204,
|
||||
203, 202, 201, 200, 199, 198, 197, 196, 195, 194,
|
||||
193, 190, 189, 188, 187, 186, 185, 184, 183, 182,
|
||||
181, 180, 179, 178, 177, 176, 175, 174, 173, 172,
|
||||
171, 170, 169, 168, 167, 166, 165, 164, 163, 162,
|
||||
161, 160, 156, 155, 154, 147, 144, 143, 142, 141,
|
||||
140, 139, 138, 137, 136, 135, 134, 133, 132, 131,
|
||||
130, 127, 126, 125, 124, 123, 122, 121, 120, 119,
|
||||
245, 244, 243, 242, 241, 240, 239, 238, 235, 234,
|
||||
233, 232, 231, 230, 229, 228, 227, 226, 225, 224,
|
||||
223, 222, 221, 220, 219, 218, 217, 216, 215, 214,
|
||||
213, 212, 211, 210, 209, 206, 205, 204, 203, 202,
|
||||
201, 200, 199, 198, 197, 196, 195, 194, 193, 190,
|
||||
189, 188, 187, 186, 185, 184, 183, 182, 181, 180,
|
||||
179, 178, 177, 176, 175, 174, 173, 172, 171, 170,
|
||||
169, 168, 167, 166, 165, 164, 163, 162, 161, 160,
|
||||
156, 155, 154, 147, 144, 143, 142, 141, 140, 139,
|
||||
138, 137, 136, 135, 134, 133, 132, 131, 130, 127,
|
||||
|
||||
114, 111, 110, 109, 108, 36, 34, 104, 98, 86,
|
||||
85, 75, 57, 47, 36, 34, 362, 3, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362
|
||||
126, 125, 124, 123, 122, 121, 120, 119, 114, 111,
|
||||
110, 109, 108, 36, 34, 104, 98, 86, 85, 75,
|
||||
57, 47, 36, 34, 370, 3, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370
|
||||
} ;
|
||||
|
||||
static yyconst short int yy_chk[459] =
|
||||
static yyconst short int yy_chk[467] =
|
||||
{ 0,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
10, 10, 10, 10, 11, 11, 11, 11, 13, 357,
|
||||
10, 10, 10, 10, 11, 11, 11, 11, 13, 367,
|
||||
11, 12, 12, 12, 12, 13, 15, 12, 16, 15,
|
||||
15, 19, 16, 18, 49, 16, 49, 16, 19, 20,
|
||||
22, 16, 66, 16, 11, 19, 18, 18, 20, 21,
|
||||
18, 21, 20, 22, 66, 24, 21, 256, 29, 22,
|
||||
138, 21, 24, 25, 25, 31, 256, 25, 155, 355,
|
||||
138, 21, 24, 25, 25, 31, 256, 25, 155, 361,
|
||||
|
||||
25, 32, 31, 25, 29, 29, 85, 138, 32, 25,
|
||||
85, 25, 28, 155, 353, 28, 350, 32, 28, 28,
|
||||
39, 39, 39, 39, 349, 348, 83, 347, 28, 28,
|
||||
85, 25, 28, 155, 359, 28, 357, 32, 28, 28,
|
||||
39, 39, 39, 39, 290, 354, 83, 290, 28, 28,
|
||||
28, 83, 188, 312, 28, 41, 41, 41, 41, 52,
|
||||
312, 41, 42, 42, 42, 42, 188, 86, 42, 86,
|
||||
52, 52, 92, 86, 52, 324, 92, 345, 344, 343,
|
||||
342, 340, 338, 337, 86, 92, 336, 335, 334, 333,
|
||||
332, 324, 363, 331, 363, 363, 363, 363, 363, 364,
|
||||
328, 364, 364, 364, 364, 364, 365, 365, 365, 365,
|
||||
366, 327, 325, 366, 366, 367, 367, 367, 367, 367,
|
||||
52, 52, 92, 86, 52, 325, 92, 353, 352, 363,
|
||||
351, 350, 348, 347, 86, 92, 363, 346, 345, 344,
|
||||
342, 325, 371, 340, 371, 371, 371, 371, 371, 372,
|
||||
339, 372, 372, 372, 372, 372, 373, 373, 373, 373,
|
||||
374, 338, 337, 374, 374, 375, 375, 375, 375, 375,
|
||||
|
||||
368, 368, 369, 369, 322, 369, 321, 320, 319, 317,
|
||||
316, 314, 311, 310, 307, 305, 304, 301, 300, 299,
|
||||
298, 297, 296, 295, 294, 293, 291, 290, 289, 288,
|
||||
287, 286, 285, 283, 282, 281, 280, 279, 274, 272,
|
||||
270, 269, 268, 267, 266, 264, 263, 259, 258, 257,
|
||||
253, 252, 250, 249, 246, 245, 244, 243, 242, 241,
|
||||
240, 239, 237, 236, 234, 233, 232, 231, 230, 229,
|
||||
228, 226, 225, 223, 221, 220, 219, 218, 217, 216,
|
||||
215, 213, 211, 210, 208, 207, 206, 205, 204, 201,
|
||||
200, 199, 198, 197, 196, 195, 194, 191, 190, 189,
|
||||
376, 376, 377, 377, 336, 377, 335, 334, 333, 331,
|
||||
329, 328, 326, 323, 322, 321, 320, 318, 317, 315,
|
||||
313, 311, 310, 307, 305, 304, 301, 300, 299, 298,
|
||||
297, 296, 295, 294, 293, 291, 289, 288, 287, 286,
|
||||
285, 283, 282, 281, 280, 279, 274, 272, 270, 269,
|
||||
268, 267, 266, 264, 263, 259, 258, 257, 253, 252,
|
||||
250, 249, 246, 245, 244, 243, 242, 241, 240, 239,
|
||||
237, 236, 234, 233, 232, 231, 230, 229, 228, 226,
|
||||
225, 223, 221, 220, 219, 218, 217, 216, 215, 213,
|
||||
211, 210, 208, 207, 206, 205, 204, 201, 200, 199,
|
||||
|
||||
187, 186, 185, 183, 182, 181, 180, 178, 177, 176,
|
||||
175, 174, 173, 172, 171, 170, 169, 168, 167, 165,
|
||||
163, 162, 161, 159, 158, 157, 156, 153, 152, 151,
|
||||
150, 149, 148, 147, 146, 145, 144, 143, 142, 141,
|
||||
140, 136, 135, 134, 133, 131, 129, 128, 126, 123,
|
||||
122, 121, 120, 117, 116, 115, 114, 113, 111, 110,
|
||||
108, 103, 102, 101, 100, 99, 98, 97, 96, 95,
|
||||
94, 93, 89, 88, 87, 84, 82, 81, 80, 79,
|
||||
78, 76, 75, 74, 73, 72, 71, 70, 69, 68,
|
||||
67, 65, 63, 62, 60, 59, 58, 56, 54, 53,
|
||||
198, 197, 196, 195, 194, 191, 190, 189, 187, 186,
|
||||
185, 183, 182, 181, 180, 178, 177, 176, 175, 174,
|
||||
173, 172, 171, 170, 169, 168, 167, 165, 163, 162,
|
||||
161, 159, 158, 157, 156, 153, 152, 151, 150, 149,
|
||||
148, 147, 146, 145, 144, 143, 142, 141, 140, 136,
|
||||
135, 134, 133, 131, 129, 128, 126, 123, 122, 121,
|
||||
120, 117, 116, 115, 114, 113, 111, 110, 108, 103,
|
||||
102, 101, 100, 99, 98, 97, 96, 95, 94, 93,
|
||||
89, 88, 87, 84, 82, 81, 80, 79, 78, 76,
|
||||
75, 74, 73, 72, 71, 70, 69, 68, 67, 65,
|
||||
|
||||
51, 48, 47, 46, 45, 35, 34, 33, 30, 27,
|
||||
26, 23, 17, 14, 7, 5, 3, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||||
362, 362, 362, 362, 362, 362, 362, 362
|
||||
63, 62, 60, 59, 58, 56, 54, 53, 51, 48,
|
||||
47, 46, 45, 35, 34, 33, 30, 27, 26, 23,
|
||||
17, 14, 7, 5, 3, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370, 370, 370, 370, 370,
|
||||
370, 370, 370, 370, 370, 370
|
||||
} ;
|
||||
|
||||
static yy_state_type yy_last_accepting_state;
|
||||
@ -597,7 +601,7 @@ char *yytext;
|
||||
#define INITIAL 0
|
||||
#line 2 "lexer.l"
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: lexer.c,v 1.8 2001-10-03 13:10:37 bdenney Exp $
|
||||
// $Id: lexer.c,v 1.9 2001-11-28 18:40:02 instinc Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <stdlib.h>
|
||||
@ -758,7 +762,7 @@ YY_MALLOC_DECL
|
||||
YY_DECL
|
||||
{
|
||||
register yy_state_type yy_current_state;
|
||||
register char *yy_cp = NULL, *yy_bp = NULL;
|
||||
register char *yy_cp, *yy_bp;
|
||||
register int yy_act;
|
||||
|
||||
#line 20 "lexer.l"
|
||||
@ -813,13 +817,13 @@ yy_match:
|
||||
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
||||
{
|
||||
yy_current_state = (int) yy_def[yy_current_state];
|
||||
if ( yy_current_state >= 363 )
|
||||
if ( yy_current_state >= 371 )
|
||||
yy_c = yy_meta[(unsigned int) yy_c];
|
||||
}
|
||||
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
||||
++yy_cp;
|
||||
}
|
||||
while ( yy_base[yy_current_state] != 418 );
|
||||
while ( yy_base[yy_current_state] != 426 );
|
||||
|
||||
yy_find_action:
|
||||
yy_act = yy_accept[yy_current_state];
|
||||
@ -1154,187 +1158,187 @@ YY_RULE_SETUP
|
||||
case 67:
|
||||
YY_RULE_SETUP
|
||||
#line 87 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PTIME); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_TRACEREGON); }
|
||||
YY_BREAK
|
||||
case 68:
|
||||
YY_RULE_SETUP
|
||||
#line 88 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_TIMEBP); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_TRACEREGOFF); }
|
||||
YY_BREAK
|
||||
case 69:
|
||||
YY_RULE_SETUP
|
||||
#line 89 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_TIMEBP_ABSOLUTE); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PTIME); }
|
||||
YY_BREAK
|
||||
case 70:
|
||||
YY_RULE_SETUP
|
||||
#line 90 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_RECORD); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_TIMEBP); }
|
||||
YY_BREAK
|
||||
case 71:
|
||||
YY_RULE_SETUP
|
||||
#line 91 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PLAYBACK); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_TIMEBP_ABSOLUTE); }
|
||||
YY_BREAK
|
||||
case 72:
|
||||
YY_RULE_SETUP
|
||||
#line 92 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_MODEBP); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_RECORD); }
|
||||
YY_BREAK
|
||||
case 73:
|
||||
YY_RULE_SETUP
|
||||
#line 93 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PRINT_STACK); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PLAYBACK); }
|
||||
YY_BREAK
|
||||
case 74:
|
||||
YY_RULE_SETUP
|
||||
#line 94 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_WATCH); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_MODEBP); }
|
||||
YY_BREAK
|
||||
case 75:
|
||||
YY_RULE_SETUP
|
||||
#line 95 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_UNWATCH); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PRINT_STACK); }
|
||||
YY_BREAK
|
||||
case 76:
|
||||
YY_RULE_SETUP
|
||||
#line 96 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_READ); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_WATCH); }
|
||||
YY_BREAK
|
||||
case 77:
|
||||
YY_RULE_SETUP
|
||||
#line 97 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_WRITE); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_UNWATCH); }
|
||||
YY_BREAK
|
||||
case 78:
|
||||
YY_RULE_SETUP
|
||||
#line 98 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_CONTINUE); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_READ); }
|
||||
YY_BREAK
|
||||
case 79:
|
||||
YY_RULE_SETUP
|
||||
#line 99 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SHOW); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_WRITE); }
|
||||
YY_BREAK
|
||||
case 80:
|
||||
YY_RULE_SETUP
|
||||
#line 100 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SYMBOL); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_CONTINUE); }
|
||||
YY_BREAK
|
||||
case 81:
|
||||
YY_RULE_SETUP
|
||||
#line 101 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_GLOBAL); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SHOW); }
|
||||
YY_BREAK
|
||||
case 82:
|
||||
YY_RULE_SETUP
|
||||
#line 102 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_WHERE); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SYMBOL); }
|
||||
YY_BREAK
|
||||
case 83:
|
||||
YY_RULE_SETUP
|
||||
#line 103 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PRINT_STRING); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_GLOBAL); }
|
||||
YY_BREAK
|
||||
case 84:
|
||||
YY_RULE_SETUP
|
||||
#line 104 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_DIFF_MEMORY); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_WHERE); }
|
||||
YY_BREAK
|
||||
case 85:
|
||||
YY_RULE_SETUP
|
||||
#line 105 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SYNC_MEMORY); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PRINT_STRING); }
|
||||
YY_BREAK
|
||||
case 86:
|
||||
YY_RULE_SETUP
|
||||
#line 106 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SYNC_CPU); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_DIFF_MEMORY); }
|
||||
YY_BREAK
|
||||
case 87:
|
||||
YY_RULE_SETUP
|
||||
#line 107 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_FAST_FORWARD); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SYNC_MEMORY); }
|
||||
YY_BREAK
|
||||
case 88:
|
||||
YY_RULE_SETUP
|
||||
#line 108 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PHY_2_LOG); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SYNC_CPU); }
|
||||
YY_BREAK
|
||||
case 89:
|
||||
YY_RULE_SETUP
|
||||
#line 109 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_INFO_ADDRESS); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_FAST_FORWARD); }
|
||||
YY_BREAK
|
||||
case 90:
|
||||
YY_RULE_SETUP
|
||||
#line 110 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_NE2000); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PHY_2_LOG); }
|
||||
YY_BREAK
|
||||
case 91:
|
||||
YY_RULE_SETUP
|
||||
#line 111 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_NE2000); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_INFO_ADDRESS); }
|
||||
YY_BREAK
|
||||
case 92:
|
||||
YY_RULE_SETUP
|
||||
#line 112 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PAGE); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_NE2000); }
|
||||
YY_BREAK
|
||||
case 93:
|
||||
YY_RULE_SETUP
|
||||
#line 113 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_CS); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_NE2000); }
|
||||
YY_BREAK
|
||||
case 94:
|
||||
YY_RULE_SETUP
|
||||
#line 114 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_ES); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_PAGE); }
|
||||
YY_BREAK
|
||||
case 95:
|
||||
YY_RULE_SETUP
|
||||
#line 115 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SS); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_CS); }
|
||||
YY_BREAK
|
||||
case 96:
|
||||
YY_RULE_SETUP
|
||||
#line 116 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_DS); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_ES); }
|
||||
YY_BREAK
|
||||
case 97:
|
||||
YY_RULE_SETUP
|
||||
#line 117 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_FS); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SS); }
|
||||
YY_BREAK
|
||||
case 98:
|
||||
YY_RULE_SETUP
|
||||
#line 118 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_GS); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_DS); }
|
||||
YY_BREAK
|
||||
case 99:
|
||||
YY_RULE_SETUP
|
||||
#line 119 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_ALWAYS_CHECK); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_FS); }
|
||||
YY_BREAK
|
||||
case 100:
|
||||
YY_RULE_SETUP
|
||||
#line 120 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_V2L); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_GS); }
|
||||
YY_BREAK
|
||||
case 101:
|
||||
YY_RULE_SETUP
|
||||
#line 121 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_STRING); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_ALWAYS_CHECK); }
|
||||
YY_BREAK
|
||||
case 102:
|
||||
YY_RULE_SETUP
|
||||
#line 122 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_XFORMAT); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_V2L); }
|
||||
YY_BREAK
|
||||
case 103:
|
||||
YY_RULE_SETUP
|
||||
#line 123 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_XFORMAT); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_STRING); }
|
||||
YY_BREAK
|
||||
case 104:
|
||||
YY_RULE_SETUP
|
||||
@ -1344,46 +1348,56 @@ YY_RULE_SETUP
|
||||
case 105:
|
||||
YY_RULE_SETUP
|
||||
#line 125 "lexer.l"
|
||||
{ bxlval.uval = strtoul(bxtext+2, NULL, 16); return(BX_TOKEN_NUMERIC); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_XFORMAT); }
|
||||
YY_BREAK
|
||||
case 106:
|
||||
YY_RULE_SETUP
|
||||
#line 126 "lexer.l"
|
||||
{ bxlval.uval = strtoul(bxtext+1, NULL, 8); return(BX_TOKEN_NUMERIC); }
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_XFORMAT); }
|
||||
YY_BREAK
|
||||
case 107:
|
||||
YY_RULE_SETUP
|
||||
#line 127 "lexer.l"
|
||||
{ bxlval.ulval = strtoull(bxtext, NULL, 10); return(BX_TOKEN_LONG_NUMERIC); }
|
||||
{ bxlval.uval = strtoul(bxtext+2, NULL, 16); return(BX_TOKEN_NUMERIC); }
|
||||
YY_BREAK
|
||||
case 108:
|
||||
YY_RULE_SETUP
|
||||
#line 128 "lexer.l"
|
||||
{ bxlval.uval = strtoul(bxtext, NULL, 10); return(BX_TOKEN_NUMERIC); }
|
||||
{ bxlval.uval = strtoul(bxtext+1, NULL, 8); return(BX_TOKEN_NUMERIC); }
|
||||
YY_BREAK
|
||||
case 109:
|
||||
YY_RULE_SETUP
|
||||
#line 129 "lexer.l"
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SYMBOLNAME); }
|
||||
{ bxlval.ulval = strtoull(bxtext, NULL, 10); return(BX_TOKEN_LONG_NUMERIC); }
|
||||
YY_BREAK
|
||||
case 110:
|
||||
YY_RULE_SETUP
|
||||
#line 130 "lexer.l"
|
||||
{ return('\n'); }
|
||||
{ bxlval.uval = strtoul(bxtext, NULL, 10); return(BX_TOKEN_NUMERIC); }
|
||||
YY_BREAK
|
||||
case 111:
|
||||
YY_RULE_SETUP
|
||||
#line 131 "lexer.l"
|
||||
; // eat up comments '//'
|
||||
{ bxlval.sval = strdup(bxtext); return(BX_TOKEN_SYMBOLNAME); }
|
||||
YY_BREAK
|
||||
case 112:
|
||||
YY_RULE_SETUP
|
||||
#line 132 "lexer.l"
|
||||
{ return(bxtext[0]); }
|
||||
{ return('\n'); }
|
||||
YY_BREAK
|
||||
case 113:
|
||||
YY_RULE_SETUP
|
||||
#line 133 "lexer.l"
|
||||
; // eat up comments '//'
|
||||
YY_BREAK
|
||||
case 114:
|
||||
YY_RULE_SETUP
|
||||
#line 134 "lexer.l"
|
||||
{ return(bxtext[0]); }
|
||||
YY_BREAK
|
||||
case 115:
|
||||
YY_RULE_SETUP
|
||||
#line 135 "lexer.l"
|
||||
ECHO;
|
||||
YY_BREAK
|
||||
case YY_STATE_EOF(INITIAL):
|
||||
@ -1677,7 +1691,7 @@ static yy_state_type yy_get_previous_state()
|
||||
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
||||
{
|
||||
yy_current_state = (int) yy_def[yy_current_state];
|
||||
if ( yy_current_state >= 363 )
|
||||
if ( yy_current_state >= 371 )
|
||||
yy_c = yy_meta[(unsigned int) yy_c];
|
||||
}
|
||||
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
||||
@ -1712,11 +1726,11 @@ yy_state_type yy_current_state;
|
||||
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
||||
{
|
||||
yy_current_state = (int) yy_def[yy_current_state];
|
||||
if ( yy_current_state >= 363 )
|
||||
if ( yy_current_state >= 371 )
|
||||
yy_c = yy_meta[(unsigned int) yy_c];
|
||||
}
|
||||
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
||||
yy_is_jam = (yy_current_state == 362);
|
||||
yy_is_jam = (yy_current_state == 370);
|
||||
|
||||
return yy_is_jam ? 0 : yy_current_state;
|
||||
}
|
||||
@ -2271,7 +2285,7 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#line 133 "lexer.l"
|
||||
#line 135 "lexer.l"
|
||||
|
||||
|
||||
// [A-Za-z_][A-Za-z0-9_]* { bxlval.sval = strdup(bxtext); return(BX_TOKEN_GENERIC); }
|
||||
|
2772
bochs/debug/parser.c
2772
bochs/debug/parser.c
File diff suppressed because it is too large
Load Diff
@ -1,94 +1,98 @@
|
||||
#define BX_TOKEN_CONTINUE 257
|
||||
#define BX_TOKEN_STEPN 258
|
||||
#define BX_TOKEN_NEXT_STEP 259
|
||||
#define BX_TOKEN_SET 260
|
||||
#define BX_TOKEN_DEBUGGER 261
|
||||
#define BX_TOKEN_VBREAKPOINT 262
|
||||
#define BX_TOKEN_LBREAKPOINT 263
|
||||
#define BX_TOKEN_PBREAKPOINT 264
|
||||
#define BX_TOKEN_DEL_BREAKPOINT 265
|
||||
#define BX_TOKEN_INFO 266
|
||||
#define BX_TOKEN_QUIT 267
|
||||
#define BX_TOKEN_PROGRAM 268
|
||||
#define BX_TOKEN_REGISTERS 269
|
||||
#define BX_TOKEN_FPU 270
|
||||
#define BX_TOKEN_ALL 271
|
||||
#define BX_TOKEN_IDT 272
|
||||
#define BX_TOKEN_GDT 273
|
||||
#define BX_TOKEN_LDT 274
|
||||
#define BX_TOKEN_TSS 275
|
||||
#define BX_TOKEN_DIRTY 276
|
||||
#define BX_TOKEN_LINUX 277
|
||||
#define BX_TOKEN_CONTROL_REGS 278
|
||||
#define BX_TOKEN_EXAMINE 279
|
||||
#define BX_TOKEN_XFORMAT 280
|
||||
#define BX_TOKEN_SETPMEM 281
|
||||
#define BX_TOKEN_SYMBOLNAME 282
|
||||
#define BX_TOKEN_QUERY 283
|
||||
#define BX_TOKEN_PENDING 284
|
||||
#define BX_TOKEN_TAKE 285
|
||||
#define BX_TOKEN_DMA 286
|
||||
#define BX_TOKEN_IRQ 287
|
||||
#define BX_TOKEN_DUMP_CPU 288
|
||||
#define BX_TOKEN_SET_CPU 289
|
||||
#define BX_TOKEN_DIS 290
|
||||
#define BX_TOKEN_ON 291
|
||||
#define BX_TOKEN_OFF 292
|
||||
#define BX_TOKEN_DISASSEMBLE 293
|
||||
#define BX_TOKEN_INSTRUMENT 294
|
||||
#define BX_TOKEN_START 295
|
||||
#define BX_TOKEN_STOP 296
|
||||
#define BX_TOKEN_RESET 297
|
||||
#define BX_TOKEN_PRINT 298
|
||||
#define BX_TOKEN_LOADER 299
|
||||
#define BX_TOKEN_STRING 300
|
||||
#define BX_TOKEN_DOIT 301
|
||||
#define BX_TOKEN_CRC 302
|
||||
#define BX_TOKEN_TRACEON 303
|
||||
#define BX_TOKEN_TRACEOFF 304
|
||||
#define BX_TOKEN_PTIME 305
|
||||
#define BX_TOKEN_TIMEBP_ABSOLUTE 306
|
||||
#define BX_TOKEN_TIMEBP 307
|
||||
#define BX_TOKEN_RECORD 308
|
||||
#define BX_TOKEN_PLAYBACK 309
|
||||
#define BX_TOKEN_MODEBP 310
|
||||
#define BX_TOKEN_PRINT_STACK 311
|
||||
#define BX_TOKEN_WATCH 312
|
||||
#define BX_TOKEN_UNWATCH 313
|
||||
#define BX_TOKEN_READ 314
|
||||
#define BX_TOKEN_WRITE 315
|
||||
#define BX_TOKEN_SHOW 316
|
||||
#define BX_TOKEN_SYMBOL 317
|
||||
#define BX_TOKEN_GLOBAL 318
|
||||
#define BX_TOKEN_WHERE 319
|
||||
#define BX_TOKEN_PRINT_STRING 320
|
||||
#define BX_TOKEN_DIFF_MEMORY 321
|
||||
#define BX_TOKEN_SYNC_MEMORY 322
|
||||
#define BX_TOKEN_SYNC_CPU 323
|
||||
#define BX_TOKEN_FAST_FORWARD 324
|
||||
#define BX_TOKEN_PHY_2_LOG 325
|
||||
#define BX_TOKEN_NUMERIC 326
|
||||
#define BX_TOKEN_LONG_NUMERIC 327
|
||||
#define BX_TOKEN_INFO_ADDRESS 328
|
||||
#define BX_TOKEN_NE2000 329
|
||||
#define BX_TOKEN_PAGE 330
|
||||
#define BX_TOKEN_CS 331
|
||||
#define BX_TOKEN_ES 332
|
||||
#define BX_TOKEN_SS 333
|
||||
#define BX_TOKEN_DS 334
|
||||
#define BX_TOKEN_FS 335
|
||||
#define BX_TOKEN_GS 336
|
||||
#define BX_TOKEN_ALWAYS_CHECK 337
|
||||
#define BX_TOKEN_MATHS 338
|
||||
#define BX_TOKEN_ADD 339
|
||||
#define BX_TOKEN_SUB 340
|
||||
#define BX_TOKEN_MUL 341
|
||||
#define BX_TOKEN_DIV 342
|
||||
#define BX_TOKEN_V2L 343
|
||||
typedef union {
|
||||
char *sval;
|
||||
Bit32u uval;
|
||||
Bit64u ulval;
|
||||
bx_num_range uval_range;
|
||||
} YYSTYPE;
|
||||
#define BX_TOKEN_CONTINUE 257
|
||||
#define BX_TOKEN_STEPN 258
|
||||
#define BX_TOKEN_NEXT_STEP 259
|
||||
#define BX_TOKEN_SET 260
|
||||
#define BX_TOKEN_DEBUGGER 261
|
||||
#define BX_TOKEN_VBREAKPOINT 262
|
||||
#define BX_TOKEN_LBREAKPOINT 263
|
||||
#define BX_TOKEN_PBREAKPOINT 264
|
||||
#define BX_TOKEN_DEL_BREAKPOINT 265
|
||||
#define BX_TOKEN_INFO 266
|
||||
#define BX_TOKEN_QUIT 267
|
||||
#define BX_TOKEN_PROGRAM 268
|
||||
#define BX_TOKEN_REGISTERS 269
|
||||
#define BX_TOKEN_FPU 270
|
||||
#define BX_TOKEN_ALL 271
|
||||
#define BX_TOKEN_IDT 272
|
||||
#define BX_TOKEN_GDT 273
|
||||
#define BX_TOKEN_LDT 274
|
||||
#define BX_TOKEN_TSS 275
|
||||
#define BX_TOKEN_DIRTY 276
|
||||
#define BX_TOKEN_LINUX 277
|
||||
#define BX_TOKEN_CONTROL_REGS 278
|
||||
#define BX_TOKEN_EXAMINE 279
|
||||
#define BX_TOKEN_XFORMAT 280
|
||||
#define BX_TOKEN_SETPMEM 281
|
||||
#define BX_TOKEN_SYMBOLNAME 282
|
||||
#define BX_TOKEN_QUERY 283
|
||||
#define BX_TOKEN_PENDING 284
|
||||
#define BX_TOKEN_TAKE 285
|
||||
#define BX_TOKEN_DMA 286
|
||||
#define BX_TOKEN_IRQ 287
|
||||
#define BX_TOKEN_DUMP_CPU 288
|
||||
#define BX_TOKEN_SET_CPU 289
|
||||
#define BX_TOKEN_DIS 290
|
||||
#define BX_TOKEN_ON 291
|
||||
#define BX_TOKEN_OFF 292
|
||||
#define BX_TOKEN_DISASSEMBLE 293
|
||||
#define BX_TOKEN_INSTRUMENT 294
|
||||
#define BX_TOKEN_START 295
|
||||
#define BX_TOKEN_STOP 296
|
||||
#define BX_TOKEN_RESET 297
|
||||
#define BX_TOKEN_PRINT 298
|
||||
#define BX_TOKEN_LOADER 299
|
||||
#define BX_TOKEN_STRING 300
|
||||
#define BX_TOKEN_DOIT 301
|
||||
#define BX_TOKEN_CRC 302
|
||||
#define BX_TOKEN_TRACEON 303
|
||||
#define BX_TOKEN_TRACEOFF 304
|
||||
#define BX_TOKEN_PTIME 305
|
||||
#define BX_TOKEN_TIMEBP_ABSOLUTE 306
|
||||
#define BX_TOKEN_TIMEBP 307
|
||||
#define BX_TOKEN_RECORD 308
|
||||
#define BX_TOKEN_PLAYBACK 309
|
||||
#define BX_TOKEN_MODEBP 310
|
||||
#define BX_TOKEN_PRINT_STACK 311
|
||||
#define BX_TOKEN_WATCH 312
|
||||
#define BX_TOKEN_UNWATCH 313
|
||||
#define BX_TOKEN_READ 314
|
||||
#define BX_TOKEN_WRITE 315
|
||||
#define BX_TOKEN_SHOW 316
|
||||
#define BX_TOKEN_SYMBOL 317
|
||||
#define BX_TOKEN_GLOBAL 318
|
||||
#define BX_TOKEN_WHERE 319
|
||||
#define BX_TOKEN_PRINT_STRING 320
|
||||
#define BX_TOKEN_DIFF_MEMORY 321
|
||||
#define BX_TOKEN_SYNC_MEMORY 322
|
||||
#define BX_TOKEN_SYNC_CPU 323
|
||||
#define BX_TOKEN_FAST_FORWARD 324
|
||||
#define BX_TOKEN_PHY_2_LOG 325
|
||||
#define BX_TOKEN_NUMERIC 326
|
||||
#define BX_TOKEN_LONG_NUMERIC 327
|
||||
#define BX_TOKEN_INFO_ADDRESS 328
|
||||
#define BX_TOKEN_NE2000 329
|
||||
#define BX_TOKEN_PAGE 330
|
||||
#define BX_TOKEN_CS 331
|
||||
#define BX_TOKEN_ES 332
|
||||
#define BX_TOKEN_SS 333
|
||||
#define BX_TOKEN_DS 334
|
||||
#define BX_TOKEN_FS 335
|
||||
#define BX_TOKEN_GS 336
|
||||
#define BX_TOKEN_ALWAYS_CHECK 337
|
||||
#define BX_TOKEN_MATHS 338
|
||||
#define BX_TOKEN_ADD 339
|
||||
#define BX_TOKEN_SUB 340
|
||||
#define BX_TOKEN_MUL 341
|
||||
#define BX_TOKEN_DIV 342
|
||||
#define BX_TOKEN_V2L 343
|
||||
#define BX_TOKEN_TRACEREGON 344
|
||||
#define BX_TOKEN_TRACEREGOFF 345
|
||||
|
||||
|
||||
extern YYSTYPE bxlval;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: parser.y,v 1.5 2001-10-03 13:10:37 bdenney Exp $
|
||||
// $Id: parser.y,v 1.6 2001-11-28 18:35:21 instinc Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
%{
|
||||
@ -107,6 +107,8 @@
|
||||
%token <sval> BX_TOKEN_MUL
|
||||
%token <sval> BX_TOKEN_DIV
|
||||
%token <sval> BX_TOKEN_V2L
|
||||
%token <sval> BX_TOKEN_TRACEREGON
|
||||
%token <sval> BX_TOKEN_TRACEREGOFF
|
||||
%type <uval> segment_register
|
||||
%type <uval> optional_numeric
|
||||
%type <uval_range> numeric_range optional_numeric_range
|
||||
@ -149,6 +151,8 @@ command:
|
||||
| print_string_command
|
||||
| cosim_commands
|
||||
| v2l_command
|
||||
| trace_reg_on_command
|
||||
| trace_reg_off_command
|
||||
|
|
||||
| '\n'
|
||||
{
|
||||
@ -764,4 +768,20 @@ v2l_command:
|
||||
}
|
||||
;
|
||||
|
||||
trace_reg_on_command:
|
||||
BX_TOKEN_TRACEREGON '\n'
|
||||
{
|
||||
bx_dbg_trace_reg_on_command();
|
||||
free($1);
|
||||
}
|
||||
;
|
||||
|
||||
trace_reg_off_command:
|
||||
BX_TOKEN_TRACEREGOFF '\n'
|
||||
{
|
||||
bx_dbg_trace_reg_off_command();
|
||||
free($1);
|
||||
}
|
||||
;
|
||||
|
||||
%%
|
||||
|
Loading…
Reference in New Issue
Block a user