From: Harlan Stenn Date: Thu, 25 Jun 2015 04:10:56 +0000 (+0000) Subject: [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. X-Git-Tag: NTP_4_3_46~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb43213583ebc3a338168700c3c67c32856fe4dd;p=thirdparty%2Fntp.git [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. bk: 558b7f501vCpn_bA84QS0suc7APWOg --- diff --git a/ChangeLog b/ChangeLog index c79913569..21876d677 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ --- + +* [Bug 2855] Parser fix for conditional leap smear code. Harlan Stenn. +--- (4.2.8p3-RC2) 2015/06/24 Released by Harlan Stenn * [Bug 2778] Implement "apeers" ntpq command to include associd. diff --git a/ntpd/keyword-gen-utd b/ntpd/keyword-gen-utd index dbcb0ffc1..467351b65 100644 --- a/ntpd/keyword-gen-utd +++ b/ntpd/keyword-gen-utd @@ -1 +1 @@ - * Generated 2015-06-24 11:39:09 UTC diff_ignore_line + * Generated 2015-06-25 03:57:00 UTC diff_ignore_line diff --git a/ntpd/keyword-gen.c b/ntpd/keyword-gen.c index ef1c6b018..42e94973f 100644 --- a/ntpd/keyword-gen.c +++ b/ntpd/keyword-gen.c @@ -54,9 +54,7 @@ struct key_tok ntp_keywords[] = { { "io", T_Io, FOLLBY_TOKEN }, { "includefile", T_Includefile, FOLLBY_STRING }, { "leapfile", T_Leapfile, FOLLBY_STRING }, -#ifdef LEAP_SMEAR { "leapsmearinterval", T_Leapsmearinterval, FOLLBY_TOKEN }, -#endif { "logconfig", T_Logconfig, FOLLBY_STRINGS_TO_EOC }, { "logfile", T_Logfile, FOLLBY_STRING }, { "manycastclient", T_Manycastclient, FOLLBY_STRING }, diff --git a/ntpd/ntp_keyword.h b/ntpd/ntp_keyword.h index 7dcaecb81..0a593f69d 100644 --- a/ntpd/ntp_keyword.h +++ b/ntpd/ntp_keyword.h @@ -2,7 +2,7 @@ * ntp_keyword.h * * NOTE: edit this file with caution, it is generated by keyword-gen.c - * Generated 2015-06-24 11:39:09 UTC diff_ignore_line + * Generated 2015-06-25 03:57:00 UTC diff_ignore_line * */ #include "ntp_scanner.h" @@ -84,7 +84,7 @@ const char * const keyword_text[191] = { /* 70 328 T_Kod */ "kod", /* 71 329 T_Mssntp */ "mssntp", /* 72 330 T_Leapfile */ "leapfile", - /* 73 331 T_Leapsmearinterval */ NULL, + /* 73 331 T_Leapsmearinterval */ "leapsmearinterval", /* 74 332 T_Limited */ "limited", /* 75 333 T_Link */ "link", /* 76 334 T_Listen */ "listen", @@ -204,9 +204,9 @@ const char * const keyword_text[191] = { /* 190 448 T_Proc_Delay */ "proc_delay" }; -#define SCANNER_INIT_S 840 +#define SCANNER_INIT_S 853 -const scan_state sst[843] = { +const scan_state sst[856] = { /*SS_T( ch, f-by, match, other ), */ 0, /* 0 */ S_ST( '-', 3, 323, 0 ), /* 1 */ @@ -447,25 +447,25 @@ const scan_state sst[843] = { S_ST( 'd', 3, 237, 0 ), /* 236 keys */ S_ST( 'i', 3, 327, 0 ), /* 237 keysd */ S_ST( 'o', 3, 328, 232 ), /* 238 k */ - S_ST( 'l', 3, 255, 231 ), /* 239 */ + S_ST( 'l', 3, 449, 231 ), /* 239 */ S_ST( 'e', 3, 241, 0 ), /* 240 l */ S_ST( 'a', 3, 242, 0 ), /* 241 le */ - S_ST( 'p', 3, 243, 0 ), /* 242 lea */ + S_ST( 'p', 3, 246, 0 ), /* 242 lea */ S_ST( 'f', 3, 244, 0 ), /* 243 leap */ S_ST( 'i', 3, 245, 0 ), /* 244 leapf */ S_ST( 'l', 3, 330, 0 ), /* 245 leapfi */ - S_ST( 'i', 3, 252, 240 ), /* 246 l */ - S_ST( 'm', 3, 248, 0 ), /* 247 li */ - S_ST( 'i', 3, 249, 0 ), /* 248 lim */ - S_ST( 't', 3, 250, 0 ), /* 249 limi */ - S_ST( 'e', 3, 332, 0 ), /* 250 limit */ - S_ST( 'n', 3, 333, 247 ), /* 251 li */ - S_ST( 's', 3, 253, 251 ), /* 252 li */ - S_ST( 't', 3, 254, 0 ), /* 253 lis */ - S_ST( 'e', 3, 334, 0 ), /* 254 list */ - S_ST( 'o', 3, 452, 246 ), /* 255 l */ - S_ST( 'g', 3, 331, 0 ), /* 256 lo */ - S_ST( 'c', 3, 287, 0 ), /* 257 log */ + S_ST( 's', 3, 247, 243 ), /* 246 leap */ + S_ST( 'm', 3, 248, 0 ), /* 247 leaps */ + S_ST( 'e', 3, 249, 0 ), /* 248 leapsm */ + S_ST( 'a', 3, 250, 0 ), /* 249 leapsme */ + S_ST( 'r', 3, 251, 0 ), /* 250 leapsmea */ + S_ST( 'i', 3, 252, 0 ), /* 251 leapsmear */ + S_ST( 'n', 3, 253, 0 ), /* 252 leapsmeari */ + S_ST( 't', 3, 254, 0 ), /* 253 leapsmearin */ + S_ST( 'e', 3, 255, 0 ), /* 254 leapsmearint */ + S_ST( 'r', 3, 256, 0 ), /* 255 leapsmearinte */ + S_ST( 'v', 3, 257, 0 ), /* 256 leapsmearinter */ + S_ST( 'a', 3, 331, 0 ), /* 257 leapsmearinterv */ S_ST( 'v', 1, 0, 0 ), /* 258 T_Abbrev */ S_ST( 'e', 0, 0, 0 ), /* 259 T_Age */ S_ST( 'l', 0, 12, 0 ), /* 260 T_All */ @@ -495,14 +495,14 @@ const scan_state sst[843] = { S_ST( 'e', 0, 0, 0 ), /* 284 T_Disable */ S_ST( 'd', 0, 0, 0 ), /* 285 T_Discard */ S_ST( 'n', 0, 0, 0 ), /* 286 T_Dispersion */ - S_ST( 'o', 3, 294, 0 ), /* 287 logc */ + S_ST( 'i', 3, 432, 240 ), /* 287 l */ S_ST( 'e', 1, 0, 0 ), /* 288 T_Driftfile */ S_ST( 'p', 0, 0, 0 ), /* 289 T_Drop */ S_ST( 'p', 0, 0, 0 ), /* 290 T_Dscp */ S_ST( '.', 0, 0, 0 ), /* 291 T_Ellipsis */ S_ST( 'e', 0, 0, 0 ), /* 292 T_Enable */ S_ST( 'd', 0, 0, 147 ), /* 293 T_End */ - S_ST( 'n', 3, 316, 0 ), /* 294 logco */ + S_ST( 'm', 3, 316, 0 ), /* 294 li */ S_ST( 'e', 1, 155, 0 ), /* 295 T_File */ S_ST( 'n', 0, 0, 0 ), /* 296 T_Filegen */ S_ST( 'm', 0, 0, 0 ), /* 297 T_Filenum */ @@ -524,9 +524,9 @@ const scan_state sst[843] = { S_ST( 'c', 0, 0, 0 ), /* 313 T_Initalloc */ S_ST( 'm', 0, 0, 0 ), /* 314 T_Initmem */ S_ST( 'e', 1, 0, 0 ), /* 315 T_Includefile */ - S_ST( 'f', 3, 318, 0 ), /* 316 logcon */ + S_ST( 'i', 3, 318, 0 ), /* 316 lim */ S_ST( 'e', 0, 0, 0 ), /* 317 T_Interface */ - S_ST( 'i', 3, 335, 0 ), /* 318 logconf */ + S_ST( 't', 3, 413, 0 ), /* 318 limi */ S_ST( 'o', 0, 0, 195 ), /* 319 T_Io */ S_ST( '4', 0, 0, 0 ), /* 320 T_Ipv4 */ S_ST( '4', 0, 0, 0 ), /* 321 T_Ipv4_flag */ @@ -539,7 +539,7 @@ const scan_state sst[843] = { S_ST( 'd', 0, 0, 0 ), /* 328 T_Kod */ S_ST( 'p', 0, 0, 0 ), /* 329 T_Mssntp */ S_ST( 'e', 1, 0, 0 ), /* 330 T_Leapfile */ - S_ST( 'f', 3, 413, 257 ), /* 331 log */ + S_ST( 'l', 0, 0, 0 ), /* 331 T_Leapsmearinterval */ S_ST( 'd', 0, 0, 0 ), /* 332 T_Limited */ S_ST( 'k', 0, 0, 0 ), /* 333 T_Link */ S_ST( 'n', 0, 0, 0 ), /* 334 T_Listen */ @@ -557,7 +557,7 @@ const scan_state sst[843] = { S_ST( 'm', 0, 0, 0 ), /* 346 T_Maxmem */ S_ST( 'l', 0, 0, 0 ), /* 347 T_Maxpoll */ S_ST( 's', 0, 0, 0 ), /* 348 T_Mdnstries */ - S_ST( 'm', 0, 505, 0 ), /* 349 T_Mem */ + S_ST( 'm', 0, 518, 0 ), /* 349 T_Mem */ S_ST( 'k', 0, 0, 0 ), /* 350 T_Memlock */ S_ST( 'k', 0, 0, 0 ), /* 351 T_Minclock */ S_ST( 'h', 0, 0, 0 ), /* 352 T_Mindepth */ @@ -583,23 +583,23 @@ const scan_state sst[843] = { S_ST( 'e', 0, 0, 0 ), /* 372 T_Noserve */ S_ST( 'p', 0, 0, 0 ), /* 373 T_Notrap */ S_ST( 't', 0, 0, 0 ), /* 374 T_Notrust */ - S_ST( 'p', 0, 601, 0 ), /* 375 T_Ntp */ + S_ST( 'p', 0, 614, 0 ), /* 375 T_Ntp */ S_ST( 't', 0, 0, 0 ), /* 376 T_Ntpport */ S_ST( 't', 1, 0, 0 ), /* 377 T_NtpSignDsocket */ - S_ST( 'n', 0, 616, 0 ), /* 378 T_Orphan */ + S_ST( 'n', 0, 629, 0 ), /* 378 T_Orphan */ S_ST( 't', 0, 0, 0 ), /* 379 T_Orphanwait */ S_ST( 'c', 0, 0, 0 ), /* 380 T_Panic */ - S_ST( 'r', 1, 625, 0 ), /* 381 T_Peer */ + S_ST( 'r', 1, 638, 0 ), /* 381 T_Peer */ S_ST( 's', 0, 0, 0 ), /* 382 T_Peerstats */ S_ST( 'e', 2, 0, 0 ), /* 383 T_Phone */ - S_ST( 'd', 0, 633, 0 ), /* 384 T_Pid */ + S_ST( 'd', 0, 646, 0 ), /* 384 T_Pid */ S_ST( 'e', 1, 0, 0 ), /* 385 T_Pidfile */ S_ST( 'l', 1, 0, 0 ), /* 386 T_Pool */ S_ST( 't', 0, 0, 0 ), /* 387 T_Port */ S_ST( 't', 0, 0, 0 ), /* 388 T_Preempt */ S_ST( 'r', 0, 0, 0 ), /* 389 T_Prefer */ S_ST( 's', 0, 0, 0 ), /* 390 T_Protostats */ - S_ST( 'w', 1, 0, 639 ), /* 391 T_Pw */ + S_ST( 'w', 1, 0, 652 ), /* 391 T_Pw */ S_ST( 'e', 1, 0, 0 ), /* 392 T_Randfile */ S_ST( 's', 0, 0, 0 ), /* 393 T_Rawstats */ S_ST( 'd', 1, 0, 0 ), /* 394 T_Refid */ @@ -609,20 +609,20 @@ const scan_state sst[843] = { S_ST( 'e', 0, 0, 0 ), /* 398 T_Revoke */ S_ST( 't', 0, 0, 0 ), /* 399 T_Rlimit */ S_ST( 'r', 1, 0, 0 ), /* 400 T_Saveconfigdir */ - S_ST( 'r', 1, 716, 0 ), /* 401 T_Server */ + S_ST( 'r', 1, 729, 0 ), /* 401 T_Server */ S_ST( 'r', 1, 0, 0 ), /* 402 T_Setvar */ S_ST( 'e', 0, 0, 0 ), /* 403 T_Source */ S_ST( 'e', 0, 0, 0 ), /* 404 T_Stacksize */ S_ST( 's', 0, 0, 0 ), /* 405 T_Statistics */ - S_ST( 's', 0, 759, 754 ), /* 406 T_Stats */ + S_ST( 's', 0, 772, 767 ), /* 406 T_Stats */ S_ST( 'r', 1, 0, 0 ), /* 407 T_Statsdir */ - S_ST( 'p', 0, 767, 0 ), /* 408 T_Step */ + S_ST( 'p', 0, 780, 0 ), /* 408 T_Step */ S_ST( 'k', 0, 0, 0 ), /* 409 T_Stepback */ S_ST( 'd', 0, 0, 0 ), /* 410 T_Stepfwd */ S_ST( 't', 0, 0, 0 ), /* 411 T_Stepout */ S_ST( 'm', 0, 0, 0 ), /* 412 T_Stratum */ - S_ST( 'i', 3, 428, 0 ), /* 413 logf */ - S_ST( 's', 0, 774, 0 ), /* 414 T_Sys */ + S_ST( 'e', 3, 332, 0 ), /* 413 limit */ + S_ST( 's', 0, 787, 0 ), /* 414 T_Sys */ S_ST( 's', 0, 0, 0 ), /* 415 T_Sysstats */ S_ST( 'k', 0, 0, 0 ), /* 416 T_Tick */ S_ST( '1', 0, 0, 0 ), /* 417 T_Time1 */ @@ -636,17 +636,17 @@ const scan_state sst[843] = { S_ST( 'y', 0, 0, 0 ), /* 425 T_Trustedkey */ S_ST( 'l', 0, 0, 0 ), /* 426 T_Ttl */ S_ST( 'e', 0, 0, 0 ), /* 427 T_Type */ - S_ST( 'l', 3, 336, 0 ), /* 428 logfi */ + S_ST( 'n', 3, 333, 294 ), /* 428 li */ S_ST( 'g', 1, 0, 0 ), /* 429 T_Unconfig */ S_ST( 'r', 1, 0, 0 ), /* 430 T_Unpeer */ S_ST( 'n', 0, 0, 0 ), /* 431 T_Version */ - S_ST( 'o', 3, 437, 256 ), /* 432 lo */ + S_ST( 's', 3, 437, 428 ), /* 432 li */ S_ST( 'k', 0, 0, 0 ), /* 433 T_Week */ S_ST( 'd', 0, 0, 0 ), /* 434 T_Wildcard */ S_ST( 'e', 0, 0, 0 ), /* 435 T_Xleave */ S_ST( 'r', 0, 0, 0 ), /* 436 T_Year */ - S_ST( 'p', 3, 438, 0 ), /* 437 loo */ - S_ST( 's', 3, 449, 0 ), /* 438 loop */ + S_ST( 't', 3, 438, 0 ), /* 437 lis */ + S_ST( 'e', 3, 334, 0 ), /* 438 list */ S_ST( 'e', 0, 0, 0 ), /* 439 T_Simulate */ S_ST( 'y', 0, 0, 0 ), /* 440 T_Beep_Delay */ S_ST( 'n', 0, 0, 0 ), /* 441 T_Sim_Duration */ @@ -657,399 +657,412 @@ const scan_state sst[843] = { S_ST( 'r', 0, 0, 0 ), /* 446 T_Jitter */ S_ST( 'y', 0, 0, 0 ), /* 447 T_Prop_Delay */ S_ST( 'y', 0, 0, 0 ), /* 448 T_Proc_Delay */ - S_ST( 't', 3, 450, 0 ), /* 449 loops */ - S_ST( 'a', 3, 451, 0 ), /* 450 loopst */ - S_ST( 't', 3, 337, 0 ), /* 451 loopsta */ - S_ST( 'w', 3, 453, 432 ), /* 452 lo */ - S_ST( 'p', 3, 454, 0 ), /* 453 low */ - S_ST( 'r', 3, 455, 0 ), /* 454 lowp */ - S_ST( 'i', 3, 456, 0 ), /* 455 lowpr */ - S_ST( 'o', 3, 457, 0 ), /* 456 lowpri */ - S_ST( 't', 3, 458, 0 ), /* 457 lowprio */ - S_ST( 'r', 3, 459, 0 ), /* 458 lowpriot */ - S_ST( 'a', 3, 338, 0 ), /* 459 lowpriotr */ - S_ST( 'm', 3, 541, 239 ), /* 460 */ - S_ST( 'a', 3, 479, 0 ), /* 461 m */ - S_ST( 'n', 3, 463, 0 ), /* 462 ma */ - S_ST( 'y', 3, 464, 0 ), /* 463 man */ - S_ST( 'c', 3, 465, 0 ), /* 464 many */ - S_ST( 'a', 3, 466, 0 ), /* 465 manyc */ - S_ST( 's', 3, 467, 0 ), /* 466 manyca */ - S_ST( 't', 3, 473, 0 ), /* 467 manycas */ - S_ST( 'c', 3, 469, 0 ), /* 468 manycast */ - S_ST( 'l', 3, 470, 0 ), /* 469 manycastc */ - S_ST( 'i', 3, 471, 0 ), /* 470 manycastcl */ - S_ST( 'e', 3, 472, 0 ), /* 471 manycastcli */ - S_ST( 'n', 3, 339, 0 ), /* 472 manycastclie */ - S_ST( 's', 3, 474, 468 ), /* 473 manycast */ - S_ST( 'e', 3, 475, 0 ), /* 474 manycasts */ - S_ST( 'r', 3, 476, 0 ), /* 475 manycastse */ - S_ST( 'v', 3, 477, 0 ), /* 476 manycastser */ - S_ST( 'e', 3, 340, 0 ), /* 477 manycastserv */ - S_ST( 's', 3, 341, 462 ), /* 478 ma */ - S_ST( 'x', 3, 494, 478 ), /* 479 ma */ - S_ST( 'a', 3, 481, 0 ), /* 480 max */ - S_ST( 'g', 3, 342, 0 ), /* 481 maxa */ - S_ST( 'c', 3, 483, 480 ), /* 482 max */ - S_ST( 'l', 3, 484, 0 ), /* 483 maxc */ - S_ST( 'o', 3, 485, 0 ), /* 484 maxcl */ - S_ST( 'c', 3, 343, 0 ), /* 485 maxclo */ - S_ST( 'd', 3, 490, 482 ), /* 486 max */ - S_ST( 'e', 3, 488, 0 ), /* 487 maxd */ - S_ST( 'p', 3, 489, 0 ), /* 488 maxde */ - S_ST( 't', 3, 344, 0 ), /* 489 maxdep */ - S_ST( 'i', 3, 491, 487 ), /* 490 maxd */ - S_ST( 's', 3, 345, 0 ), /* 491 maxdi */ - S_ST( 'm', 3, 493, 486 ), /* 492 max */ - S_ST( 'e', 3, 346, 0 ), /* 493 maxm */ - S_ST( 'p', 3, 495, 492 ), /* 494 max */ - S_ST( 'o', 3, 496, 0 ), /* 495 maxp */ - S_ST( 'l', 3, 347, 0 ), /* 496 maxpo */ - S_ST( 'd', 3, 498, 461 ), /* 497 m */ - S_ST( 'n', 3, 499, 0 ), /* 498 md */ - S_ST( 's', 3, 500, 0 ), /* 499 mdn */ - S_ST( 't', 3, 501, 0 ), /* 500 mdns */ - S_ST( 'r', 3, 502, 0 ), /* 501 mdnst */ - S_ST( 'i', 3, 503, 0 ), /* 502 mdnstr */ - S_ST( 'e', 3, 348, 0 ), /* 503 mdnstri */ - S_ST( 'e', 3, 349, 497 ), /* 504 m */ - S_ST( 'l', 3, 506, 0 ), /* 505 mem */ - S_ST( 'o', 3, 507, 0 ), /* 506 meml */ - S_ST( 'c', 3, 350, 0 ), /* 507 memlo */ - S_ST( 'i', 3, 509, 504 ), /* 508 m */ - S_ST( 'n', 3, 526, 0 ), /* 509 mi */ - S_ST( 'c', 3, 511, 0 ), /* 510 min */ - S_ST( 'l', 3, 512, 0 ), /* 511 minc */ - S_ST( 'o', 3, 513, 0 ), /* 512 mincl */ - S_ST( 'c', 3, 351, 0 ), /* 513 minclo */ - S_ST( 'd', 3, 518, 510 ), /* 514 min */ - S_ST( 'e', 3, 516, 0 ), /* 515 mind */ - S_ST( 'p', 3, 517, 0 ), /* 516 minde */ - S_ST( 't', 3, 352, 0 ), /* 517 mindep */ - S_ST( 'i', 3, 519, 515 ), /* 518 mind */ - S_ST( 's', 3, 353, 0 ), /* 519 mindi */ - S_ST( 'i', 3, 521, 514 ), /* 520 min */ - S_ST( 'm', 3, 522, 0 ), /* 521 mini */ - S_ST( 'u', 3, 354, 0 ), /* 522 minim */ - S_ST( 'p', 3, 524, 520 ), /* 523 min */ - S_ST( 'o', 3, 525, 0 ), /* 524 minp */ - S_ST( 'l', 3, 355, 0 ), /* 525 minpo */ - S_ST( 's', 3, 527, 523 ), /* 526 min */ - S_ST( 'a', 3, 528, 0 ), /* 527 mins */ - S_ST( 'n', 3, 356, 0 ), /* 528 minsa */ - S_ST( 'o', 3, 531, 508 ), /* 529 m */ - S_ST( 'd', 3, 357, 0 ), /* 530 mo */ - S_ST( 'n', 3, 535, 530 ), /* 531 mo */ - S_ST( 'i', 3, 533, 0 ), /* 532 mon */ - S_ST( 't', 3, 534, 0 ), /* 533 moni */ - S_ST( 'o', 3, 359, 0 ), /* 534 monit */ - S_ST( 't', 3, 360, 532 ), /* 535 mon */ - S_ST( 'r', 3, 361, 529 ), /* 536 m */ - S_ST( 's', 3, 538, 536 ), /* 537 m */ - S_ST( 's', 3, 539, 0 ), /* 538 ms */ - S_ST( 'n', 3, 540, 0 ), /* 539 mss */ - S_ST( 't', 3, 329, 0 ), /* 540 mssn */ - S_ST( 'u', 3, 542, 537 ), /* 541 m */ - S_ST( 'l', 3, 543, 0 ), /* 542 mu */ - S_ST( 't', 3, 544, 0 ), /* 543 mul */ - S_ST( 'i', 3, 545, 0 ), /* 544 mult */ - S_ST( 'c', 3, 546, 0 ), /* 545 multi */ - S_ST( 'a', 3, 547, 0 ), /* 546 multic */ - S_ST( 's', 3, 548, 0 ), /* 547 multica */ - S_ST( 't', 3, 549, 0 ), /* 548 multicas */ - S_ST( 'c', 3, 550, 0 ), /* 549 multicast */ - S_ST( 'l', 3, 551, 0 ), /* 550 multicastc */ - S_ST( 'i', 3, 552, 0 ), /* 551 multicastcl */ - S_ST( 'e', 3, 553, 0 ), /* 552 multicastcli */ - S_ST( 'n', 3, 362, 0 ), /* 553 multicastclie */ - S_ST( 'n', 3, 597, 460 ), /* 554 */ - S_ST( 'i', 3, 363, 0 ), /* 555 n */ - S_ST( 'o', 3, 592, 555 ), /* 556 n */ - S_ST( 'l', 3, 558, 0 ), /* 557 no */ - S_ST( 'i', 3, 559, 0 ), /* 558 nol */ - S_ST( 'n', 3, 364, 0 ), /* 559 noli */ - S_ST( 'm', 3, 565, 557 ), /* 560 no */ - S_ST( 'o', 3, 562, 0 ), /* 561 nom */ - S_ST( 'd', 3, 563, 0 ), /* 562 nomo */ - S_ST( 'i', 3, 564, 0 ), /* 563 nomod */ - S_ST( 'f', 3, 365, 0 ), /* 564 nomodi */ - S_ST( 'r', 3, 566, 561 ), /* 565 nom */ - S_ST( 'u', 3, 567, 0 ), /* 566 nomr */ - S_ST( 'l', 3, 568, 0 ), /* 567 nomru */ - S_ST( 'i', 3, 569, 0 ), /* 568 nomrul */ - S_ST( 's', 3, 366, 0 ), /* 569 nomruli */ - S_ST( 'n', 3, 571, 560 ), /* 570 no */ - S_ST( 'v', 3, 572, 367 ), /* 571 non */ - S_ST( 'o', 3, 573, 0 ), /* 572 nonv */ - S_ST( 'l', 3, 574, 0 ), /* 573 nonvo */ - S_ST( 'a', 3, 575, 0 ), /* 574 nonvol */ - S_ST( 't', 3, 576, 0 ), /* 575 nonvola */ - S_ST( 'i', 3, 577, 0 ), /* 576 nonvolat */ - S_ST( 'l', 3, 368, 0 ), /* 577 nonvolati */ - S_ST( 'p', 3, 579, 570 ), /* 578 no */ - S_ST( 'e', 3, 580, 0 ), /* 579 nop */ - S_ST( 'e', 3, 369, 0 ), /* 580 nope */ - S_ST( 'q', 3, 582, 578 ), /* 581 no */ - S_ST( 'u', 3, 583, 0 ), /* 582 noq */ - S_ST( 'e', 3, 584, 0 ), /* 583 noqu */ - S_ST( 'r', 3, 370, 0 ), /* 584 noque */ - S_ST( 's', 3, 586, 581 ), /* 585 no */ - S_ST( 'e', 3, 590, 0 ), /* 586 nos */ - S_ST( 'l', 3, 588, 0 ), /* 587 nose */ - S_ST( 'e', 3, 589, 0 ), /* 588 nosel */ - S_ST( 'c', 3, 371, 0 ), /* 589 nosele */ - S_ST( 'r', 3, 591, 587 ), /* 590 nose */ - S_ST( 'v', 3, 372, 0 ), /* 591 noser */ - S_ST( 't', 3, 593, 585 ), /* 592 no */ - S_ST( 'r', 3, 595, 0 ), /* 593 not */ - S_ST( 'a', 3, 373, 0 ), /* 594 notr */ - S_ST( 'u', 3, 596, 594 ), /* 595 notr */ - S_ST( 's', 3, 374, 0 ), /* 596 notru */ - S_ST( 't', 3, 375, 556 ), /* 597 n */ - S_ST( 'p', 3, 599, 0 ), /* 598 ntp */ - S_ST( 'o', 3, 600, 0 ), /* 599 ntpp */ - S_ST( 'r', 3, 376, 0 ), /* 600 ntppo */ - S_ST( 's', 3, 602, 598 ), /* 601 ntp */ - S_ST( 'i', 3, 603, 0 ), /* 602 ntps */ - S_ST( 'g', 3, 604, 0 ), /* 603 ntpsi */ - S_ST( 'n', 3, 605, 0 ), /* 604 ntpsig */ - S_ST( 'd', 3, 606, 0 ), /* 605 ntpsign */ - S_ST( 's', 3, 607, 0 ), /* 606 ntpsignd */ - S_ST( 'o', 3, 608, 0 ), /* 607 ntpsignds */ - S_ST( 'c', 3, 609, 0 ), /* 608 ntpsigndso */ - S_ST( 'k', 3, 610, 0 ), /* 609 ntpsigndsoc */ - S_ST( 'e', 3, 377, 0 ), /* 610 ntpsigndsock */ - S_ST( 'o', 3, 612, 554 ), /* 611 */ - S_ST( 'r', 3, 613, 0 ), /* 612 o */ - S_ST( 'p', 3, 614, 0 ), /* 613 or */ - S_ST( 'h', 3, 615, 0 ), /* 614 orp */ - S_ST( 'a', 3, 378, 0 ), /* 615 orph */ - S_ST( 'w', 3, 617, 0 ), /* 616 orphan */ - S_ST( 'a', 3, 618, 0 ), /* 617 orphanw */ - S_ST( 'i', 3, 379, 0 ), /* 618 orphanwa */ - S_ST( 'p', 3, 391, 611 ), /* 619 */ - S_ST( 'a', 3, 621, 0 ), /* 620 p */ - S_ST( 'n', 3, 622, 0 ), /* 621 pa */ - S_ST( 'i', 3, 380, 0 ), /* 622 pan */ - S_ST( 'e', 3, 624, 620 ), /* 623 p */ - S_ST( 'e', 3, 381, 0 ), /* 624 pe */ - S_ST( 's', 3, 626, 0 ), /* 625 peer */ - S_ST( 't', 3, 627, 0 ), /* 626 peers */ - S_ST( 'a', 3, 628, 0 ), /* 627 peerst */ - S_ST( 't', 3, 382, 0 ), /* 628 peersta */ - S_ST( 'h', 3, 630, 623 ), /* 629 p */ - S_ST( 'o', 3, 631, 0 ), /* 630 ph */ - S_ST( 'n', 3, 383, 0 ), /* 631 pho */ - S_ST( 'i', 3, 384, 629 ), /* 632 p */ - S_ST( 'f', 3, 634, 0 ), /* 633 pid */ - S_ST( 'i', 3, 635, 0 ), /* 634 pidf */ - S_ST( 'l', 3, 385, 0 ), /* 635 pidfi */ - S_ST( 'o', 3, 638, 632 ), /* 636 p */ - S_ST( 'o', 3, 386, 0 ), /* 637 po */ - S_ST( 'r', 3, 387, 637 ), /* 638 po */ - S_ST( 'r', 3, 646, 636 ), /* 639 p */ - S_ST( 'e', 3, 644, 0 ), /* 640 pr */ - S_ST( 'e', 3, 642, 0 ), /* 641 pre */ - S_ST( 'm', 3, 643, 0 ), /* 642 pree */ - S_ST( 'p', 3, 388, 0 ), /* 643 preem */ - S_ST( 'f', 3, 645, 641 ), /* 644 pre */ - S_ST( 'e', 3, 389, 0 ), /* 645 pref */ - S_ST( 'o', 3, 659, 640 ), /* 646 pr */ - S_ST( 'c', 3, 648, 0 ), /* 647 pro */ - S_ST( '_', 3, 649, 0 ), /* 648 proc */ - S_ST( 'd', 3, 650, 0 ), /* 649 proc_ */ - S_ST( 'e', 3, 651, 0 ), /* 650 proc_d */ - S_ST( 'l', 3, 652, 0 ), /* 651 proc_de */ - S_ST( 'a', 3, 448, 0 ), /* 652 proc_del */ - S_ST( 'p', 3, 654, 647 ), /* 653 pro */ - S_ST( '_', 3, 655, 0 ), /* 654 prop */ - S_ST( 'd', 3, 656, 0 ), /* 655 prop_ */ - S_ST( 'e', 3, 657, 0 ), /* 656 prop_d */ - S_ST( 'l', 3, 658, 0 ), /* 657 prop_de */ - S_ST( 'a', 3, 447, 0 ), /* 658 prop_del */ - S_ST( 't', 3, 660, 653 ), /* 659 pro */ - S_ST( 'o', 3, 661, 0 ), /* 660 prot */ - S_ST( 's', 3, 662, 0 ), /* 661 proto */ - S_ST( 't', 3, 663, 0 ), /* 662 protos */ - S_ST( 'a', 3, 664, 0 ), /* 663 protost */ - S_ST( 't', 3, 390, 0 ), /* 664 protosta */ - S_ST( 'r', 3, 696, 619 ), /* 665 */ - S_ST( 'a', 3, 672, 0 ), /* 666 r */ - S_ST( 'n', 3, 668, 0 ), /* 667 ra */ - S_ST( 'd', 3, 669, 0 ), /* 668 ran */ - S_ST( 'f', 3, 670, 0 ), /* 669 rand */ - S_ST( 'i', 3, 671, 0 ), /* 670 randf */ - S_ST( 'l', 3, 392, 0 ), /* 671 randfi */ - S_ST( 'w', 3, 673, 667 ), /* 672 ra */ - S_ST( 's', 3, 674, 0 ), /* 673 raw */ - S_ST( 't', 3, 675, 0 ), /* 674 raws */ - S_ST( 'a', 3, 676, 0 ), /* 675 rawst */ - S_ST( 't', 3, 393, 0 ), /* 676 rawsta */ - S_ST( 'e', 3, 693, 666 ), /* 677 r */ - S_ST( 'f', 3, 679, 0 ), /* 678 re */ - S_ST( 'i', 3, 394, 0 ), /* 679 ref */ - S_ST( 'q', 3, 681, 678 ), /* 680 re */ - S_ST( 'u', 3, 682, 0 ), /* 681 req */ - S_ST( 'e', 3, 683, 0 ), /* 682 requ */ - S_ST( 's', 3, 684, 0 ), /* 683 reque */ - S_ST( 't', 3, 685, 0 ), /* 684 reques */ - S_ST( 'k', 3, 686, 0 ), /* 685 request */ - S_ST( 'e', 3, 395, 0 ), /* 686 requestk */ - S_ST( 's', 3, 689, 680 ), /* 687 re */ - S_ST( 'e', 3, 396, 0 ), /* 688 res */ - S_ST( 't', 3, 690, 688 ), /* 689 res */ - S_ST( 'r', 3, 691, 0 ), /* 690 rest */ - S_ST( 'i', 3, 692, 0 ), /* 691 restr */ - S_ST( 'c', 3, 397, 0 ), /* 692 restri */ - S_ST( 'v', 3, 694, 687 ), /* 693 re */ - S_ST( 'o', 3, 695, 0 ), /* 694 rev */ - S_ST( 'k', 3, 398, 0 ), /* 695 revo */ - S_ST( 'l', 3, 697, 677 ), /* 696 r */ - S_ST( 'i', 3, 698, 0 ), /* 697 rl */ - S_ST( 'm', 3, 699, 0 ), /* 698 rli */ - S_ST( 'i', 3, 399, 0 ), /* 699 rlim */ - S_ST( 's', 3, 773, 665 ), /* 700 */ - S_ST( 'a', 3, 702, 0 ), /* 701 s */ - S_ST( 'v', 3, 703, 0 ), /* 702 sa */ - S_ST( 'e', 3, 704, 0 ), /* 703 sav */ - S_ST( 'c', 3, 705, 0 ), /* 704 save */ - S_ST( 'o', 3, 706, 0 ), /* 705 savec */ - S_ST( 'n', 3, 707, 0 ), /* 706 saveco */ - S_ST( 'f', 3, 708, 0 ), /* 707 savecon */ - S_ST( 'i', 3, 709, 0 ), /* 708 saveconf */ - S_ST( 'g', 3, 710, 0 ), /* 709 saveconfi */ - S_ST( 'd', 3, 711, 0 ), /* 710 saveconfig */ - S_ST( 'i', 3, 400, 0 ), /* 711 saveconfigd */ - S_ST( 'e', 3, 722, 701 ), /* 712 s */ - S_ST( 'r', 3, 714, 0 ), /* 713 se */ - S_ST( 'v', 3, 715, 0 ), /* 714 ser */ - S_ST( 'e', 3, 401, 0 ), /* 715 serv */ - S_ST( '_', 3, 717, 0 ), /* 716 server */ - S_ST( 'o', 3, 718, 0 ), /* 717 server_ */ - S_ST( 'f', 3, 719, 0 ), /* 718 server_o */ - S_ST( 'f', 3, 720, 0 ), /* 719 server_of */ - S_ST( 's', 3, 721, 0 ), /* 720 server_off */ - S_ST( 'e', 3, 442, 0 ), /* 721 server_offs */ - S_ST( 't', 3, 723, 713 ), /* 722 se */ - S_ST( 'v', 3, 724, 0 ), /* 723 set */ - S_ST( 'a', 3, 402, 0 ), /* 724 setv */ - S_ST( 'i', 3, 726, 712 ), /* 725 s */ - S_ST( 'm', 3, 727, 0 ), /* 726 si */ - S_ST( 'u', 3, 728, 0 ), /* 727 sim */ - S_ST( 'l', 3, 729, 0 ), /* 728 simu */ - S_ST( 'a', 3, 730, 0 ), /* 729 simul */ - S_ST( 't', 3, 731, 0 ), /* 730 simula */ - S_ST( 'i', 3, 732, 439 ), /* 731 simulat */ - S_ST( 'o', 3, 733, 0 ), /* 732 simulati */ - S_ST( 'n', 3, 734, 0 ), /* 733 simulatio */ - S_ST( '_', 3, 735, 0 ), /* 734 simulation */ - S_ST( 'd', 3, 736, 0 ), /* 735 simulation_ */ - S_ST( 'u', 3, 737, 0 ), /* 736 simulation_d */ - S_ST( 'r', 3, 738, 0 ), /* 737 simulation_du */ - S_ST( 'a', 3, 739, 0 ), /* 738 simulation_dur */ - S_ST( 't', 3, 740, 0 ), /* 739 simulation_dura */ - S_ST( 'i', 3, 741, 0 ), /* 740 simulation_durat */ - S_ST( 'o', 3, 441, 0 ), /* 741 simulation_durati */ - S_ST( 'o', 3, 743, 725 ), /* 742 s */ - S_ST( 'u', 3, 744, 0 ), /* 743 so */ - S_ST( 'r', 3, 745, 0 ), /* 744 sou */ - S_ST( 'c', 3, 403, 0 ), /* 745 sour */ - S_ST( 't', 3, 769, 742 ), /* 746 s */ - S_ST( 'a', 3, 753, 0 ), /* 747 st */ - S_ST( 'c', 3, 749, 0 ), /* 748 sta */ - S_ST( 'k', 3, 750, 0 ), /* 749 stac */ - S_ST( 's', 3, 751, 0 ), /* 750 stack */ - S_ST( 'i', 3, 752, 0 ), /* 751 stacks */ - S_ST( 'z', 3, 404, 0 ), /* 752 stacksi */ - S_ST( 't', 3, 406, 748 ), /* 753 sta */ - S_ST( 'i', 3, 755, 0 ), /* 754 stat */ - S_ST( 's', 3, 756, 0 ), /* 755 stati */ - S_ST( 't', 3, 757, 0 ), /* 756 statis */ - S_ST( 'i', 3, 758, 0 ), /* 757 statist */ - S_ST( 'c', 3, 405, 0 ), /* 758 statisti */ - S_ST( 'd', 3, 760, 0 ), /* 759 stats */ - S_ST( 'i', 3, 407, 0 ), /* 760 statsd */ - S_ST( 'e', 3, 408, 747 ), /* 761 st */ - S_ST( 'b', 3, 763, 0 ), /* 762 step */ - S_ST( 'a', 3, 764, 0 ), /* 763 stepb */ - S_ST( 'c', 3, 409, 0 ), /* 764 stepba */ - S_ST( 'f', 3, 766, 762 ), /* 765 step */ - S_ST( 'w', 3, 410, 0 ), /* 766 stepf */ - S_ST( 'o', 3, 768, 765 ), /* 767 step */ - S_ST( 'u', 3, 411, 0 ), /* 768 stepo */ - S_ST( 'r', 3, 770, 761 ), /* 769 st */ - S_ST( 'a', 3, 771, 0 ), /* 770 str */ - S_ST( 't', 3, 772, 0 ), /* 771 stra */ - S_ST( 'u', 3, 412, 0 ), /* 772 strat */ - S_ST( 'y', 3, 414, 746 ), /* 773 s */ - S_ST( 's', 3, 775, 0 ), /* 774 sys */ - S_ST( 't', 3, 776, 0 ), /* 775 syss */ - S_ST( 'a', 3, 777, 0 ), /* 776 sysst */ - S_ST( 't', 3, 415, 0 ), /* 777 syssta */ - S_ST( 't', 3, 804, 700 ), /* 778 */ - S_ST( 'i', 3, 790, 0 ), /* 779 t */ - S_ST( 'c', 3, 416, 0 ), /* 780 ti */ - S_ST( 'm', 3, 783, 780 ), /* 781 ti */ - S_ST( 'e', 3, 419, 0 ), /* 782 tim */ - S_ST( 'i', 3, 784, 782 ), /* 783 tim */ - S_ST( 'n', 3, 785, 0 ), /* 784 timi */ - S_ST( 'g', 3, 786, 0 ), /* 785 timin */ - S_ST( 's', 3, 787, 0 ), /* 786 timing */ - S_ST( 't', 3, 788, 0 ), /* 787 timings */ - S_ST( 'a', 3, 789, 0 ), /* 788 timingst */ - S_ST( 't', 3, 420, 0 ), /* 789 timingsta */ - S_ST( 'n', 3, 791, 781 ), /* 790 ti */ - S_ST( 'k', 3, 792, 0 ), /* 791 tin */ - S_ST( 'e', 3, 421, 0 ), /* 792 tink */ - S_ST( 'o', 3, 422, 779 ), /* 793 t */ - S_ST( 'r', 3, 796, 793 ), /* 794 t */ - S_ST( 'a', 3, 423, 0 ), /* 795 tr */ - S_ST( 'u', 3, 797, 795 ), /* 796 tr */ - S_ST( 's', 3, 798, 424 ), /* 797 tru */ - S_ST( 't', 3, 799, 0 ), /* 798 trus */ - S_ST( 'e', 3, 800, 0 ), /* 799 trust */ - S_ST( 'd', 3, 801, 0 ), /* 800 truste */ - S_ST( 'k', 3, 802, 0 ), /* 801 trusted */ - S_ST( 'e', 3, 425, 0 ), /* 802 trustedk */ - S_ST( 't', 3, 426, 794 ), /* 803 t */ - S_ST( 'y', 3, 805, 803 ), /* 804 t */ - S_ST( 'p', 3, 427, 0 ), /* 805 ty */ - S_ST( 'u', 3, 807, 778 ), /* 806 */ - S_ST( 'n', 3, 813, 0 ), /* 807 u */ - S_ST( 'c', 3, 809, 0 ), /* 808 un */ - S_ST( 'o', 3, 810, 0 ), /* 809 unc */ - S_ST( 'n', 3, 811, 0 ), /* 810 unco */ - S_ST( 'f', 3, 812, 0 ), /* 811 uncon */ - S_ST( 'i', 3, 429, 0 ), /* 812 unconf */ - S_ST( 'p', 3, 814, 808 ), /* 813 un */ - S_ST( 'e', 3, 815, 0 ), /* 814 unp */ - S_ST( 'e', 3, 430, 0 ), /* 815 unpe */ - S_ST( 'v', 3, 817, 806 ), /* 816 */ - S_ST( 'e', 3, 818, 0 ), /* 817 v */ - S_ST( 'r', 3, 819, 0 ), /* 818 ve */ - S_ST( 's', 3, 820, 0 ), /* 819 ver */ - S_ST( 'i', 3, 821, 0 ), /* 820 vers */ - S_ST( 'o', 3, 431, 0 ), /* 821 versi */ - S_ST( 'w', 3, 829, 816 ), /* 822 */ - S_ST( 'a', 3, 824, 0 ), /* 823 w */ - S_ST( 'n', 3, 825, 0 ), /* 824 wa */ - S_ST( 'd', 3, 826, 0 ), /* 825 wan */ - S_ST( 'e', 3, 445, 0 ), /* 826 wand */ - S_ST( 'e', 3, 828, 823 ), /* 827 w */ - S_ST( 'e', 3, 433, 0 ), /* 828 we */ - S_ST( 'i', 3, 830, 827 ), /* 829 w */ - S_ST( 'l', 3, 831, 0 ), /* 830 wi */ - S_ST( 'd', 3, 832, 0 ), /* 831 wil */ - S_ST( 'c', 3, 833, 0 ), /* 832 wild */ - S_ST( 'a', 3, 834, 0 ), /* 833 wildc */ - S_ST( 'r', 3, 434, 0 ), /* 834 wildca */ - S_ST( 'x', 3, 836, 822 ), /* 835 */ - S_ST( 'l', 3, 837, 0 ), /* 836 x */ - S_ST( 'e', 3, 838, 0 ), /* 837 xl */ - S_ST( 'a', 3, 839, 0 ), /* 838 xle */ - S_ST( 'v', 3, 435, 0 ), /* 839 xlea */ - S_ST( 'y', 3, 841, 835 ), /* 840 [initial state] */ - S_ST( 'e', 3, 842, 0 ), /* 841 y */ - S_ST( 'a', 3, 436, 0 ) /* 842 ye */ + S_ST( 'o', 3, 465, 287 ), /* 449 l */ + S_ST( 'g', 3, 456, 0 ), /* 450 lo */ + S_ST( 'c', 3, 452, 0 ), /* 451 log */ + S_ST( 'o', 3, 453, 0 ), /* 452 logc */ + S_ST( 'n', 3, 454, 0 ), /* 453 logco */ + S_ST( 'f', 3, 455, 0 ), /* 454 logcon */ + S_ST( 'i', 3, 335, 0 ), /* 455 logconf */ + S_ST( 'f', 3, 457, 451 ), /* 456 log */ + S_ST( 'i', 3, 458, 0 ), /* 457 logf */ + S_ST( 'l', 3, 336, 0 ), /* 458 logfi */ + S_ST( 'o', 3, 460, 450 ), /* 459 lo */ + S_ST( 'p', 3, 461, 0 ), /* 460 loo */ + S_ST( 's', 3, 462, 0 ), /* 461 loop */ + S_ST( 't', 3, 463, 0 ), /* 462 loops */ + S_ST( 'a', 3, 464, 0 ), /* 463 loopst */ + S_ST( 't', 3, 337, 0 ), /* 464 loopsta */ + S_ST( 'w', 3, 466, 459 ), /* 465 lo */ + S_ST( 'p', 3, 467, 0 ), /* 466 low */ + S_ST( 'r', 3, 468, 0 ), /* 467 lowp */ + S_ST( 'i', 3, 469, 0 ), /* 468 lowpr */ + S_ST( 'o', 3, 470, 0 ), /* 469 lowpri */ + S_ST( 't', 3, 471, 0 ), /* 470 lowprio */ + S_ST( 'r', 3, 472, 0 ), /* 471 lowpriot */ + S_ST( 'a', 3, 338, 0 ), /* 472 lowpriotr */ + S_ST( 'm', 3, 554, 239 ), /* 473 */ + S_ST( 'a', 3, 492, 0 ), /* 474 m */ + S_ST( 'n', 3, 476, 0 ), /* 475 ma */ + S_ST( 'y', 3, 477, 0 ), /* 476 man */ + S_ST( 'c', 3, 478, 0 ), /* 477 many */ + S_ST( 'a', 3, 479, 0 ), /* 478 manyc */ + S_ST( 's', 3, 480, 0 ), /* 479 manyca */ + S_ST( 't', 3, 486, 0 ), /* 480 manycas */ + S_ST( 'c', 3, 482, 0 ), /* 481 manycast */ + S_ST( 'l', 3, 483, 0 ), /* 482 manycastc */ + S_ST( 'i', 3, 484, 0 ), /* 483 manycastcl */ + S_ST( 'e', 3, 485, 0 ), /* 484 manycastcli */ + S_ST( 'n', 3, 339, 0 ), /* 485 manycastclie */ + S_ST( 's', 3, 487, 481 ), /* 486 manycast */ + S_ST( 'e', 3, 488, 0 ), /* 487 manycasts */ + S_ST( 'r', 3, 489, 0 ), /* 488 manycastse */ + S_ST( 'v', 3, 490, 0 ), /* 489 manycastser */ + S_ST( 'e', 3, 340, 0 ), /* 490 manycastserv */ + S_ST( 's', 3, 341, 475 ), /* 491 ma */ + S_ST( 'x', 3, 507, 491 ), /* 492 ma */ + S_ST( 'a', 3, 494, 0 ), /* 493 max */ + S_ST( 'g', 3, 342, 0 ), /* 494 maxa */ + S_ST( 'c', 3, 496, 493 ), /* 495 max */ + S_ST( 'l', 3, 497, 0 ), /* 496 maxc */ + S_ST( 'o', 3, 498, 0 ), /* 497 maxcl */ + S_ST( 'c', 3, 343, 0 ), /* 498 maxclo */ + S_ST( 'd', 3, 503, 495 ), /* 499 max */ + S_ST( 'e', 3, 501, 0 ), /* 500 maxd */ + S_ST( 'p', 3, 502, 0 ), /* 501 maxde */ + S_ST( 't', 3, 344, 0 ), /* 502 maxdep */ + S_ST( 'i', 3, 504, 500 ), /* 503 maxd */ + S_ST( 's', 3, 345, 0 ), /* 504 maxdi */ + S_ST( 'm', 3, 506, 499 ), /* 505 max */ + S_ST( 'e', 3, 346, 0 ), /* 506 maxm */ + S_ST( 'p', 3, 508, 505 ), /* 507 max */ + S_ST( 'o', 3, 509, 0 ), /* 508 maxp */ + S_ST( 'l', 3, 347, 0 ), /* 509 maxpo */ + S_ST( 'd', 3, 511, 474 ), /* 510 m */ + S_ST( 'n', 3, 512, 0 ), /* 511 md */ + S_ST( 's', 3, 513, 0 ), /* 512 mdn */ + S_ST( 't', 3, 514, 0 ), /* 513 mdns */ + S_ST( 'r', 3, 515, 0 ), /* 514 mdnst */ + S_ST( 'i', 3, 516, 0 ), /* 515 mdnstr */ + S_ST( 'e', 3, 348, 0 ), /* 516 mdnstri */ + S_ST( 'e', 3, 349, 510 ), /* 517 m */ + S_ST( 'l', 3, 519, 0 ), /* 518 mem */ + S_ST( 'o', 3, 520, 0 ), /* 519 meml */ + S_ST( 'c', 3, 350, 0 ), /* 520 memlo */ + S_ST( 'i', 3, 522, 517 ), /* 521 m */ + S_ST( 'n', 3, 539, 0 ), /* 522 mi */ + S_ST( 'c', 3, 524, 0 ), /* 523 min */ + S_ST( 'l', 3, 525, 0 ), /* 524 minc */ + S_ST( 'o', 3, 526, 0 ), /* 525 mincl */ + S_ST( 'c', 3, 351, 0 ), /* 526 minclo */ + S_ST( 'd', 3, 531, 523 ), /* 527 min */ + S_ST( 'e', 3, 529, 0 ), /* 528 mind */ + S_ST( 'p', 3, 530, 0 ), /* 529 minde */ + S_ST( 't', 3, 352, 0 ), /* 530 mindep */ + S_ST( 'i', 3, 532, 528 ), /* 531 mind */ + S_ST( 's', 3, 353, 0 ), /* 532 mindi */ + S_ST( 'i', 3, 534, 527 ), /* 533 min */ + S_ST( 'm', 3, 535, 0 ), /* 534 mini */ + S_ST( 'u', 3, 354, 0 ), /* 535 minim */ + S_ST( 'p', 3, 537, 533 ), /* 536 min */ + S_ST( 'o', 3, 538, 0 ), /* 537 minp */ + S_ST( 'l', 3, 355, 0 ), /* 538 minpo */ + S_ST( 's', 3, 540, 536 ), /* 539 min */ + S_ST( 'a', 3, 541, 0 ), /* 540 mins */ + S_ST( 'n', 3, 356, 0 ), /* 541 minsa */ + S_ST( 'o', 3, 544, 521 ), /* 542 m */ + S_ST( 'd', 3, 357, 0 ), /* 543 mo */ + S_ST( 'n', 3, 548, 543 ), /* 544 mo */ + S_ST( 'i', 3, 546, 0 ), /* 545 mon */ + S_ST( 't', 3, 547, 0 ), /* 546 moni */ + S_ST( 'o', 3, 359, 0 ), /* 547 monit */ + S_ST( 't', 3, 360, 545 ), /* 548 mon */ + S_ST( 'r', 3, 361, 542 ), /* 549 m */ + S_ST( 's', 3, 551, 549 ), /* 550 m */ + S_ST( 's', 3, 552, 0 ), /* 551 ms */ + S_ST( 'n', 3, 553, 0 ), /* 552 mss */ + S_ST( 't', 3, 329, 0 ), /* 553 mssn */ + S_ST( 'u', 3, 555, 550 ), /* 554 m */ + S_ST( 'l', 3, 556, 0 ), /* 555 mu */ + S_ST( 't', 3, 557, 0 ), /* 556 mul */ + S_ST( 'i', 3, 558, 0 ), /* 557 mult */ + S_ST( 'c', 3, 559, 0 ), /* 558 multi */ + S_ST( 'a', 3, 560, 0 ), /* 559 multic */ + S_ST( 's', 3, 561, 0 ), /* 560 multica */ + S_ST( 't', 3, 562, 0 ), /* 561 multicas */ + S_ST( 'c', 3, 563, 0 ), /* 562 multicast */ + S_ST( 'l', 3, 564, 0 ), /* 563 multicastc */ + S_ST( 'i', 3, 565, 0 ), /* 564 multicastcl */ + S_ST( 'e', 3, 566, 0 ), /* 565 multicastcli */ + S_ST( 'n', 3, 362, 0 ), /* 566 multicastclie */ + S_ST( 'n', 3, 610, 473 ), /* 567 */ + S_ST( 'i', 3, 363, 0 ), /* 568 n */ + S_ST( 'o', 3, 605, 568 ), /* 569 n */ + S_ST( 'l', 3, 571, 0 ), /* 570 no */ + S_ST( 'i', 3, 572, 0 ), /* 571 nol */ + S_ST( 'n', 3, 364, 0 ), /* 572 noli */ + S_ST( 'm', 3, 578, 570 ), /* 573 no */ + S_ST( 'o', 3, 575, 0 ), /* 574 nom */ + S_ST( 'd', 3, 576, 0 ), /* 575 nomo */ + S_ST( 'i', 3, 577, 0 ), /* 576 nomod */ + S_ST( 'f', 3, 365, 0 ), /* 577 nomodi */ + S_ST( 'r', 3, 579, 574 ), /* 578 nom */ + S_ST( 'u', 3, 580, 0 ), /* 579 nomr */ + S_ST( 'l', 3, 581, 0 ), /* 580 nomru */ + S_ST( 'i', 3, 582, 0 ), /* 581 nomrul */ + S_ST( 's', 3, 366, 0 ), /* 582 nomruli */ + S_ST( 'n', 3, 584, 573 ), /* 583 no */ + S_ST( 'v', 3, 585, 367 ), /* 584 non */ + S_ST( 'o', 3, 586, 0 ), /* 585 nonv */ + S_ST( 'l', 3, 587, 0 ), /* 586 nonvo */ + S_ST( 'a', 3, 588, 0 ), /* 587 nonvol */ + S_ST( 't', 3, 589, 0 ), /* 588 nonvola */ + S_ST( 'i', 3, 590, 0 ), /* 589 nonvolat */ + S_ST( 'l', 3, 368, 0 ), /* 590 nonvolati */ + S_ST( 'p', 3, 592, 583 ), /* 591 no */ + S_ST( 'e', 3, 593, 0 ), /* 592 nop */ + S_ST( 'e', 3, 369, 0 ), /* 593 nope */ + S_ST( 'q', 3, 595, 591 ), /* 594 no */ + S_ST( 'u', 3, 596, 0 ), /* 595 noq */ + S_ST( 'e', 3, 597, 0 ), /* 596 noqu */ + S_ST( 'r', 3, 370, 0 ), /* 597 noque */ + S_ST( 's', 3, 599, 594 ), /* 598 no */ + S_ST( 'e', 3, 603, 0 ), /* 599 nos */ + S_ST( 'l', 3, 601, 0 ), /* 600 nose */ + S_ST( 'e', 3, 602, 0 ), /* 601 nosel */ + S_ST( 'c', 3, 371, 0 ), /* 602 nosele */ + S_ST( 'r', 3, 604, 600 ), /* 603 nose */ + S_ST( 'v', 3, 372, 0 ), /* 604 noser */ + S_ST( 't', 3, 606, 598 ), /* 605 no */ + S_ST( 'r', 3, 608, 0 ), /* 606 not */ + S_ST( 'a', 3, 373, 0 ), /* 607 notr */ + S_ST( 'u', 3, 609, 607 ), /* 608 notr */ + S_ST( 's', 3, 374, 0 ), /* 609 notru */ + S_ST( 't', 3, 375, 569 ), /* 610 n */ + S_ST( 'p', 3, 612, 0 ), /* 611 ntp */ + S_ST( 'o', 3, 613, 0 ), /* 612 ntpp */ + S_ST( 'r', 3, 376, 0 ), /* 613 ntppo */ + S_ST( 's', 3, 615, 611 ), /* 614 ntp */ + S_ST( 'i', 3, 616, 0 ), /* 615 ntps */ + S_ST( 'g', 3, 617, 0 ), /* 616 ntpsi */ + S_ST( 'n', 3, 618, 0 ), /* 617 ntpsig */ + S_ST( 'd', 3, 619, 0 ), /* 618 ntpsign */ + S_ST( 's', 3, 620, 0 ), /* 619 ntpsignd */ + S_ST( 'o', 3, 621, 0 ), /* 620 ntpsignds */ + S_ST( 'c', 3, 622, 0 ), /* 621 ntpsigndso */ + S_ST( 'k', 3, 623, 0 ), /* 622 ntpsigndsoc */ + S_ST( 'e', 3, 377, 0 ), /* 623 ntpsigndsock */ + S_ST( 'o', 3, 625, 567 ), /* 624 */ + S_ST( 'r', 3, 626, 0 ), /* 625 o */ + S_ST( 'p', 3, 627, 0 ), /* 626 or */ + S_ST( 'h', 3, 628, 0 ), /* 627 orp */ + S_ST( 'a', 3, 378, 0 ), /* 628 orph */ + S_ST( 'w', 3, 630, 0 ), /* 629 orphan */ + S_ST( 'a', 3, 631, 0 ), /* 630 orphanw */ + S_ST( 'i', 3, 379, 0 ), /* 631 orphanwa */ + S_ST( 'p', 3, 391, 624 ), /* 632 */ + S_ST( 'a', 3, 634, 0 ), /* 633 p */ + S_ST( 'n', 3, 635, 0 ), /* 634 pa */ + S_ST( 'i', 3, 380, 0 ), /* 635 pan */ + S_ST( 'e', 3, 637, 633 ), /* 636 p */ + S_ST( 'e', 3, 381, 0 ), /* 637 pe */ + S_ST( 's', 3, 639, 0 ), /* 638 peer */ + S_ST( 't', 3, 640, 0 ), /* 639 peers */ + S_ST( 'a', 3, 641, 0 ), /* 640 peerst */ + S_ST( 't', 3, 382, 0 ), /* 641 peersta */ + S_ST( 'h', 3, 643, 636 ), /* 642 p */ + S_ST( 'o', 3, 644, 0 ), /* 643 ph */ + S_ST( 'n', 3, 383, 0 ), /* 644 pho */ + S_ST( 'i', 3, 384, 642 ), /* 645 p */ + S_ST( 'f', 3, 647, 0 ), /* 646 pid */ + S_ST( 'i', 3, 648, 0 ), /* 647 pidf */ + S_ST( 'l', 3, 385, 0 ), /* 648 pidfi */ + S_ST( 'o', 3, 651, 645 ), /* 649 p */ + S_ST( 'o', 3, 386, 0 ), /* 650 po */ + S_ST( 'r', 3, 387, 650 ), /* 651 po */ + S_ST( 'r', 3, 659, 649 ), /* 652 p */ + S_ST( 'e', 3, 657, 0 ), /* 653 pr */ + S_ST( 'e', 3, 655, 0 ), /* 654 pre */ + S_ST( 'm', 3, 656, 0 ), /* 655 pree */ + S_ST( 'p', 3, 388, 0 ), /* 656 preem */ + S_ST( 'f', 3, 658, 654 ), /* 657 pre */ + S_ST( 'e', 3, 389, 0 ), /* 658 pref */ + S_ST( 'o', 3, 672, 653 ), /* 659 pr */ + S_ST( 'c', 3, 661, 0 ), /* 660 pro */ + S_ST( '_', 3, 662, 0 ), /* 661 proc */ + S_ST( 'd', 3, 663, 0 ), /* 662 proc_ */ + S_ST( 'e', 3, 664, 0 ), /* 663 proc_d */ + S_ST( 'l', 3, 665, 0 ), /* 664 proc_de */ + S_ST( 'a', 3, 448, 0 ), /* 665 proc_del */ + S_ST( 'p', 3, 667, 660 ), /* 666 pro */ + S_ST( '_', 3, 668, 0 ), /* 667 prop */ + S_ST( 'd', 3, 669, 0 ), /* 668 prop_ */ + S_ST( 'e', 3, 670, 0 ), /* 669 prop_d */ + S_ST( 'l', 3, 671, 0 ), /* 670 prop_de */ + S_ST( 'a', 3, 447, 0 ), /* 671 prop_del */ + S_ST( 't', 3, 673, 666 ), /* 672 pro */ + S_ST( 'o', 3, 674, 0 ), /* 673 prot */ + S_ST( 's', 3, 675, 0 ), /* 674 proto */ + S_ST( 't', 3, 676, 0 ), /* 675 protos */ + S_ST( 'a', 3, 677, 0 ), /* 676 protost */ + S_ST( 't', 3, 390, 0 ), /* 677 protosta */ + S_ST( 'r', 3, 709, 632 ), /* 678 */ + S_ST( 'a', 3, 685, 0 ), /* 679 r */ + S_ST( 'n', 3, 681, 0 ), /* 680 ra */ + S_ST( 'd', 3, 682, 0 ), /* 681 ran */ + S_ST( 'f', 3, 683, 0 ), /* 682 rand */ + S_ST( 'i', 3, 684, 0 ), /* 683 randf */ + S_ST( 'l', 3, 392, 0 ), /* 684 randfi */ + S_ST( 'w', 3, 686, 680 ), /* 685 ra */ + S_ST( 's', 3, 687, 0 ), /* 686 raw */ + S_ST( 't', 3, 688, 0 ), /* 687 raws */ + S_ST( 'a', 3, 689, 0 ), /* 688 rawst */ + S_ST( 't', 3, 393, 0 ), /* 689 rawsta */ + S_ST( 'e', 3, 706, 679 ), /* 690 r */ + S_ST( 'f', 3, 692, 0 ), /* 691 re */ + S_ST( 'i', 3, 394, 0 ), /* 692 ref */ + S_ST( 'q', 3, 694, 691 ), /* 693 re */ + S_ST( 'u', 3, 695, 0 ), /* 694 req */ + S_ST( 'e', 3, 696, 0 ), /* 695 requ */ + S_ST( 's', 3, 697, 0 ), /* 696 reque */ + S_ST( 't', 3, 698, 0 ), /* 697 reques */ + S_ST( 'k', 3, 699, 0 ), /* 698 request */ + S_ST( 'e', 3, 395, 0 ), /* 699 requestk */ + S_ST( 's', 3, 702, 693 ), /* 700 re */ + S_ST( 'e', 3, 396, 0 ), /* 701 res */ + S_ST( 't', 3, 703, 701 ), /* 702 res */ + S_ST( 'r', 3, 704, 0 ), /* 703 rest */ + S_ST( 'i', 3, 705, 0 ), /* 704 restr */ + S_ST( 'c', 3, 397, 0 ), /* 705 restri */ + S_ST( 'v', 3, 707, 700 ), /* 706 re */ + S_ST( 'o', 3, 708, 0 ), /* 707 rev */ + S_ST( 'k', 3, 398, 0 ), /* 708 revo */ + S_ST( 'l', 3, 710, 690 ), /* 709 r */ + S_ST( 'i', 3, 711, 0 ), /* 710 rl */ + S_ST( 'm', 3, 712, 0 ), /* 711 rli */ + S_ST( 'i', 3, 399, 0 ), /* 712 rlim */ + S_ST( 's', 3, 786, 678 ), /* 713 */ + S_ST( 'a', 3, 715, 0 ), /* 714 s */ + S_ST( 'v', 3, 716, 0 ), /* 715 sa */ + S_ST( 'e', 3, 717, 0 ), /* 716 sav */ + S_ST( 'c', 3, 718, 0 ), /* 717 save */ + S_ST( 'o', 3, 719, 0 ), /* 718 savec */ + S_ST( 'n', 3, 720, 0 ), /* 719 saveco */ + S_ST( 'f', 3, 721, 0 ), /* 720 savecon */ + S_ST( 'i', 3, 722, 0 ), /* 721 saveconf */ + S_ST( 'g', 3, 723, 0 ), /* 722 saveconfi */ + S_ST( 'd', 3, 724, 0 ), /* 723 saveconfig */ + S_ST( 'i', 3, 400, 0 ), /* 724 saveconfigd */ + S_ST( 'e', 3, 735, 714 ), /* 725 s */ + S_ST( 'r', 3, 727, 0 ), /* 726 se */ + S_ST( 'v', 3, 728, 0 ), /* 727 ser */ + S_ST( 'e', 3, 401, 0 ), /* 728 serv */ + S_ST( '_', 3, 730, 0 ), /* 729 server */ + S_ST( 'o', 3, 731, 0 ), /* 730 server_ */ + S_ST( 'f', 3, 732, 0 ), /* 731 server_o */ + S_ST( 'f', 3, 733, 0 ), /* 732 server_of */ + S_ST( 's', 3, 734, 0 ), /* 733 server_off */ + S_ST( 'e', 3, 442, 0 ), /* 734 server_offs */ + S_ST( 't', 3, 736, 726 ), /* 735 se */ + S_ST( 'v', 3, 737, 0 ), /* 736 set */ + S_ST( 'a', 3, 402, 0 ), /* 737 setv */ + S_ST( 'i', 3, 739, 725 ), /* 738 s */ + S_ST( 'm', 3, 740, 0 ), /* 739 si */ + S_ST( 'u', 3, 741, 0 ), /* 740 sim */ + S_ST( 'l', 3, 742, 0 ), /* 741 simu */ + S_ST( 'a', 3, 743, 0 ), /* 742 simul */ + S_ST( 't', 3, 744, 0 ), /* 743 simula */ + S_ST( 'i', 3, 745, 439 ), /* 744 simulat */ + S_ST( 'o', 3, 746, 0 ), /* 745 simulati */ + S_ST( 'n', 3, 747, 0 ), /* 746 simulatio */ + S_ST( '_', 3, 748, 0 ), /* 747 simulation */ + S_ST( 'd', 3, 749, 0 ), /* 748 simulation_ */ + S_ST( 'u', 3, 750, 0 ), /* 749 simulation_d */ + S_ST( 'r', 3, 751, 0 ), /* 750 simulation_du */ + S_ST( 'a', 3, 752, 0 ), /* 751 simulation_dur */ + S_ST( 't', 3, 753, 0 ), /* 752 simulation_dura */ + S_ST( 'i', 3, 754, 0 ), /* 753 simulation_durat */ + S_ST( 'o', 3, 441, 0 ), /* 754 simulation_durati */ + S_ST( 'o', 3, 756, 738 ), /* 755 s */ + S_ST( 'u', 3, 757, 0 ), /* 756 so */ + S_ST( 'r', 3, 758, 0 ), /* 757 sou */ + S_ST( 'c', 3, 403, 0 ), /* 758 sour */ + S_ST( 't', 3, 782, 755 ), /* 759 s */ + S_ST( 'a', 3, 766, 0 ), /* 760 st */ + S_ST( 'c', 3, 762, 0 ), /* 761 sta */ + S_ST( 'k', 3, 763, 0 ), /* 762 stac */ + S_ST( 's', 3, 764, 0 ), /* 763 stack */ + S_ST( 'i', 3, 765, 0 ), /* 764 stacks */ + S_ST( 'z', 3, 404, 0 ), /* 765 stacksi */ + S_ST( 't', 3, 406, 761 ), /* 766 sta */ + S_ST( 'i', 3, 768, 0 ), /* 767 stat */ + S_ST( 's', 3, 769, 0 ), /* 768 stati */ + S_ST( 't', 3, 770, 0 ), /* 769 statis */ + S_ST( 'i', 3, 771, 0 ), /* 770 statist */ + S_ST( 'c', 3, 405, 0 ), /* 771 statisti */ + S_ST( 'd', 3, 773, 0 ), /* 772 stats */ + S_ST( 'i', 3, 407, 0 ), /* 773 statsd */ + S_ST( 'e', 3, 408, 760 ), /* 774 st */ + S_ST( 'b', 3, 776, 0 ), /* 775 step */ + S_ST( 'a', 3, 777, 0 ), /* 776 stepb */ + S_ST( 'c', 3, 409, 0 ), /* 777 stepba */ + S_ST( 'f', 3, 779, 775 ), /* 778 step */ + S_ST( 'w', 3, 410, 0 ), /* 779 stepf */ + S_ST( 'o', 3, 781, 778 ), /* 780 step */ + S_ST( 'u', 3, 411, 0 ), /* 781 stepo */ + S_ST( 'r', 3, 783, 774 ), /* 782 st */ + S_ST( 'a', 3, 784, 0 ), /* 783 str */ + S_ST( 't', 3, 785, 0 ), /* 784 stra */ + S_ST( 'u', 3, 412, 0 ), /* 785 strat */ + S_ST( 'y', 3, 414, 759 ), /* 786 s */ + S_ST( 's', 3, 788, 0 ), /* 787 sys */ + S_ST( 't', 3, 789, 0 ), /* 788 syss */ + S_ST( 'a', 3, 790, 0 ), /* 789 sysst */ + S_ST( 't', 3, 415, 0 ), /* 790 syssta */ + S_ST( 't', 3, 817, 713 ), /* 791 */ + S_ST( 'i', 3, 803, 0 ), /* 792 t */ + S_ST( 'c', 3, 416, 0 ), /* 793 ti */ + S_ST( 'm', 3, 796, 793 ), /* 794 ti */ + S_ST( 'e', 3, 419, 0 ), /* 795 tim */ + S_ST( 'i', 3, 797, 795 ), /* 796 tim */ + S_ST( 'n', 3, 798, 0 ), /* 797 timi */ + S_ST( 'g', 3, 799, 0 ), /* 798 timin */ + S_ST( 's', 3, 800, 0 ), /* 799 timing */ + S_ST( 't', 3, 801, 0 ), /* 800 timings */ + S_ST( 'a', 3, 802, 0 ), /* 801 timingst */ + S_ST( 't', 3, 420, 0 ), /* 802 timingsta */ + S_ST( 'n', 3, 804, 794 ), /* 803 ti */ + S_ST( 'k', 3, 805, 0 ), /* 804 tin */ + S_ST( 'e', 3, 421, 0 ), /* 805 tink */ + S_ST( 'o', 3, 422, 792 ), /* 806 t */ + S_ST( 'r', 3, 809, 806 ), /* 807 t */ + S_ST( 'a', 3, 423, 0 ), /* 808 tr */ + S_ST( 'u', 3, 810, 808 ), /* 809 tr */ + S_ST( 's', 3, 811, 424 ), /* 810 tru */ + S_ST( 't', 3, 812, 0 ), /* 811 trus */ + S_ST( 'e', 3, 813, 0 ), /* 812 trust */ + S_ST( 'd', 3, 814, 0 ), /* 813 truste */ + S_ST( 'k', 3, 815, 0 ), /* 814 trusted */ + S_ST( 'e', 3, 425, 0 ), /* 815 trustedk */ + S_ST( 't', 3, 426, 807 ), /* 816 t */ + S_ST( 'y', 3, 818, 816 ), /* 817 t */ + S_ST( 'p', 3, 427, 0 ), /* 818 ty */ + S_ST( 'u', 3, 820, 791 ), /* 819 */ + S_ST( 'n', 3, 826, 0 ), /* 820 u */ + S_ST( 'c', 3, 822, 0 ), /* 821 un */ + S_ST( 'o', 3, 823, 0 ), /* 822 unc */ + S_ST( 'n', 3, 824, 0 ), /* 823 unco */ + S_ST( 'f', 3, 825, 0 ), /* 824 uncon */ + S_ST( 'i', 3, 429, 0 ), /* 825 unconf */ + S_ST( 'p', 3, 827, 821 ), /* 826 un */ + S_ST( 'e', 3, 828, 0 ), /* 827 unp */ + S_ST( 'e', 3, 430, 0 ), /* 828 unpe */ + S_ST( 'v', 3, 830, 819 ), /* 829 */ + S_ST( 'e', 3, 831, 0 ), /* 830 v */ + S_ST( 'r', 3, 832, 0 ), /* 831 ve */ + S_ST( 's', 3, 833, 0 ), /* 832 ver */ + S_ST( 'i', 3, 834, 0 ), /* 833 vers */ + S_ST( 'o', 3, 431, 0 ), /* 834 versi */ + S_ST( 'w', 3, 842, 829 ), /* 835 */ + S_ST( 'a', 3, 837, 0 ), /* 836 w */ + S_ST( 'n', 3, 838, 0 ), /* 837 wa */ + S_ST( 'd', 3, 839, 0 ), /* 838 wan */ + S_ST( 'e', 3, 445, 0 ), /* 839 wand */ + S_ST( 'e', 3, 841, 836 ), /* 840 w */ + S_ST( 'e', 3, 433, 0 ), /* 841 we */ + S_ST( 'i', 3, 843, 840 ), /* 842 w */ + S_ST( 'l', 3, 844, 0 ), /* 843 wi */ + S_ST( 'd', 3, 845, 0 ), /* 844 wil */ + S_ST( 'c', 3, 846, 0 ), /* 845 wild */ + S_ST( 'a', 3, 847, 0 ), /* 846 wildc */ + S_ST( 'r', 3, 434, 0 ), /* 847 wildca */ + S_ST( 'x', 3, 849, 835 ), /* 848 */ + S_ST( 'l', 3, 850, 0 ), /* 849 x */ + S_ST( 'e', 3, 851, 0 ), /* 850 xl */ + S_ST( 'a', 3, 852, 0 ), /* 851 xle */ + S_ST( 'v', 3, 435, 0 ), /* 852 xlea */ + S_ST( 'y', 3, 854, 848 ), /* 853 [initial state] */ + S_ST( 'e', 3, 855, 0 ), /* 854 y */ + S_ST( 'a', 3, 436, 0 ) /* 855 ye */ }; diff --git a/ntpd/ntp_parser.c b/ntpd/ntp_parser.c index 1e8a109db..d76ac3374 100644 --- a/ntpd/ntp_parser.c +++ b/ntpd/ntp_parser.c @@ -1,19 +1,19 @@ -/* A Bison parser, made by GNU Bison 3.0.4. */ +/* A Bison parser, made by GNU Bison 2.7.12-4996. */ /* Bison implementation for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. - + + Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see . */ @@ -26,7 +26,7 @@ special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. - + This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ @@ -44,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "3.0.4" +#define YYBISON_VERSION "2.7.12-4996" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -62,7 +62,8 @@ /* Copy the first part of user declarations. */ -#line 11 "ntp_parser.y" /* yacc.c:339 */ +/* Line 371 of yacc.c */ +#line 11 "../../ntpd/ntp_parser.y" #ifdef HAVE_CONFIG_H # include @@ -96,13 +97,14 @@ # define ONLY_SIM(a) NULL #endif -#line 100 "../../ntpd/ntp_parser.c" /* yacc.c:339 */ +/* Line 371 of yacc.c */ +#line 102 "ntp_parser.c" -# ifndef YY_NULLPTR +# ifndef YY_NULL # if defined __cplusplus && 201103L <= __cplusplus -# define YY_NULLPTR nullptr +# define YY_NULL nullptr # else -# define YY_NULLPTR 0 +# define YY_NULL 0 # endif # endif @@ -116,9 +118,9 @@ /* In a future release of Bison, this section will be replaced by #include "y.tab.h". */ -#ifndef YY_YY_Y_TAB_H_INCLUDED -# define YY_YY_Y_TAB_H_INCLUDED -/* Debug traces. */ +#ifndef YY_YY_NTP_PARSER_H_INCLUDED +# define YY_YY_NTP_PARSER_H_INCLUDED +/* Enabling traces. */ #ifndef YYDEBUG # define YYDEBUG 1 #endif @@ -126,203 +128,204 @@ extern int yydebug; #endif -/* Token type. */ +/* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE - enum yytokentype - { - T_Abbrev = 258, - T_Age = 259, - T_All = 260, - T_Allan = 261, - T_Allpeers = 262, - T_Auth = 263, - T_Autokey = 264, - T_Automax = 265, - T_Average = 266, - T_Bclient = 267, - T_Beacon = 268, - T_Broadcast = 269, - T_Broadcastclient = 270, - T_Broadcastdelay = 271, - T_Burst = 272, - T_Calibrate = 273, - T_Ceiling = 274, - T_Clockstats = 275, - T_Cohort = 276, - T_ControlKey = 277, - T_Crypto = 278, - T_Cryptostats = 279, - T_Ctl = 280, - T_Day = 281, - T_Default = 282, - T_Digest = 283, - T_Disable = 284, - T_Discard = 285, - T_Dispersion = 286, - T_Double = 287, - T_Driftfile = 288, - T_Drop = 289, - T_Dscp = 290, - T_Ellipsis = 291, - T_Enable = 292, - T_End = 293, - T_False = 294, - T_File = 295, - T_Filegen = 296, - T_Filenum = 297, - T_Flag1 = 298, - T_Flag2 = 299, - T_Flag3 = 300, - T_Flag4 = 301, - T_Flake = 302, - T_Floor = 303, - T_Freq = 304, - T_Fudge = 305, - T_Host = 306, - T_Huffpuff = 307, - T_Iburst = 308, - T_Ident = 309, - T_Ignore = 310, - T_Incalloc = 311, - T_Incmem = 312, - T_Initalloc = 313, - T_Initmem = 314, - T_Includefile = 315, - T_Integer = 316, - T_Interface = 317, - T_Intrange = 318, - T_Io = 319, - T_Ipv4 = 320, - T_Ipv4_flag = 321, - T_Ipv6 = 322, - T_Ipv6_flag = 323, - T_Kernel = 324, - T_Key = 325, - T_Keys = 326, - T_Keysdir = 327, - T_Kod = 328, - T_Mssntp = 329, - T_Leapfile = 330, - T_Leapsmearinterval = 331, - T_Limited = 332, - T_Link = 333, - T_Listen = 334, - T_Logconfig = 335, - T_Logfile = 336, - T_Loopstats = 337, - T_Lowpriotrap = 338, - T_Manycastclient = 339, - T_Manycastserver = 340, - T_Mask = 341, - T_Maxage = 342, - T_Maxclock = 343, - T_Maxdepth = 344, - T_Maxdist = 345, - T_Maxmem = 346, - T_Maxpoll = 347, - T_Mdnstries = 348, - T_Mem = 349, - T_Memlock = 350, - T_Minclock = 351, - T_Mindepth = 352, - T_Mindist = 353, - T_Minimum = 354, - T_Minpoll = 355, - T_Minsane = 356, - T_Mode = 357, - T_Mode7 = 358, - T_Monitor = 359, - T_Month = 360, - T_Mru = 361, - T_Multicastclient = 362, - T_Nic = 363, - T_Nolink = 364, - T_Nomodify = 365, - T_Nomrulist = 366, - T_None = 367, - T_Nonvolatile = 368, - T_Nopeer = 369, - T_Noquery = 370, - T_Noselect = 371, - T_Noserve = 372, - T_Notrap = 373, - T_Notrust = 374, - T_Ntp = 375, - T_Ntpport = 376, - T_NtpSignDsocket = 377, - T_Orphan = 378, - T_Orphanwait = 379, - T_Panic = 380, - T_Peer = 381, - T_Peerstats = 382, - T_Phone = 383, - T_Pid = 384, - T_Pidfile = 385, - T_Pool = 386, - T_Port = 387, - T_Preempt = 388, - T_Prefer = 389, - T_Protostats = 390, - T_Pw = 391, - T_Randfile = 392, - T_Rawstats = 393, - T_Refid = 394, - T_Requestkey = 395, - T_Reset = 396, - T_Restrict = 397, - T_Revoke = 398, - T_Rlimit = 399, - T_Saveconfigdir = 400, - T_Server = 401, - T_Setvar = 402, - T_Source = 403, - T_Stacksize = 404, - T_Statistics = 405, - T_Stats = 406, - T_Statsdir = 407, - T_Step = 408, - T_Stepback = 409, - T_Stepfwd = 410, - T_Stepout = 411, - T_Stratum = 412, - T_String = 413, - T_Sys = 414, - T_Sysstats = 415, - T_Tick = 416, - T_Time1 = 417, - T_Time2 = 418, - T_Timer = 419, - T_Timingstats = 420, - T_Tinker = 421, - T_Tos = 422, - T_Trap = 423, - T_True = 424, - T_Trustedkey = 425, - T_Ttl = 426, - T_Type = 427, - T_U_int = 428, - T_Unconfig = 429, - T_Unpeer = 430, - T_Version = 431, - T_WanderThreshold = 432, - T_Week = 433, - T_Wildcard = 434, - T_Xleave = 435, - T_Year = 436, - T_Flag = 437, - T_EOC = 438, - T_Simulate = 439, - T_Beep_Delay = 440, - T_Sim_Duration = 441, - T_Server_Offset = 442, - T_Duration = 443, - T_Freq_Offset = 444, - T_Wander = 445, - T_Jitter = 446, - T_Prop_Delay = 447, - T_Proc_Delay = 448 - }; + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + T_Abbrev = 258, + T_Age = 259, + T_All = 260, + T_Allan = 261, + T_Allpeers = 262, + T_Auth = 263, + T_Autokey = 264, + T_Automax = 265, + T_Average = 266, + T_Bclient = 267, + T_Beacon = 268, + T_Broadcast = 269, + T_Broadcastclient = 270, + T_Broadcastdelay = 271, + T_Burst = 272, + T_Calibrate = 273, + T_Ceiling = 274, + T_Clockstats = 275, + T_Cohort = 276, + T_ControlKey = 277, + T_Crypto = 278, + T_Cryptostats = 279, + T_Ctl = 280, + T_Day = 281, + T_Default = 282, + T_Digest = 283, + T_Disable = 284, + T_Discard = 285, + T_Dispersion = 286, + T_Double = 287, + T_Driftfile = 288, + T_Drop = 289, + T_Dscp = 290, + T_Ellipsis = 291, + T_Enable = 292, + T_End = 293, + T_False = 294, + T_File = 295, + T_Filegen = 296, + T_Filenum = 297, + T_Flag1 = 298, + T_Flag2 = 299, + T_Flag3 = 300, + T_Flag4 = 301, + T_Flake = 302, + T_Floor = 303, + T_Freq = 304, + T_Fudge = 305, + T_Host = 306, + T_Huffpuff = 307, + T_Iburst = 308, + T_Ident = 309, + T_Ignore = 310, + T_Incalloc = 311, + T_Incmem = 312, + T_Initalloc = 313, + T_Initmem = 314, + T_Includefile = 315, + T_Integer = 316, + T_Interface = 317, + T_Intrange = 318, + T_Io = 319, + T_Ipv4 = 320, + T_Ipv4_flag = 321, + T_Ipv6 = 322, + T_Ipv6_flag = 323, + T_Kernel = 324, + T_Key = 325, + T_Keys = 326, + T_Keysdir = 327, + T_Kod = 328, + T_Mssntp = 329, + T_Leapfile = 330, + T_Leapsmearinterval = 331, + T_Limited = 332, + T_Link = 333, + T_Listen = 334, + T_Logconfig = 335, + T_Logfile = 336, + T_Loopstats = 337, + T_Lowpriotrap = 338, + T_Manycastclient = 339, + T_Manycastserver = 340, + T_Mask = 341, + T_Maxage = 342, + T_Maxclock = 343, + T_Maxdepth = 344, + T_Maxdist = 345, + T_Maxmem = 346, + T_Maxpoll = 347, + T_Mdnstries = 348, + T_Mem = 349, + T_Memlock = 350, + T_Minclock = 351, + T_Mindepth = 352, + T_Mindist = 353, + T_Minimum = 354, + T_Minpoll = 355, + T_Minsane = 356, + T_Mode = 357, + T_Mode7 = 358, + T_Monitor = 359, + T_Month = 360, + T_Mru = 361, + T_Multicastclient = 362, + T_Nic = 363, + T_Nolink = 364, + T_Nomodify = 365, + T_Nomrulist = 366, + T_None = 367, + T_Nonvolatile = 368, + T_Nopeer = 369, + T_Noquery = 370, + T_Noselect = 371, + T_Noserve = 372, + T_Notrap = 373, + T_Notrust = 374, + T_Ntp = 375, + T_Ntpport = 376, + T_NtpSignDsocket = 377, + T_Orphan = 378, + T_Orphanwait = 379, + T_Panic = 380, + T_Peer = 381, + T_Peerstats = 382, + T_Phone = 383, + T_Pid = 384, + T_Pidfile = 385, + T_Pool = 386, + T_Port = 387, + T_Preempt = 388, + T_Prefer = 389, + T_Protostats = 390, + T_Pw = 391, + T_Randfile = 392, + T_Rawstats = 393, + T_Refid = 394, + T_Requestkey = 395, + T_Reset = 396, + T_Restrict = 397, + T_Revoke = 398, + T_Rlimit = 399, + T_Saveconfigdir = 400, + T_Server = 401, + T_Setvar = 402, + T_Source = 403, + T_Stacksize = 404, + T_Statistics = 405, + T_Stats = 406, + T_Statsdir = 407, + T_Step = 408, + T_Stepback = 409, + T_Stepfwd = 410, + T_Stepout = 411, + T_Stratum = 412, + T_String = 413, + T_Sys = 414, + T_Sysstats = 415, + T_Tick = 416, + T_Time1 = 417, + T_Time2 = 418, + T_Timer = 419, + T_Timingstats = 420, + T_Tinker = 421, + T_Tos = 422, + T_Trap = 423, + T_True = 424, + T_Trustedkey = 425, + T_Ttl = 426, + T_Type = 427, + T_U_int = 428, + T_Unconfig = 429, + T_Unpeer = 430, + T_Version = 431, + T_WanderThreshold = 432, + T_Week = 433, + T_Wildcard = 434, + T_Xleave = 435, + T_Year = 436, + T_Flag = 437, + T_EOC = 438, + T_Simulate = 439, + T_Beep_Delay = 440, + T_Sim_Duration = 441, + T_Server_Offset = 442, + T_Duration = 443, + T_Freq_Offset = 444, + T_Wander = 445, + T_Jitter = 446, + T_Prop_Delay = 447, + T_Proc_Delay = 448 + }; #endif /* Tokens. */ #define T_Abbrev 258 @@ -517,12 +520,13 @@ extern int yydebug; #define T_Prop_Delay 447 #define T_Proc_Delay 448 -/* Value type. */ -#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -union YYSTYPE + +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +typedef union YYSTYPE { -#line 51 "ntp_parser.y" /* yacc.c:355 */ +/* Line 387 of yacc.c */ +#line 51 "../../ntpd/ntp_parser.y" char * String; double Double; @@ -541,24 +545,37 @@ union YYSTYPE script_info * Sim_script; script_info_fifo * Sim_script_fifo; -#line 545 "../../ntpd/ntp_parser.c" /* yacc.c:355 */ -}; -typedef union YYSTYPE YYSTYPE; +/* Line 387 of yacc.c */ +#line 551 "ntp_parser.c" +} YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 #endif - extern YYSTYPE yylval; +#ifdef YYPARSE_PARAM +#if defined __STDC__ || defined __cplusplus +int yyparse (void *YYPARSE_PARAM); +#else +int yyparse (); +#endif +#else /* ! YYPARSE_PARAM */ +#if defined __STDC__ || defined __cplusplus int yyparse (void); +#else +int yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ -#endif /* !YY_YY_Y_TAB_H_INCLUDED */ +#endif /* !YY_YY_NTP_PARSER_H_INCLUDED */ /* Copy the second part of user declarations. */ -#line 562 "../../ntpd/ntp_parser.c" /* yacc.c:358 */ +/* Line 390 of yacc.c */ +#line 579 "ntp_parser.c" #ifdef short # undef short @@ -572,8 +589,11 @@ typedef unsigned char yytype_uint8; #ifdef YYTYPE_INT8 typedef YYTYPE_INT8 yytype_int8; -#else +#elif (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) typedef signed char yytype_int8; +#else +typedef short int yytype_int8; #endif #ifdef YYTYPE_UINT16 @@ -593,7 +613,8 @@ typedef short int yytype_int16; # define YYSIZE_T __SIZE_TYPE__ # elif defined size_t # define YYSIZE_T size_t -# elif ! defined YYSIZE_T +# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # else @@ -615,30 +636,11 @@ typedef short int yytype_int16; # endif #endif -#ifndef YY_ATTRIBUTE -# if (defined __GNUC__ \ - && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \ - || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C -# define YY_ATTRIBUTE(Spec) __attribute__(Spec) -# else -# define YY_ATTRIBUTE(Spec) /* empty */ -# endif -#endif - -#ifndef YY_ATTRIBUTE_PURE -# define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) -#endif - -#ifndef YY_ATTRIBUTE_UNUSED -# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) -#endif - -#if !defined _Noreturn \ - && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112) -# if defined _MSC_VER && 1200 <= _MSC_VER -# define _Noreturn __declspec (noreturn) -# else -# define _Noreturn YY_ATTRIBUTE ((__noreturn__)) +#ifndef __attribute__ +/* This feature is available in gcc versions 2.5 and later. */ +# if (! defined __GNUC__ || __GNUC__ < 2 \ + || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)) +# define __attribute__(Spec) /* empty */ # endif #endif @@ -649,26 +651,25 @@ typedef short int yytype_int16; # define YYUSE(E) /* empty */ #endif -#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ -/* Suppress an incorrect diagnostic about yylval being uninitialized. */ -# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ - _Pragma ("GCC diagnostic push") \ - _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\ - _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") -# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ - _Pragma ("GCC diagnostic pop") + +/* Identity function, used to suppress warnings about constant conditions. */ +#ifndef lint +# define YYID(N) (N) #else -# define YY_INITIAL_VALUE(Value) Value -#endif -#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -# define YY_IGNORE_MAYBE_UNINITIALIZED_END +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static int +YYID (int yyi) +#else +static int +YYID (yyi) + int yyi; #endif -#ifndef YY_INITIAL_VALUE -# define YY_INITIAL_VALUE(Value) /* Nothing. */ +{ + return yyi; +} #endif - #if ! defined yyoverflow || YYERROR_VERBOSE /* The parser invokes alloca or malloc; define the necessary symbols. */ @@ -686,7 +687,8 @@ typedef short int yytype_int16; # define alloca _alloca # else # define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ /* Use EXIT_SUCCESS as a witness for stdlib.h. */ # ifndef EXIT_SUCCESS @@ -698,8 +700,8 @@ typedef short int yytype_int16; # endif # ifdef YYSTACK_ALLOC - /* Pacify GCC's 'empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) # ifndef YYSTACK_ALLOC_MAXIMUM /* The OS might guarantee only one guard page at the bottom of the stack, and a page size can be as small as 4096 bytes. So we cannot safely @@ -715,7 +717,7 @@ typedef short int yytype_int16; # endif # if (defined __cplusplus && ! defined EXIT_SUCCESS \ && ! ((defined YYMALLOC || defined malloc) \ - && (defined YYFREE || defined free))) + && (defined YYFREE || defined free))) # include /* INFRINGES ON USER NAME SPACE */ # ifndef EXIT_SUCCESS # define EXIT_SUCCESS 0 @@ -723,13 +725,15 @@ typedef short int yytype_int16; # endif # ifndef YYMALLOC # define YYMALLOC malloc -# if ! defined malloc && ! defined EXIT_SUCCESS +# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ # endif # endif # ifndef YYFREE # define YYFREE free -# if ! defined free && ! defined EXIT_SUCCESS +# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) void free (void *); /* INFRINGES ON USER NAME SPACE */ # endif # endif @@ -739,7 +743,7 @@ void free (void *); /* INFRINGES ON USER NAME SPACE */ #if (! defined yyoverflow \ && (! defined __cplusplus \ - || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc @@ -764,16 +768,16 @@ union yyalloc elements in the stack, and YYPTR gives the new location of the stack. Advance YYPTR to a properly aligned location for the next stack. */ -# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ - do \ - { \ - YYSIZE_T yynewbytes; \ - YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ - Stack = &yyptr->Stack_alloc; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ - yyptr += yynewbytes / sizeof (*yyptr); \ - } \ - while (0) +# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ + do \ + { \ + YYSIZE_T yynewbytes; \ + YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ + Stack = &yyptr->Stack_alloc; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / sizeof (*yyptr); \ + } \ + while (YYID (0)) #endif @@ -792,7 +796,7 @@ union yyalloc for (yyi = 0; yyi < (Count); yyi++) \ (Dst)[yyi] = (Src)[yyi]; \ } \ - while (0) + while (YYID (0)) # endif # endif #endif /* !YYCOPY_NEEDED */ @@ -808,19 +812,17 @@ union yyalloc #define YYNNTS 105 /* YYNRULES -- Number of rules. */ #define YYNRULES 313 -/* YYNSTATES -- Number of states. */ +/* YYNRULES -- Number of states. */ #define YYNSTATES 419 -/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned - by yylex, with out-of-bounds checking. */ +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 448 -#define YYTRANSLATE(YYX) \ +#define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) -/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM - as returned by yylex, without out-of-bounds checking. */ +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ static const yytype_uint8 yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -871,7 +873,127 @@ static const yytype_uint8 yytranslate[] = }; #if YYDEBUG - /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in + YYRHS. */ +static const yytype_uint16 yyprhs[] = +{ + 0, 0, 3, 5, 9, 12, 15, 16, 18, 20, + 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, + 42, 46, 48, 50, 52, 54, 56, 58, 61, 63, + 65, 67, 68, 71, 73, 75, 77, 79, 81, 83, + 85, 87, 89, 91, 93, 95, 98, 101, 103, 105, + 107, 109, 111, 113, 116, 118, 121, 123, 125, 127, + 130, 133, 136, 139, 142, 145, 148, 151, 154, 157, + 160, 163, 164, 167, 170, 173, 175, 177, 179, 181, + 183, 186, 189, 191, 194, 197, 200, 202, 204, 206, + 208, 210, 212, 214, 216, 218, 220, 223, 226, 230, + 233, 235, 237, 239, 241, 243, 245, 247, 249, 251, + 252, 255, 258, 261, 263, 265, 267, 269, 271, 273, + 275, 277, 279, 281, 283, 285, 287, 290, 293, 297, + 303, 307, 312, 317, 321, 322, 325, 327, 329, 331, + 333, 335, 337, 339, 341, 343, 345, 347, 349, 351, + 353, 355, 358, 360, 363, 365, 367, 369, 372, 374, + 377, 379, 381, 383, 385, 387, 389, 391, 393, 397, + 400, 402, 405, 408, 411, 414, 417, 419, 421, 423, + 425, 427, 429, 432, 435, 437, 440, 442, 444, 446, + 449, 452, 455, 457, 459, 461, 463, 465, 467, 469, + 471, 473, 475, 477, 480, 483, 485, 488, 490, 492, + 494, 496, 498, 500, 502, 504, 506, 508, 510, 512, + 515, 518, 521, 524, 528, 530, 533, 536, 539, 542, + 546, 549, 551, 553, 555, 557, 559, 561, 563, 565, + 567, 569, 571, 574, 575, 580, 582, 583, 584, 587, + 590, 593, 596, 598, 600, 604, 608, 610, 612, 614, + 616, 618, 620, 622, 624, 626, 629, 632, 634, 636, + 638, 640, 642, 644, 646, 648, 651, 653, 656, 658, + 660, 662, 668, 671, 673, 676, 678, 680, 682, 684, + 686, 688, 694, 696, 700, 703, 707, 709, 711, 714, + 716, 722, 727, 731, 734, 736, 743, 747, 750, 754, + 756, 758, 760, 762 +}; + +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const yytype_int16 yyrhs[] = +{ + 200, 0, -1, 201, -1, 201, 202, 183, -1, 202, + 183, -1, 1, 183, -1, -1, 203, -1, 216, -1, + 218, -1, 219, -1, 228, -1, 236, -1, 223, -1, + 245, -1, 250, -1, 254, -1, 259, -1, 263, -1, + 290, -1, 204, 205, 208, -1, 146, -1, 131, -1, + 126, -1, 14, -1, 84, -1, 206, -1, 207, 158, + -1, 158, -1, 66, -1, 68, -1, -1, 208, 209, + -1, 210, -1, 212, -1, 214, -1, 211, -1, 9, + -1, 17, -1, 53, -1, 116, -1, 133, -1, 134, + -1, 169, -1, 180, -1, 213, 61, -1, 213, 173, + -1, 70, -1, 100, -1, 92, -1, 171, -1, 102, + -1, 176, -1, 215, 158, -1, 54, -1, 217, 205, + -1, 174, -1, 175, -1, 15, -1, 85, 287, -1, + 107, 287, -1, 93, 61, -1, 10, 61, -1, 22, + 61, -1, 23, 220, -1, 71, 158, -1, 72, 158, + -1, 140, 61, -1, 143, 61, -1, 170, 283, -1, + 122, 158, -1, -1, 220, 221, -1, 222, 158, -1, + 143, 61, -1, 51, -1, 54, -1, 136, -1, 137, + -1, 28, -1, 167, 224, -1, 224, 225, -1, 225, + -1, 226, 61, -1, 227, 289, -1, 21, 288, -1, + 19, -1, 48, -1, 123, -1, 124, -1, 101, -1, + 13, -1, 98, -1, 90, -1, 96, -1, 88, -1, + 150, 229, -1, 152, 158, -1, 41, 230, 231, -1, + 229, 230, -1, 230, -1, 20, -1, 24, -1, 82, + -1, 127, -1, 138, -1, 160, -1, 165, -1, 135, + -1, -1, 231, 232, -1, 40, 158, -1, 172, 235, + -1, 233, -1, 234, -1, 78, -1, 109, -1, 37, + -1, 29, -1, 112, -1, 129, -1, 26, -1, 178, + -1, 105, -1, 181, -1, 4, -1, 30, 239, -1, + 106, 242, -1, 142, 205, 237, -1, 142, 206, 86, + 206, 237, -1, 142, 27, 237, -1, 142, 66, 27, + 237, -1, 142, 68, 27, 237, -1, 142, 148, 237, + -1, -1, 237, 238, -1, 47, -1, 55, -1, 73, + -1, 74, -1, 77, -1, 83, -1, 110, -1, 111, + -1, 114, -1, 115, -1, 117, -1, 118, -1, 119, + -1, 121, -1, 176, -1, 239, 240, -1, 240, -1, + 241, 61, -1, 11, -1, 99, -1, 104, -1, 242, + 243, -1, 243, -1, 244, 61, -1, 56, -1, 57, + -1, 58, -1, 59, -1, 87, -1, 89, -1, 91, + -1, 97, -1, 50, 205, 246, -1, 246, 247, -1, + 247, -1, 248, 289, -1, 249, 288, -1, 157, 61, + -1, 3, 158, -1, 139, 158, -1, 162, -1, 163, + -1, 43, -1, 44, -1, 45, -1, 46, -1, 144, + 251, -1, 251, 252, -1, 252, -1, 253, 61, -1, + 95, -1, 149, -1, 42, -1, 37, 255, -1, 29, + 255, -1, 255, 256, -1, 256, -1, 257, -1, 258, + -1, 8, -1, 12, -1, 18, -1, 69, -1, 104, + -1, 120, -1, 103, -1, 151, -1, 166, 260, -1, + 260, 261, -1, 261, -1, 262, 289, -1, 6, -1, + 31, -1, 49, -1, 52, -1, 125, -1, 153, -1, + 154, -1, 155, -1, 156, -1, 161, -1, 275, -1, + 279, -1, 264, 289, -1, 265, 61, -1, 266, 158, + -1, 267, 158, -1, 60, 158, 202, -1, 38, -1, + 33, 268, -1, 80, 273, -1, 128, 286, -1, 147, + 269, -1, 168, 206, 271, -1, 171, 282, -1, 16, + -1, 113, -1, 161, -1, 35, -1, 76, -1, 54, + -1, 75, -1, 130, -1, 81, -1, 145, -1, 158, + -1, 158, 32, -1, -1, 158, 194, 158, 270, -1, + 27, -1, -1, -1, 271, 272, -1, 132, 61, -1, + 62, 206, -1, 273, 274, -1, 274, -1, 158, -1, + 276, 278, 277, -1, 276, 278, 158, -1, 62, -1, + 108, -1, 5, -1, 65, -1, 67, -1, 179, -1, + 79, -1, 55, -1, 34, -1, 141, 280, -1, 280, + 281, -1, 281, -1, 7, -1, 8, -1, 25, -1, + 64, -1, 94, -1, 159, -1, 164, -1, 282, 61, + -1, 61, -1, 283, 284, -1, 284, -1, 61, -1, + 285, -1, 195, 61, 36, 61, 196, -1, 286, 158, + -1, 158, -1, 287, 205, -1, 205, -1, 61, -1, + 169, -1, 39, -1, 61, -1, 32, -1, 291, 197, + 292, 295, 198, -1, 184, -1, 292, 293, 183, -1, + 293, 183, -1, 294, 194, 289, -1, 185, -1, 186, + -1, 295, 296, -1, 296, -1, 298, 197, 297, 299, + 198, -1, 187, 194, 289, 183, -1, 146, 194, 205, + -1, 299, 300, -1, 300, -1, 188, 194, 289, 197, + 301, 198, -1, 301, 302, 183, -1, 302, 183, -1, + 303, 194, 289, -1, 189, -1, 190, -1, 191, -1, + 192, -1, 193, -1 +}; + +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { 0, 366, 366, 370, 371, 372, 387, 388, 389, 390, @@ -897,15 +1019,15 @@ static const yytype_uint16 yyrline[] = 1073, 1077, 1078, 1086, 1091, 1096, 1104, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1127, 1128, 1129, 1136, 1143, 1150, 1166, 1185, 1187, 1189, 1191, 1193, 1195, - 1202, 1207, 1208, 1209, 1213, 1217, 1221, 1222, 1223, 1227, - 1228, 1232, 1239, 1249, 1258, 1263, 1265, 1270, 1271, 1279, - 1281, 1289, 1294, 1302, 1327, 1334, 1344, 1345, 1349, 1350, - 1351, 1352, 1356, 1357, 1358, 1362, 1367, 1372, 1380, 1381, - 1382, 1383, 1384, 1385, 1386, 1396, 1401, 1409, 1414, 1422, - 1424, 1428, 1433, 1438, 1446, 1451, 1459, 1468, 1469, 1473, - 1474, 1483, 1501, 1505, 1510, 1518, 1523, 1524, 1528, 1533, - 1541, 1546, 1551, 1556, 1561, 1569, 1574, 1579, 1587, 1592, - 1593, 1594, 1595, 1596 + 1202, 1207, 1208, 1209, 1213, 1217, 1226, 1227, 1228, 1232, + 1233, 1237, 1244, 1254, 1263, 1268, 1270, 1275, 1276, 1284, + 1286, 1294, 1299, 1307, 1332, 1339, 1349, 1350, 1354, 1355, + 1356, 1357, 1361, 1362, 1363, 1367, 1372, 1377, 1385, 1386, + 1387, 1388, 1389, 1390, 1391, 1401, 1406, 1414, 1419, 1427, + 1429, 1433, 1438, 1443, 1451, 1456, 1464, 1473, 1474, 1478, + 1479, 1488, 1506, 1510, 1515, 1523, 1528, 1529, 1533, 1538, + 1546, 1551, 1556, 1561, 1566, 1574, 1579, 1584, 1592, 1597, + 1598, 1599, 1600, 1601 }; #endif @@ -983,13 +1105,13 @@ static const char *const yytname[] = "sim_init_statement_list", "sim_init_statement", "sim_init_keyword", "sim_server_list", "sim_server", "sim_server_offset", "sim_server_name", "sim_act_list", "sim_act", "sim_act_stmt_list", "sim_act_stmt", - "sim_act_keyword", YY_NULLPTR + "sim_act_keyword", YY_NULL }; #endif # ifdef YYPRINT -/* YYTOKNUM[NUM] -- (External) token number corresponding to the - (internal) symbol number NUM (which must be that of a token). */ +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to + token YYLEX-NUM. */ static const yytype_uint16 yytoknum[] = { 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, @@ -1015,67 +1137,83 @@ static const yytype_uint16 yytoknum[] = }; # endif -#define YYPACT_NINF -185 - -#define yypact_value_is_default(Yystate) \ - (!!((Yystate) == (-185))) - -#define YYTABLE_NINF -7 - -#define yytable_value_is_error(Yytable_value) \ - 0 +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const yytype_uint16 yyr1[] = +{ + 0, 199, 200, 201, 201, 201, 202, 202, 202, 202, + 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, + 203, 204, 204, 204, 204, 204, 205, 205, 206, 207, + 207, 208, 208, 209, 209, 209, 210, 211, 211, 211, + 211, 211, 211, 211, 211, 212, 212, 213, 213, 213, + 213, 213, 213, 214, 215, 216, 217, 217, 218, 218, + 218, 218, 219, 219, 219, 219, 219, 219, 219, 219, + 219, 220, 220, 221, 221, 222, 222, 222, 222, 222, + 223, 224, 224, 225, 225, 225, 226, 226, 226, 226, + 226, 226, 227, 227, 227, 227, 228, 228, 228, 229, + 229, 230, 230, 230, 230, 230, 230, 230, 230, 231, + 231, 232, 232, 232, 232, 233, 233, 234, 234, 235, + 235, 235, 235, 235, 235, 235, 236, 236, 236, 236, + 236, 236, 236, 236, 237, 237, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 239, 239, 240, 241, 241, 241, 242, 242, 243, + 244, 244, 244, 244, 244, 244, 244, 244, 245, 246, + 246, 247, 247, 247, 247, 247, 248, 248, 249, 249, + 249, 249, 250, 251, 251, 252, 253, 253, 253, 254, + 254, 255, 255, 256, 256, 257, 257, 257, 257, 257, + 257, 258, 258, 259, 260, 260, 261, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 263, 263, 263, + 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, + 263, 264, 264, 264, 265, 265, 266, 266, 266, 267, + 267, 268, 268, 268, 269, 270, 270, 271, 271, 272, + 272, 273, 273, 274, 275, 275, 276, 276, 277, 277, + 277, 277, 278, 278, 278, 279, 280, 280, 281, 281, + 281, 281, 281, 281, 281, 282, 282, 283, 283, 284, + 284, 285, 286, 286, 287, 287, 288, 288, 288, 289, + 289, 290, 291, 292, 292, 293, 294, 294, 295, 295, + 296, 297, 298, 299, 299, 300, 301, 301, 302, 303, + 303, 303, 303, 303 +}; - /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing - STATE-NUM. */ -static const yytype_int16 yypact[] = +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ +static const yytype_uint8 yyr2[] = { - 78, -169, -34, -185, -185, -185, -29, -185, 17, 43, - -124, -185, 17, -185, -5, -27, -185, -121, -185, -112, - -110, -185, -185, -100, -185, -185, -27, 0, 116, -27, - -185, -185, -91, -185, -89, -185, -185, 11, 35, 30, - 13, 31, -185, -185, -83, -5, -78, -185, 186, 523, - -76, -56, 15, -185, -185, -185, 83, 244, -99, -185, - -27, -185, -27, -185, -185, -185, -185, -185, -185, -185, - -185, -185, -185, -12, 24, -71, -69, -185, -11, -185, - -185, -107, -185, -185, -185, 8, -185, -185, -185, -185, - -185, -185, -185, -185, 17, -185, -185, -185, -185, -185, - -185, 43, -185, 34, 59, -185, 17, -185, -185, -185, - -185, -185, -185, -185, -185, -185, -185, -185, -185, 7, - -185, -61, 407, -185, -185, -185, -100, -185, -185, -27, - -185, -185, -185, -185, -185, -185, -185, -185, -185, 116, - -185, 44, -27, -185, -185, -52, -185, -185, -185, -185, - -185, -185, -185, -185, 35, -185, -185, 85, 96, -185, - -185, 39, -185, -185, -185, -185, 31, -185, 75, -46, - -185, -5, -185, -185, -185, -185, -185, -185, -185, -185, - -185, -185, -185, -185, 186, -185, -12, -185, -185, -35, - -185, -185, -185, -185, -185, -185, -185, -185, 523, -185, - 82, -12, -185, -185, 91, -56, -185, -185, -185, 100, - -185, -26, -185, -185, -185, -185, -185, -185, -185, -185, - -185, -185, -185, -185, -2, -130, -185, -185, -185, -185, - -185, 105, -185, 9, -185, -185, -185, -185, -7, 18, - -185, -185, -185, -185, 25, 121, -185, -185, 7, -185, - -12, -35, -185, -185, -185, -185, -185, -185, -185, -185, - 391, -185, -185, 391, 391, -76, -185, -185, 29, -185, - -185, -185, -185, -185, -185, -185, -185, -185, -185, -51, - 153, -185, -185, -185, 464, -185, -185, -185, -185, -185, - -185, -185, -185, -82, 14, 1, -185, -185, -185, -185, - 38, -185, -185, 12, -185, -185, -185, -185, -185, -185, - -185, -185, -185, -185, -185, -185, -185, -185, -185, -185, - -185, -185, -185, -185, -185, -185, -185, -185, -185, 391, - 391, -185, 171, -76, 140, -185, 141, -185, -185, -185, - -185, -185, -185, -185, -185, -185, -185, -185, -185, -185, - -185, -185, -185, -185, -185, -185, -55, -185, 53, 20, - 33, -128, -185, 32, -185, -12, -185, -185, -185, -185, - -185, -185, -185, -185, -185, 391, -185, -185, -185, -185, - 16, -185, -185, -185, -27, -185, -185, -185, 46, -185, - -185, -185, 37, 48, -12, 40, -167, -185, 54, -12, - -185, -185, -185, 45, 79, -185, -185, -185, -185, -185, - 98, 57, 47, -185, 60, -185, -12, -185, -185 + 0, 2, 1, 3, 2, 2, 0, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 3, 1, 1, 1, 1, 1, 1, 2, 1, 1, + 1, 0, 2, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, + 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 0, 2, 2, 2, 1, 1, 1, 1, 1, + 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 2, 2, 3, 2, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 2, 2, 3, 5, + 3, 4, 4, 3, 0, 2, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, + 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, + 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, + 1, 1, 2, 2, 1, 2, 1, 1, 1, 2, + 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 2, 2, 1, 2, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, + 2, 2, 2, 3, 1, 2, 2, 2, 2, 3, + 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 2, 0, 4, 1, 0, 0, 2, 2, + 2, 2, 1, 1, 3, 3, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, + 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, + 1, 5, 2, 1, 2, 1, 1, 1, 1, 1, + 1, 5, 1, 3, 2, 3, 1, 1, 2, 1, + 5, 4, 3, 2, 1, 6, 3, 2, 3, 1, + 1, 1, 1, 1 }; - /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. - Performed when YYTABLE does not specify something else to do. Zero - means the default is an error. */ +/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE doesn't specify something else to do. Zero + means the default is an error. */ static const yytype_uint16 yydefact[] = { 0, 0, 0, 24, 58, 231, 0, 71, 0, 0, @@ -1122,23 +1260,7 @@ static const yytype_uint16 yydefact[] = 0, 0, 0, 305, 0, 307, 0, 306, 308 }; - /* YYPGOTO[NTERM-NUM]. */ -static const yytype_int16 yypgoto[] = -{ - -185, -185, -185, -44, -185, -185, -15, -38, -185, -185, - -185, -185, -185, -185, -185, -185, -185, -185, -185, -185, - -185, -185, -185, -185, -185, -185, 28, -185, -185, -185, - -185, -36, -185, -185, -185, -185, -185, -185, -152, -185, - -185, 146, -185, -185, 111, -185, -185, -185, 3, -185, - -185, -185, -185, 89, -185, -185, 245, -66, -185, -185, - -185, -185, 72, -185, -185, -185, -185, -185, -185, -185, - -185, -185, -185, -185, -185, 137, -185, -185, -185, -185, - -185, -185, 110, -185, -185, 70, -185, -185, 236, 27, - -184, -185, -185, -185, -17, -185, -185, -81, -185, -185, - -185, -113, -185, -126, -185 -}; - - /* YYDEFGOTO[NTERM-NUM]. */ +/* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { -1, 56, 57, 58, 59, 60, 128, 120, 121, 284, @@ -1154,9 +1276,75 @@ static const yytype_int16 yydefgoto[] = 396, 397, 410, 411, 412 }; - /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If - positive, shift that token. If negative, reduce the rule whose - number is the opposite. If YYTABLE_NINF, syntax error. */ +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -185 +static const yytype_int16 yypact[] = +{ + 78, -169, -34, -185, -185, -185, -29, -185, 17, 43, + -124, -185, 17, -185, -5, -27, -185, -121, -185, -112, + -110, -185, -185, -100, -185, -185, -27, 0, 116, -27, + -185, -185, -91, -185, -89, -185, -185, 11, 35, 30, + 13, 31, -185, -185, -83, -5, -78, -185, 186, 523, + -76, -56, 15, -185, -185, -185, 83, 244, -99, -185, + -27, -185, -27, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -12, 24, -71, -69, -185, -11, -185, + -185, -107, -185, -185, -185, 8, -185, -185, -185, -185, + -185, -185, -185, -185, 17, -185, -185, -185, -185, -185, + -185, 43, -185, 34, 59, -185, 17, -185, -185, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, 7, + -185, -61, 407, -185, -185, -185, -100, -185, -185, -27, + -185, -185, -185, -185, -185, -185, -185, -185, -185, 116, + -185, 44, -27, -185, -185, -52, -185, -185, -185, -185, + -185, -185, -185, -185, 35, -185, -185, 85, 96, -185, + -185, 39, -185, -185, -185, -185, 31, -185, 75, -46, + -185, -5, -185, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, 186, -185, -12, -185, -185, -35, + -185, -185, -185, -185, -185, -185, -185, -185, 523, -185, + 82, -12, -185, -185, 91, -56, -185, -185, -185, 100, + -185, -26, -185, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -2, -130, -185, -185, -185, -185, + -185, 105, -185, 9, -185, -185, -185, -185, -7, 18, + -185, -185, -185, -185, 25, 121, -185, -185, 7, -185, + -12, -35, -185, -185, -185, -185, -185, -185, -185, -185, + 391, -185, -185, 391, 391, -76, -185, -185, 29, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, -51, + 153, -185, -185, -185, 464, -185, -185, -185, -185, -185, + -185, -185, -185, -82, 14, 1, -185, -185, -185, -185, + 38, -185, -185, 12, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, 391, + 391, -185, 171, -76, 140, -185, 141, -185, -185, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -185, -185, -55, -185, 53, 20, + 33, -128, -185, 32, -185, -12, -185, -185, -185, -185, + -185, -185, -185, -185, -185, 391, -185, -185, -185, -185, + 16, -185, -185, -185, -27, -185, -185, -185, 46, -185, + -185, -185, 37, 48, -12, 40, -167, -185, 54, -12, + -185, -185, -185, 45, 79, -185, -185, -185, -185, -185, + 98, 57, 47, -185, 60, -185, -12, -185, -185 +}; + +/* YYPGOTO[NTERM-NUM]. */ +static const yytype_int16 yypgoto[] = +{ + -185, -185, -185, -44, -185, -185, -15, -38, -185, -185, + -185, -185, -185, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -185, -185, 28, -185, -185, -185, + -185, -36, -185, -185, -185, -185, -185, -185, -152, -185, + -185, 146, -185, -185, 111, -185, -185, -185, 3, -185, + -185, -185, -185, 89, -185, -185, 245, -66, -185, -185, + -185, -185, 72, -185, -185, -185, -185, -185, -185, -185, + -185, -185, -185, -185, -185, 137, -185, -185, -185, -185, + -185, -185, 110, -185, -185, 70, -185, -185, 236, 27, + -184, -185, -185, -185, -17, -185, -185, -81, -185, -185, + -185, -113, -185, -126, -185 +}; + +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule which + number is the opposite. If YYTABLE_NINF, syntax error. */ +#define YYTABLE_NINF -7 static const yytype_int16 yytable[] = { 119, 161, 271, 285, 272, 203, 381, 263, 264, 172, @@ -1226,6 +1414,12 @@ static const yytype_int16 yytable[] = 350, 0, 0, 0, 351, 0, 196, 197 }; +#define yypact_value_is_default(Yystate) \ + (!!((Yystate) == (-185))) + +#define yytable_value_is_error(Yytable_value) \ + YYID (0) + static const yytype_int16 yycheck[] = { 15, 39, 186, 5, 39, 61, 61, 159, 160, 45, @@ -1295,8 +1489,8 @@ static const yytype_int16 yycheck[] = 176, -1, -1, -1, 180, -1, 123, 124 }; - /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing - symbol of state STATE-NUM. */ +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ static const yytype_uint16 yystos[] = { 0, 1, 10, 14, 15, 16, 22, 23, 29, 30, @@ -1343,90 +1537,30 @@ static const yytype_uint16 yystos[] = 301, 302, 303, 198, 302, 183, 194, 183, 289 }; - /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const yytype_uint16 yyr1[] = -{ - 0, 199, 200, 201, 201, 201, 202, 202, 202, 202, - 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, - 203, 204, 204, 204, 204, 204, 205, 205, 206, 207, - 207, 208, 208, 209, 209, 209, 210, 211, 211, 211, - 211, 211, 211, 211, 211, 212, 212, 213, 213, 213, - 213, 213, 213, 214, 215, 216, 217, 217, 218, 218, - 218, 218, 219, 219, 219, 219, 219, 219, 219, 219, - 219, 220, 220, 221, 221, 222, 222, 222, 222, 222, - 223, 224, 224, 225, 225, 225, 226, 226, 226, 226, - 226, 226, 227, 227, 227, 227, 228, 228, 228, 229, - 229, 230, 230, 230, 230, 230, 230, 230, 230, 231, - 231, 232, 232, 232, 232, 233, 233, 234, 234, 235, - 235, 235, 235, 235, 235, 235, 236, 236, 236, 236, - 236, 236, 236, 236, 237, 237, 238, 238, 238, 238, - 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, - 238, 239, 239, 240, 241, 241, 241, 242, 242, 243, - 244, 244, 244, 244, 244, 244, 244, 244, 245, 246, - 246, 247, 247, 247, 247, 247, 248, 248, 249, 249, - 249, 249, 250, 251, 251, 252, 253, 253, 253, 254, - 254, 255, 255, 256, 256, 257, 257, 257, 257, 257, - 257, 258, 258, 259, 260, 260, 261, 262, 262, 262, - 262, 262, 262, 262, 262, 262, 262, 263, 263, 263, - 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, - 263, 264, 264, 264, 265, 265, 266, 266, 266, 267, - 267, 268, 268, 268, 269, 270, 270, 271, 271, 272, - 272, 273, 273, 274, 275, 275, 276, 276, 277, 277, - 277, 277, 278, 278, 278, 279, 280, 280, 281, 281, - 281, 281, 281, 281, 281, 282, 282, 283, 283, 284, - 284, 285, 286, 286, 287, 287, 288, 288, 288, 289, - 289, 290, 291, 292, 292, 293, 294, 294, 295, 295, - 296, 297, 298, 299, 299, 300, 301, 301, 302, 303, - 303, 303, 303, 303 -}; - - /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */ -static const yytype_uint8 yyr2[] = -{ - 0, 2, 1, 3, 2, 2, 0, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 3, 1, 1, 1, 1, 1, 1, 2, 1, 1, - 1, 0, 2, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, - 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 0, 2, 2, 2, 1, 1, 1, 1, 1, - 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 2, 2, 3, 2, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, - 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 2, 2, 3, 5, - 3, 4, 4, 3, 0, 2, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, - 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, - 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, - 1, 1, 2, 2, 1, 2, 1, 1, 1, 2, - 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 2, 2, 1, 2, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, - 2, 2, 2, 3, 1, 2, 2, 2, 2, 3, - 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 2, 0, 4, 1, 0, 0, 2, 2, - 2, 2, 1, 1, 3, 3, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, - 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, - 1, 5, 2, 1, 2, 1, 1, 1, 1, 1, - 1, 5, 1, 3, 2, 3, 1, 1, 2, 1, - 5, 4, 3, 2, 1, 6, 3, 2, 3, 1, - 1, 1, 1, 1 -}; - - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY (-2) -#define YYEOF 0 - -#define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrorlab - +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) +#define YYEMPTY (-2) +#define YYEOF 0 + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrorlab + + +/* Like YYERROR except do call yyerror. This remains here temporarily + to ease the transition to the new meaning of YYERROR, for GCC. + Once GCC version 2 has supplanted version 1, this can go. However, + YYFAIL appears to be in use. Nevertheless, it is formally deprecated + in Bison 2.4.2's NEWS entry, where a plan to phase it out is + discussed. */ + +#define YYFAIL goto yyerrlab +#if defined YYFAIL + /* This is here to suppress warnings from the GCC cpp's + -Wunused-macros. Normally we don't worry about that warning, but + some users do, and we want to make it easy for users to remove + YYFAIL uses, which will produce warnings from Bison 2.5. */ +#endif #define YYRECOVERING() (!!yyerrstatus) @@ -1443,15 +1577,27 @@ do \ else \ { \ yyerror (YY_("syntax error: cannot back up")); \ - YYERROR; \ - } \ -while (0) + YYERROR; \ + } \ +while (YYID (0)) /* Error token number */ -#define YYTERROR 1 -#define YYERRCODE 256 +#define YYTERROR 1 +#define YYERRCODE 256 +/* This macro is provided for backward compatibility. */ +#ifndef YY_LOCATION_PRINT +# define YY_LOCATION_PRINT(File, Loc) ((void) 0) +#endif + + +/* YYLEX -- calling `yylex' with the right arguments. */ +#ifdef YYLEX_PARAM +# define YYLEX yylex (YYLEX_PARAM) +#else +# define YYLEX yylex () +#endif /* Enable debugging if requested. */ #if YYDEBUG @@ -1461,36 +1607,40 @@ while (0) # define YYFPRINTF fprintf # endif -# define YYDPRINTF(Args) \ -do { \ - if (yydebug) \ - YYFPRINTF Args; \ -} while (0) - -/* This macro is provided for backward compatibility. */ -#ifndef YY_LOCATION_PRINT -# define YY_LOCATION_PRINT(File, Loc) ((void) 0) -#endif +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (YYID (0)) +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yy_symbol_print (stderr, \ + Type, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (YYID (0)) -# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ -do { \ - if (yydebug) \ - { \ - YYFPRINTF (stderr, "%s ", Title); \ - yy_symbol_print (stderr, \ - Type, Value); \ - YYFPRINTF (stderr, "\n"); \ - } \ -} while (0) +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ -/*----------------------------------------. -| Print this symbol's value on YYOUTPUT. | -`----------------------------------------*/ - +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_value_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; +#endif { FILE *yyo = yyoutput; YYUSE (yyo); @@ -1499,6 +1649,8 @@ yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvalue # ifdef YYPRINT if (yytype < YYNTOKENS) YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# else + YYUSE (yyoutput); # endif YYUSE (yytype); } @@ -1508,11 +1660,22 @@ yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvalue | Print this symbol on YYOUTPUT. | `--------------------------------*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; +#endif { - YYFPRINTF (yyoutput, "%s %s (", - yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]); + if (yytype < YYNTOKENS) + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); yy_symbol_value_print (yyoutput, yytype, yyvaluep); YYFPRINTF (yyoutput, ")"); @@ -1523,8 +1686,16 @@ yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) | TOP (included). | `------------------------------------------------------------------*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) +#else +static void +yy_stack_print (yybottom, yytop) + yytype_int16 *yybottom; + yytype_int16 *yytop; +#endif { YYFPRINTF (stderr, "Stack now"); for (; yybottom <= yytop; yybottom++) @@ -1535,42 +1706,49 @@ yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) YYFPRINTF (stderr, "\n"); } -# define YY_STACK_PRINT(Bottom, Top) \ -do { \ - if (yydebug) \ - yy_stack_print ((Bottom), (Top)); \ -} while (0) +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (YYID (0)) /*------------------------------------------------. | Report that the YYRULE is going to be reduced. | `------------------------------------------------*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_reduce_print (YYSTYPE *yyvsp, int yyrule) +#else static void -yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule) +yy_reduce_print (yyvsp, yyrule) + YYSTYPE *yyvsp; + int yyrule; +#endif { - unsigned long int yylno = yyrline[yyrule]; int yynrhs = yyr2[yyrule]; int yyi; + unsigned long int yylno = yyrline[yyrule]; YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", - yyrule - 1, yylno); + yyrule - 1, yylno); /* The symbols being reduced. */ for (yyi = 0; yyi < yynrhs; yyi++) { YYFPRINTF (stderr, " $%d = ", yyi + 1); - yy_symbol_print (stderr, - yystos[yyssp[yyi + 1 - yynrhs]], - &(yyvsp[(yyi + 1) - (yynrhs)]) - ); + yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], + &(yyvsp[(yyi + 1) - (yynrhs)]) + ); YYFPRINTF (stderr, "\n"); } } -# define YY_REDUCE_PRINT(Rule) \ -do { \ - if (yydebug) \ - yy_reduce_print (yyssp, yyvsp, Rule); \ -} while (0) +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (yyvsp, Rule); \ +} while (YYID (0)) /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ @@ -1584,7 +1762,7 @@ int yydebug; /* YYINITDEPTH -- initial size of the parser's stacks. */ -#ifndef YYINITDEPTH +#ifndef YYINITDEPTH # define YYINITDEPTH 200 #endif @@ -1607,8 +1785,15 @@ int yydebug; # define yystrlen strlen # else /* Return the length of YYSTR. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static YYSIZE_T yystrlen (const char *yystr) +#else +static YYSIZE_T +yystrlen (yystr) + const char *yystr; +#endif { YYSIZE_T yylen; for (yylen = 0; yystr[yylen]; yylen++) @@ -1624,8 +1809,16 @@ yystrlen (const char *yystr) # else /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in YYDEST. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static char * yystpcpy (char *yydest, const char *yysrc) +#else +static char * +yystpcpy (yydest, yysrc) + char *yydest; + const char *yysrc; +#endif { char *yyd = yydest; const char *yys = yysrc; @@ -1655,27 +1848,27 @@ yytnamerr (char *yyres, const char *yystr) char const *yyp = yystr; for (;;) - switch (*++yyp) - { - case '\'': - case ',': - goto do_not_strip_quotes; - - case '\\': - if (*++yyp != '\\') - goto do_not_strip_quotes; - /* Fall through. */ - default: - if (yyres) - yyres[yyn] = *yyp; - yyn++; - break; - - case '"': - if (yyres) - yyres[yyn] = '\0'; - return yyn; - } + switch (*++yyp) + { + case '\'': + case ',': + goto do_not_strip_quotes; + + case '\\': + if (*++yyp != '\\') + goto do_not_strip_quotes; + /* Fall through. */ + default: + if (yyres) + yyres[yyn] = *yyp; + yyn++; + break; + + case '"': + if (yyres) + yyres[yyn] = '\0'; + return yyn; + } do_not_strip_quotes: ; } @@ -1698,11 +1891,11 @@ static int yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, yytype_int16 *yyssp, int yytoken) { - YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]); + YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]); YYSIZE_T yysize = yysize0; enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; /* Internationalized format string. */ - const char *yyformat = YY_NULLPTR; + const char *yyformat = YY_NULL; /* Arguments of yyformat. */ char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; /* Number of reported tokens (one for the "unexpected", one per @@ -1710,6 +1903,10 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, int yycount = 0; /* There are many possibilities here to consider: + - Assume YYFAIL is not used. It's too flawed to consider. See + + for details. YYERROR is fine as it does not invoke this + function. - If this state is a consistent state with a default action, then the only way this function was invoked is if the default action is an error action. In that case, don't check for expected @@ -1759,7 +1956,7 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, } yyarg[yycount++] = yytname[yyx]; { - YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]); + YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]); if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) return 2; @@ -1826,17 +2023,26 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, | Release the memory associated to this symbol. | `-----------------------------------------------*/ +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) +#else +static void +yydestruct (yymsg, yytype, yyvaluep) + const char *yymsg; + int yytype; + YYSTYPE *yyvaluep; +#endif { YYUSE (yyvaluep); + if (!yymsg) yymsg = "Deleting"; YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); - YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN YYUSE (yytype); - YY_IGNORE_MAYBE_UNINITIALIZED_END } @@ -1845,8 +2051,18 @@ yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) /* The lookahead symbol. */ int yychar; + +#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_END +#endif +#ifndef YY_INITIAL_VALUE +# define YY_INITIAL_VALUE(Value) /* Nothing. */ +#endif + /* The semantic value of the lookahead symbol. */ -YYSTYPE yylval; +YYSTYPE yylval YY_INITIAL_VALUE(yyval_default); + /* Number of syntax errors so far. */ int yynerrs; @@ -1855,16 +2071,35 @@ int yynerrs; | yyparse. | `----------*/ +#ifdef YYPARSE_PARAM +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +int +yyparse (void *YYPARSE_PARAM) +#else +int +yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +#endif +#else /* ! YYPARSE_PARAM */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) int yyparse (void) +#else +int +yyparse () + +#endif +#endif { int yystate; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; /* The stacks and their tools: - 'yyss': related to states. - 'yyvs': related to semantic values. + `yyss': related to states. + `yyvs': related to semantic values. Refer to the stacks through separate pointers, to allow yyoverflow to reallocate them elsewhere. */ @@ -1932,23 +2167,23 @@ yyparse (void) #ifdef yyoverflow { - /* Give user a chance to reallocate the stack. Use copies of - these so that the &'s don't force the real ones into - memory. */ - YYSTYPE *yyvs1 = yyvs; - yytype_int16 *yyss1 = yyss; - - /* Each stack pointer address is followed by the size of the - data in use in that stack, in bytes. This used to be a - conditional around just the two extra args, but that might - be undefined if yyoverflow is a macro. */ - yyoverflow (YY_("memory exhausted"), - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), - &yystacksize); - - yyss = yyss1; - yyvs = yyvs1; + /* Give user a chance to reallocate the stack. Use copies of + these so that the &'s don't force the real ones into + memory. */ + YYSTYPE *yyvs1 = yyvs; + yytype_int16 *yyss1 = yyss; + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. This used to be a + conditional around just the two extra args, but that might + be undefined if yyoverflow is a macro. */ + yyoverflow (YY_("memory exhausted"), + &yyss1, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + &yystacksize); + + yyss = yyss1; + yyvs = yyvs1; } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE @@ -1956,22 +2191,22 @@ yyparse (void) # else /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) - goto yyexhaustedlab; + goto yyexhaustedlab; yystacksize *= 2; if (YYMAXDEPTH < yystacksize) - yystacksize = YYMAXDEPTH; + yystacksize = YYMAXDEPTH; { - yytype_int16 *yyss1 = yyss; - union yyalloc *yyptr = - (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); - if (! yyptr) - goto yyexhaustedlab; - YYSTACK_RELOCATE (yyss_alloc, yyss); - YYSTACK_RELOCATE (yyvs_alloc, yyvs); + yytype_int16 *yyss1 = yyss; + union yyalloc *yyptr = + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + if (! yyptr) + goto yyexhaustedlab; + YYSTACK_RELOCATE (yyss_alloc, yyss); + YYSTACK_RELOCATE (yyvs_alloc, yyvs); # undef YYSTACK_RELOCATE - if (yyss1 != yyssa) - YYSTACK_FREE (yyss1); + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); } # endif #endif /* no yyoverflow */ @@ -1980,10 +2215,10 @@ yyparse (void) yyvsp = yyvs + yysize - 1; YYDPRINTF ((stderr, "Stack size increased to %lu\n", - (unsigned long int) yystacksize)); + (unsigned long int) yystacksize)); if (yyss + yystacksize - 1 <= yyssp) - YYABORT; + YYABORT; } YYDPRINTF ((stderr, "Entering state %d\n", yystate)); @@ -2012,7 +2247,7 @@ yybackup: if (yychar == YYEMPTY) { YYDPRINTF ((stderr, "Reading a token: ")); - yychar = yylex (); + yychar = YYLEX; } if (yychar <= YYEOF) @@ -2077,7 +2312,7 @@ yyreduce: yylen = yyr2[yyn]; /* If YYLEN is nonzero, implement the default value of the action: - '$$ = $1'. + `$$ = $1'. Otherwise, the following line sets YYVAL to garbage. This behavior is undocumented and Bison @@ -2091,7 +2326,8 @@ yyreduce: switch (yyn) { case 5: -#line 373 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 373 "../../ntpd/ntp_parser.y" { /* I will need to incorporate much more fine grained * error messages. The following should suffice for @@ -2104,433 +2340,433 @@ yyreduce: ip_ctx->errpos.nline, ip_ctx->errpos.ncol); } -#line 2108 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 20: -#line 409 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 409 "../../ntpd/ntp_parser.y" { peer_node *my_node; - my_node = create_peer_node((yyvsp[-2].Integer), (yyvsp[-1].Address_node), (yyvsp[0].Attr_val_fifo)); + my_node = create_peer_node((yyvsp[(1) - (3)].Integer), (yyvsp[(2) - (3)].Address_node), (yyvsp[(3) - (3)].Attr_val_fifo)); APPEND_G_FIFO(cfgt.peers, my_node); } -#line 2119 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 27: -#line 428 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Address_node) = create_address_node((yyvsp[0].String), (yyvsp[-1].Integer)); } -#line 2125 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 428 "../../ntpd/ntp_parser.y" + { (yyval.Address_node) = create_address_node((yyvsp[(2) - (2)].String), (yyvsp[(1) - (2)].Integer)); } break; case 28: -#line 433 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Address_node) = create_address_node((yyvsp[0].String), AF_UNSPEC); } -#line 2131 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 433 "../../ntpd/ntp_parser.y" + { (yyval.Address_node) = create_address_node((yyvsp[(1) - (1)].String), AF_UNSPEC); } break; case 29: -#line 438 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 438 "../../ntpd/ntp_parser.y" { (yyval.Integer) = AF_INET; } -#line 2137 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 30: -#line 440 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 440 "../../ntpd/ntp_parser.y" { (yyval.Integer) = AF_INET6; } -#line 2143 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 31: -#line 445 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 445 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; } -#line 2149 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 32: -#line 447 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 447 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2158 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 36: -#line 461 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[0].Integer)); } -#line 2164 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 461 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[(1) - (1)].Integer)); } break; case 45: -#line 477 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2170 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 477 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 46: -#line 479 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_uval((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2176 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 479 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_uval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 53: -#line 493 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); } -#line 2182 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 493 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); } break; case 55: -#line 507 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 507 "../../ntpd/ntp_parser.y" { unpeer_node *my_node; - my_node = create_unpeer_node((yyvsp[0].Address_node)); + my_node = create_unpeer_node((yyvsp[(2) - (2)].Address_node)); if (my_node) APPEND_G_FIFO(cfgt.unpeers, my_node); } -#line 2194 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 58: -#line 528 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 528 "../../ntpd/ntp_parser.y" { cfgt.broadcastclient = 1; } -#line 2200 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 59: -#line 530 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.manycastserver, (yyvsp[0].Address_fifo)); } -#line 2206 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 530 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.manycastserver, (yyvsp[(2) - (2)].Address_fifo)); } break; case 60: -#line 532 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.multicastclient, (yyvsp[0].Address_fifo)); } -#line 2212 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 532 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.multicastclient, (yyvsp[(2) - (2)].Address_fifo)); } break; case 61: -#line 534 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.mdnstries = (yyvsp[0].Integer); } -#line 2218 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 534 "../../ntpd/ntp_parser.y" + { cfgt.mdnstries = (yyvsp[(2) - (2)].Integer); } break; case 62: -#line 545 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 545 "../../ntpd/ntp_parser.y" { attr_val *atrv; - atrv = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); + atrv = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); APPEND_G_FIFO(cfgt.vars, atrv); } -#line 2229 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 63: -#line 552 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.control_key = (yyvsp[0].Integer); } -#line 2235 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 552 "../../ntpd/ntp_parser.y" + { cfgt.auth.control_key = (yyvsp[(2) - (2)].Integer); } break; case 64: -#line 554 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 554 "../../ntpd/ntp_parser.y" { cfgt.auth.cryptosw++; - CONCAT_G_FIFOS(cfgt.auth.crypto_cmd_list, (yyvsp[0].Attr_val_fifo)); + CONCAT_G_FIFOS(cfgt.auth.crypto_cmd_list, (yyvsp[(2) - (2)].Attr_val_fifo)); } -#line 2244 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 65: -#line 559 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.keys = (yyvsp[0].String); } -#line 2250 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 559 "../../ntpd/ntp_parser.y" + { cfgt.auth.keys = (yyvsp[(2) - (2)].String); } break; case 66: -#line 561 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.keysdir = (yyvsp[0].String); } -#line 2256 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 561 "../../ntpd/ntp_parser.y" + { cfgt.auth.keysdir = (yyvsp[(2) - (2)].String); } break; case 67: -#line 563 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.request_key = (yyvsp[0].Integer); } -#line 2262 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 563 "../../ntpd/ntp_parser.y" + { cfgt.auth.request_key = (yyvsp[(2) - (2)].Integer); } break; case 68: -#line 565 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.revoke = (yyvsp[0].Integer); } -#line 2268 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 565 "../../ntpd/ntp_parser.y" + { cfgt.auth.revoke = (yyvsp[(2) - (2)].Integer); } break; case 69: -#line 567 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 567 "../../ntpd/ntp_parser.y" { - cfgt.auth.trusted_key_list = (yyvsp[0].Attr_val_fifo); + cfgt.auth.trusted_key_list = (yyvsp[(2) - (2)].Attr_val_fifo); // if (!cfgt.auth.trusted_key_list) // cfgt.auth.trusted_key_list = $2; // else // LINK_SLIST(cfgt.auth.trusted_key_list, $2, link); } -#line 2281 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 70: -#line 576 "ntp_parser.y" /* yacc.c:1646 */ - { cfgt.auth.ntp_signd_socket = (yyvsp[0].String); } -#line 2287 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 576 "../../ntpd/ntp_parser.y" + { cfgt.auth.ntp_signd_socket = (yyvsp[(2) - (2)].String); } break; case 71: -#line 581 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 581 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; } -#line 2293 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 72: -#line 583 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 583 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2302 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 73: -#line 591 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); } -#line 2308 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 591 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); } break; case 74: -#line 593 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 593 "../../ntpd/ntp_parser.y" { (yyval.Attr_val) = NULL; - cfgt.auth.revoke = (yyvsp[0].Integer); + cfgt.auth.revoke = (yyvsp[(2) - (2)].Integer); msyslog(LOG_WARNING, "'crypto revoke %d' is deprecated, " "please use 'revoke %d' instead.", cfgt.auth.revoke, cfgt.auth.revoke); } -#line 2321 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 80: -#line 618 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.orphan_cmds, (yyvsp[0].Attr_val_fifo)); } -#line 2327 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 618 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.orphan_cmds, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 81: -#line 623 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 623 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2336 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 82: -#line 628 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 628 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2345 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 83: -#line 636 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-1].Integer), (double)(yyvsp[0].Integer)); } -#line 2351 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 636 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (double)(yyvsp[(2) - (2)].Integer)); } break; case 84: -#line 638 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-1].Integer), (yyvsp[0].Double)); } -#line 2357 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 638 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Double)); } break; case 85: -#line 640 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-1].Integer), (double)(yyvsp[0].Integer)); } -#line 2363 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 640 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (double)(yyvsp[(2) - (2)].Integer)); } break; case 96: -#line 666 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.stats_list, (yyvsp[0].Int_fifo)); } -#line 2369 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 666 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.stats_list, (yyvsp[(2) - (2)].Int_fifo)); } break; case 97: -#line 668 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 668 "../../ntpd/ntp_parser.y" { if (lex_from_file()) { - cfgt.stats_dir = (yyvsp[0].String); + cfgt.stats_dir = (yyvsp[(2) - (2)].String); } else { - YYFREE((yyvsp[0].String)); + YYFREE((yyvsp[(2) - (2)].String)); yyerror("statsdir remote configuration ignored"); } } -#line 2382 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 98: -#line 677 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 677 "../../ntpd/ntp_parser.y" { filegen_node *fgn; - fgn = create_filegen_node((yyvsp[-1].Integer), (yyvsp[0].Attr_val_fifo)); + fgn = create_filegen_node((yyvsp[(2) - (3)].Integer), (yyvsp[(3) - (3)].Attr_val_fifo)); APPEND_G_FIFO(cfgt.filegen_opts, fgn); } -#line 2393 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 99: -#line 687 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 687 "../../ntpd/ntp_parser.y" { - (yyval.Int_fifo) = (yyvsp[-1].Int_fifo); - APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[0].Integer))); + (yyval.Int_fifo) = (yyvsp[(1) - (2)].Int_fifo); + APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[(2) - (2)].Integer))); } -#line 2402 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 100: -#line 692 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 692 "../../ntpd/ntp_parser.y" { (yyval.Int_fifo) = NULL; - APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[0].Integer))); + APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[(1) - (1)].Integer))); } -#line 2411 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 109: -#line 711 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 711 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; } -#line 2417 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 110: -#line 713 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 713 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2426 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 111: -#line 721 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 721 "../../ntpd/ntp_parser.y" { if (lex_from_file()) { - (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); + (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); } else { (yyval.Attr_val) = NULL; - YYFREE((yyvsp[0].String)); + YYFREE((yyvsp[(2) - (2)].String)); yyerror("filegen file remote config ignored"); } } -#line 2440 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 112: -#line 731 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 731 "../../ntpd/ntp_parser.y" { if (lex_from_file()) { - (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); + (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } else { (yyval.Attr_val) = NULL; yyerror("filegen type remote config ignored"); } } -#line 2453 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 113: -#line 740 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 740 "../../ntpd/ntp_parser.y" { const char *err; if (lex_from_file()) { - (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[0].Integer)); + (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[(1) - (1)].Integer)); } else { (yyval.Attr_val) = NULL; - if (T_Link == (yyvsp[0].Integer)) + if (T_Link == (yyvsp[(1) - (1)].Integer)) err = "filegen link remote config ignored"; else err = "filegen nolink remote config ignored"; yyerror(err); } } -#line 2472 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 114: -#line 755 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[0].Integer)); } -#line 2478 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 755 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[(1) - (1)].Integer)); } break; case 126: -#line 785 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 785 "../../ntpd/ntp_parser.y" { - CONCAT_G_FIFOS(cfgt.discard_opts, (yyvsp[0].Attr_val_fifo)); + CONCAT_G_FIFOS(cfgt.discard_opts, (yyvsp[(2) - (2)].Attr_val_fifo)); } -#line 2486 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 127: -#line 789 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 789 "../../ntpd/ntp_parser.y" { - CONCAT_G_FIFOS(cfgt.mru_opts, (yyvsp[0].Attr_val_fifo)); + CONCAT_G_FIFOS(cfgt.mru_opts, (yyvsp[(2) - (2)].Attr_val_fifo)); } -#line 2494 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 128: -#line 793 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 793 "../../ntpd/ntp_parser.y" { restrict_node *rn; - rn = create_restrict_node((yyvsp[-1].Address_node), NULL, (yyvsp[0].Int_fifo), + rn = create_restrict_node((yyvsp[(2) - (3)].Address_node), NULL, (yyvsp[(3) - (3)].Int_fifo), lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2506 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 129: -#line 801 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 801 "../../ntpd/ntp_parser.y" { restrict_node *rn; - rn = create_restrict_node((yyvsp[-3].Address_node), (yyvsp[-1].Address_node), (yyvsp[0].Int_fifo), + rn = create_restrict_node((yyvsp[(2) - (5)].Address_node), (yyvsp[(4) - (5)].Address_node), (yyvsp[(5) - (5)].Int_fifo), lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2518 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 130: -#line 809 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 809 "../../ntpd/ntp_parser.y" { restrict_node *rn; - rn = create_restrict_node(NULL, NULL, (yyvsp[0].Int_fifo), + rn = create_restrict_node(NULL, NULL, (yyvsp[(3) - (3)].Int_fifo), lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2530 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 131: -#line 817 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 817 "../../ntpd/ntp_parser.y" { restrict_node *rn; @@ -2541,15 +2777,15 @@ yyreduce: create_address_node( estrdup("0.0.0.0"), AF_INET), - (yyvsp[0].Int_fifo), + (yyvsp[(4) - (4)].Int_fifo), lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2549 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 132: -#line 832 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 832 "../../ntpd/ntp_parser.y" { restrict_node *rn; @@ -2560,320 +2796,320 @@ yyreduce: create_address_node( estrdup("::"), AF_INET6), - (yyvsp[0].Int_fifo), + (yyvsp[(4) - (4)].Int_fifo), lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2568 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 133: -#line 847 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 847 "../../ntpd/ntp_parser.y" { restrict_node * rn; - APPEND_G_FIFO((yyvsp[0].Int_fifo), create_int_node((yyvsp[-1].Integer))); + APPEND_G_FIFO((yyvsp[(3) - (3)].Int_fifo), create_int_node((yyvsp[(2) - (3)].Integer))); rn = create_restrict_node( - NULL, NULL, (yyvsp[0].Int_fifo), lex_current()->curpos.nline); + NULL, NULL, (yyvsp[(3) - (3)].Int_fifo), lex_current()->curpos.nline); APPEND_G_FIFO(cfgt.restrict_opts, rn); } -#line 2581 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 134: -#line 859 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 859 "../../ntpd/ntp_parser.y" { (yyval.Int_fifo) = NULL; } -#line 2587 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 135: -#line 861 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 861 "../../ntpd/ntp_parser.y" { - (yyval.Int_fifo) = (yyvsp[-1].Int_fifo); - APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[0].Integer))); + (yyval.Int_fifo) = (yyvsp[(1) - (2)].Int_fifo); + APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[(2) - (2)].Integer))); } -#line 2596 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 151: -#line 887 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 887 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2605 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 152: -#line 892 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 892 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2614 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 153: -#line 900 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2620 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 900 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 157: -#line 911 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 911 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2629 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 158: -#line 916 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 916 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2638 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 159: -#line 924 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2644 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 924 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 168: -#line 944 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 944 "../../ntpd/ntp_parser.y" { addr_opts_node *aon; - aon = create_addr_opts_node((yyvsp[-1].Address_node), (yyvsp[0].Attr_val_fifo)); + aon = create_addr_opts_node((yyvsp[(2) - (3)].Address_node), (yyvsp[(3) - (3)].Attr_val_fifo)); APPEND_G_FIFO(cfgt.fudge, aon); } -#line 2655 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 169: -#line 954 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 954 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2664 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 170: -#line 959 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 959 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2673 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 171: -#line 967 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-1].Integer), (yyvsp[0].Double)); } -#line 2679 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 967 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Double)); } break; case 172: -#line 969 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2685 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 969 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 173: -#line 971 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2691 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 971 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 174: -#line 973 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); } -#line 2697 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 973 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); } break; case 175: -#line 975 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); } -#line 2703 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 975 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); } break; case 182: -#line 996 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.rlimit, (yyvsp[0].Attr_val_fifo)); } -#line 2709 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 996 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.rlimit, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 183: -#line 1001 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1001 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2718 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 184: -#line 1006 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1006 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2727 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 185: -#line 1014 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 2733 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1014 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 189: -#line 1030 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.enable_opts, (yyvsp[0].Attr_val_fifo)); } -#line 2739 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1030 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.enable_opts, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 190: -#line 1032 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.disable_opts, (yyvsp[0].Attr_val_fifo)); } -#line 2745 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1032 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.disable_opts, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 191: -#line 1037 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1037 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2754 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 192: -#line 1042 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1042 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2763 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 193: -#line 1050 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[0].Integer)); } -#line 2769 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1050 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[(1) - (1)].Integer)); } break; case 194: -#line 1052 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1052 "../../ntpd/ntp_parser.y" { if (lex_from_file()) { - (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[0].Integer)); + (yyval.Attr_val) = create_attr_ival(T_Flag, (yyvsp[(1) - (1)].Integer)); } else { char err_str[128]; (yyval.Attr_val) = NULL; snprintf(err_str, sizeof(err_str), "enable/disable %s remote configuration ignored", - keyword((yyvsp[0].Integer))); + keyword((yyvsp[(1) - (1)].Integer))); yyerror(err_str); } } -#line 2787 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 203: -#line 1087 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.tinker, (yyvsp[0].Attr_val_fifo)); } -#line 2793 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1087 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.tinker, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 204: -#line 1092 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1092 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 2802 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 205: -#line 1097 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1097 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 2811 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 206: -#line 1105 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-1].Integer), (yyvsp[0].Double)); } -#line 2817 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1105 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Double)); } break; case 219: -#line 1130 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1130 "../../ntpd/ntp_parser.y" { attr_val *av; - av = create_attr_dval((yyvsp[-1].Integer), (yyvsp[0].Double)); + av = create_attr_dval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Double)); APPEND_G_FIFO(cfgt.vars, av); } -#line 2828 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 220: -#line 1137 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1137 "../../ntpd/ntp_parser.y" { attr_val *av; - av = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); + av = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); APPEND_G_FIFO(cfgt.vars, av); } -#line 2839 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 221: -#line 1144 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1144 "../../ntpd/ntp_parser.y" { attr_val *av; - av = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); + av = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); APPEND_G_FIFO(cfgt.vars, av); } -#line 2850 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 222: -#line 1151 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1151 "../../ntpd/ntp_parser.y" { char error_text[64]; attr_val *av; if (lex_from_file()) { - av = create_attr_sval((yyvsp[-1].Integer), (yyvsp[0].String)); + av = create_attr_sval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].String)); APPEND_G_FIFO(cfgt.vars, av); } else { - YYFREE((yyvsp[0].String)); + YYFREE((yyvsp[(2) - (2)].String)); snprintf(error_text, sizeof(error_text), "%s remote config ignored", - keyword((yyvsp[-1].Integer))); + keyword((yyvsp[(1) - (2)].Integer))); yyerror(error_text); } } -#line 2870 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 223: -#line 1167 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1167 "../../ntpd/ntp_parser.y" { if (!lex_from_file()) { - YYFREE((yyvsp[-1].String)); /* avoid leak */ + YYFREE((yyvsp[(2) - (3)].String)); /* avoid leak */ yyerror("remote includefile ignored"); break; } @@ -2881,476 +3117,486 @@ yyreduce: fprintf(stderr, "getconfig: Maximum include file level exceeded.\n"); msyslog(LOG_ERR, "getconfig: Maximum include file level exceeded."); } else { - const char * path = FindConfig((yyvsp[-1].String)); /* might return $2! */ + const char * path = FindConfig((yyvsp[(2) - (3)].String)); /* might return $2! */ if (!lex_push_file(path, "r")) { fprintf(stderr, "getconfig: Couldn't open <%s>\n", path); msyslog(LOG_ERR, "getconfig: Couldn't open <%s>", path); } } - YYFREE((yyvsp[-1].String)); /* avoid leak */ + YYFREE((yyvsp[(2) - (3)].String)); /* avoid leak */ } -#line 2893 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 224: -#line 1186 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1186 "../../ntpd/ntp_parser.y" { lex_flush_stack(); } -#line 2899 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 225: -#line 1188 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1188 "../../ntpd/ntp_parser.y" { /* see drift_parm below for actions */ } -#line 2905 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 226: -#line 1190 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.logconfig, (yyvsp[0].Attr_val_fifo)); } -#line 2911 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1190 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.logconfig, (yyvsp[(2) - (2)].Attr_val_fifo)); } break; case 227: -#line 1192 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.phone, (yyvsp[0].String_fifo)); } -#line 2917 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1192 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.phone, (yyvsp[(2) - (2)].String_fifo)); } break; case 228: -#line 1194 "ntp_parser.y" /* yacc.c:1646 */ - { APPEND_G_FIFO(cfgt.setvar, (yyvsp[0].Set_var)); } -#line 2923 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1194 "../../ntpd/ntp_parser.y" + { APPEND_G_FIFO(cfgt.setvar, (yyvsp[(2) - (2)].Set_var)); } break; case 229: -#line 1196 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1196 "../../ntpd/ntp_parser.y" { addr_opts_node *aon; - aon = create_addr_opts_node((yyvsp[-1].Address_node), (yyvsp[0].Attr_val_fifo)); + aon = create_addr_opts_node((yyvsp[(2) - (3)].Address_node), (yyvsp[(3) - (3)].Attr_val_fifo)); APPEND_G_FIFO(cfgt.trap, aon); } -#line 2934 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 230: -#line 1203 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.ttl, (yyvsp[0].Attr_val_fifo)); } -#line 2940 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1203 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.ttl, (yyvsp[(2) - (2)].Attr_val_fifo)); } + break; + + case 235: +/* Line 1787 of yacc.c */ +#line 1218 "../../ntpd/ntp_parser.y" + { +#ifndef LEAP_SMEAR + yyerror("Built without LEAP_SMEAR support."); +#endif + } break; case 241: -#line 1233 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1238 "../../ntpd/ntp_parser.y" { attr_val *av; - av = create_attr_sval(T_Driftfile, (yyvsp[0].String)); + av = create_attr_sval(T_Driftfile, (yyvsp[(1) - (1)].String)); APPEND_G_FIFO(cfgt.vars, av); } -#line 2951 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 242: -#line 1240 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1245 "../../ntpd/ntp_parser.y" { attr_val *av; - av = create_attr_sval(T_Driftfile, (yyvsp[-1].String)); + av = create_attr_sval(T_Driftfile, (yyvsp[(1) - (2)].String)); APPEND_G_FIFO(cfgt.vars, av); - av = create_attr_dval(T_WanderThreshold, (yyvsp[0].Double)); + av = create_attr_dval(T_WanderThreshold, (yyvsp[(2) - (2)].Double)); APPEND_G_FIFO(cfgt.vars, av); } -#line 2964 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 243: -#line 1249 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1254 "../../ntpd/ntp_parser.y" { attr_val *av; av = create_attr_sval(T_Driftfile, ""); APPEND_G_FIFO(cfgt.vars, av); } -#line 2975 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 244: -#line 1259 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Set_var) = create_setvar_node((yyvsp[-3].String), (yyvsp[-1].String), (yyvsp[0].Integer)); } -#line 2981 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1264 "../../ntpd/ntp_parser.y" + { (yyval.Set_var) = create_setvar_node((yyvsp[(1) - (4)].String), (yyvsp[(3) - (4)].String), (yyvsp[(4) - (4)].Integer)); } break; case 246: -#line 1265 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1270 "../../ntpd/ntp_parser.y" { (yyval.Integer) = 0; } -#line 2987 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 247: -#line 1270 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1275 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; } -#line 2993 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 248: -#line 1272 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1277 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 3002 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 249: -#line 1280 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival((yyvsp[-1].Integer), (yyvsp[0].Integer)); } -#line 3008 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1285 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); } break; case 250: -#line 1282 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1287 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val) = create_attr_sval((yyvsp[-1].Integer), estrdup((yyvsp[0].Address_node)->address)); - destroy_address_node((yyvsp[0].Address_node)); + (yyval.Attr_val) = create_attr_sval((yyvsp[(1) - (2)].Integer), estrdup((yyvsp[(2) - (2)].Address_node)->address)); + destroy_address_node((yyvsp[(2) - (2)].Address_node)); } -#line 3017 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 251: -#line 1290 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1295 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 3026 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 252: -#line 1295 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1300 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 3035 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 253: -#line 1303 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1308 "../../ntpd/ntp_parser.y" { char prefix; char * type; - switch ((yyvsp[0].String)[0]) { + switch ((yyvsp[(1) - (1)].String)[0]) { case '+': case '-': case '=': - prefix = (yyvsp[0].String)[0]; - type = (yyvsp[0].String) + 1; + prefix = (yyvsp[(1) - (1)].String)[0]; + type = (yyvsp[(1) - (1)].String) + 1; break; default: prefix = '='; - type = (yyvsp[0].String); + type = (yyvsp[(1) - (1)].String); } (yyval.Attr_val) = create_attr_sval(prefix, estrdup(type)); - YYFREE((yyvsp[0].String)); + YYFREE((yyvsp[(1) - (1)].String)); } -#line 3061 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 254: -#line 1328 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1333 "../../ntpd/ntp_parser.y" { nic_rule_node *nrn; - nrn = create_nic_rule_node((yyvsp[0].Integer), NULL, (yyvsp[-1].Integer)); + nrn = create_nic_rule_node((yyvsp[(3) - (3)].Integer), NULL, (yyvsp[(2) - (3)].Integer)); APPEND_G_FIFO(cfgt.nic_rules, nrn); } -#line 3072 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 255: -#line 1335 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1340 "../../ntpd/ntp_parser.y" { nic_rule_node *nrn; - nrn = create_nic_rule_node(0, (yyvsp[0].String), (yyvsp[-1].Integer)); + nrn = create_nic_rule_node(0, (yyvsp[(3) - (3)].String), (yyvsp[(2) - (3)].Integer)); APPEND_G_FIFO(cfgt.nic_rules, nrn); } -#line 3083 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 265: -#line 1363 "ntp_parser.y" /* yacc.c:1646 */ - { CONCAT_G_FIFOS(cfgt.reset_counters, (yyvsp[0].Int_fifo)); } -#line 3089 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1368 "../../ntpd/ntp_parser.y" + { CONCAT_G_FIFOS(cfgt.reset_counters, (yyvsp[(2) - (2)].Int_fifo)); } break; case 266: -#line 1368 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1373 "../../ntpd/ntp_parser.y" { - (yyval.Int_fifo) = (yyvsp[-1].Int_fifo); - APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[0].Integer))); + (yyval.Int_fifo) = (yyvsp[(1) - (2)].Int_fifo); + APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[(2) - (2)].Integer))); } -#line 3098 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 267: -#line 1373 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1378 "../../ntpd/ntp_parser.y" { (yyval.Int_fifo) = NULL; - APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[0].Integer))); + APPEND_G_FIFO((yyval.Int_fifo), create_int_node((yyvsp[(1) - (1)].Integer))); } -#line 3107 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 275: -#line 1397 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1402 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), create_int_node((yyvsp[0].Integer))); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), create_int_node((yyvsp[(2) - (2)].Integer))); } -#line 3116 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 276: -#line 1402 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1407 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), create_int_node((yyvsp[0].Integer))); + APPEND_G_FIFO((yyval.Attr_val_fifo), create_int_node((yyvsp[(1) - (1)].Integer))); } -#line 3125 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 277: -#line 1410 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1415 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-1].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (2)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (2)].Attr_val)); } -#line 3134 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 278: -#line 1415 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1420 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[0].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (1)].Attr_val)); } -#line 3143 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 279: -#line 1423 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_ival('i', (yyvsp[0].Integer)); } -#line 3149 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1428 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_ival('i', (yyvsp[(1) - (1)].Integer)); } break; case 281: -#line 1429 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_rangeval('-', (yyvsp[-3].Integer), (yyvsp[-1].Integer)); } -#line 3155 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1434 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_rangeval('-', (yyvsp[(2) - (5)].Integer), (yyvsp[(4) - (5)].Integer)); } break; case 282: -#line 1434 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1439 "../../ntpd/ntp_parser.y" { - (yyval.String_fifo) = (yyvsp[-1].String_fifo); - APPEND_G_FIFO((yyval.String_fifo), create_string_node((yyvsp[0].String))); + (yyval.String_fifo) = (yyvsp[(1) - (2)].String_fifo); + APPEND_G_FIFO((yyval.String_fifo), create_string_node((yyvsp[(2) - (2)].String))); } -#line 3164 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 283: -#line 1439 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1444 "../../ntpd/ntp_parser.y" { (yyval.String_fifo) = NULL; - APPEND_G_FIFO((yyval.String_fifo), create_string_node((yyvsp[0].String))); + APPEND_G_FIFO((yyval.String_fifo), create_string_node((yyvsp[(1) - (1)].String))); } -#line 3173 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 284: -#line 1447 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1452 "../../ntpd/ntp_parser.y" { - (yyval.Address_fifo) = (yyvsp[-1].Address_fifo); - APPEND_G_FIFO((yyval.Address_fifo), (yyvsp[0].Address_node)); + (yyval.Address_fifo) = (yyvsp[(1) - (2)].Address_fifo); + APPEND_G_FIFO((yyval.Address_fifo), (yyvsp[(2) - (2)].Address_node)); } -#line 3182 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 285: -#line 1452 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1457 "../../ntpd/ntp_parser.y" { (yyval.Address_fifo) = NULL; - APPEND_G_FIFO((yyval.Address_fifo), (yyvsp[0].Address_node)); + APPEND_G_FIFO((yyval.Address_fifo), (yyvsp[(1) - (1)].Address_node)); } -#line 3191 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 286: -#line 1460 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1465 "../../ntpd/ntp_parser.y" { - if ((yyvsp[0].Integer) != 0 && (yyvsp[0].Integer) != 1) { + if ((yyvsp[(1) - (1)].Integer) != 0 && (yyvsp[(1) - (1)].Integer) != 1) { yyerror("Integer value is not boolean (0 or 1). Assuming 1"); (yyval.Integer) = 1; } else { - (yyval.Integer) = (yyvsp[0].Integer); + (yyval.Integer) = (yyvsp[(1) - (1)].Integer); } } -#line 3204 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 287: -#line 1468 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1473 "../../ntpd/ntp_parser.y" { (yyval.Integer) = 1; } -#line 3210 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 288: -#line 1469 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1474 "../../ntpd/ntp_parser.y" { (yyval.Integer) = 0; } -#line 3216 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 289: -#line 1473 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Double) = (double)(yyvsp[0].Integer); } -#line 3222 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1478 "../../ntpd/ntp_parser.y" + { (yyval.Double) = (double)(yyvsp[(1) - (1)].Integer); } break; case 291: -#line 1484 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1489 "../../ntpd/ntp_parser.y" { sim_node *sn; - sn = create_sim_node((yyvsp[-2].Attr_val_fifo), (yyvsp[-1].Sim_server_fifo)); + sn = create_sim_node((yyvsp[(3) - (5)].Attr_val_fifo), (yyvsp[(4) - (5)].Sim_server_fifo)); APPEND_G_FIFO(cfgt.sim_details, sn); /* Revert from ; to \n for end-of-command */ old_config_style = 1; } -#line 3236 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 292: -#line 1501 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1506 "../../ntpd/ntp_parser.y" { old_config_style = 0; } -#line 3242 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 293: -#line 1506 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1511 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-2].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[-1].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (3)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (3)].Attr_val)); } -#line 3251 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 294: -#line 1511 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1516 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[-1].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (2)].Attr_val)); } -#line 3260 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 295: -#line 1519 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-2].Integer), (yyvsp[0].Double)); } -#line 3266 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1524 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (3)].Integer), (yyvsp[(3) - (3)].Double)); } break; case 298: -#line 1529 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1534 "../../ntpd/ntp_parser.y" { - (yyval.Sim_server_fifo) = (yyvsp[-1].Sim_server_fifo); - APPEND_G_FIFO((yyval.Sim_server_fifo), (yyvsp[0].Sim_server)); + (yyval.Sim_server_fifo) = (yyvsp[(1) - (2)].Sim_server_fifo); + APPEND_G_FIFO((yyval.Sim_server_fifo), (yyvsp[(2) - (2)].Sim_server)); } -#line 3275 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 299: -#line 1534 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1539 "../../ntpd/ntp_parser.y" { (yyval.Sim_server_fifo) = NULL; - APPEND_G_FIFO((yyval.Sim_server_fifo), (yyvsp[0].Sim_server)); + APPEND_G_FIFO((yyval.Sim_server_fifo), (yyvsp[(1) - (1)].Sim_server)); } -#line 3284 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 300: -#line 1542 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Sim_server) = ONLY_SIM(create_sim_server((yyvsp[-4].Address_node), (yyvsp[-2].Double), (yyvsp[-1].Sim_script_fifo))); } -#line 3290 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1547 "../../ntpd/ntp_parser.y" + { (yyval.Sim_server) = ONLY_SIM(create_sim_server((yyvsp[(1) - (5)].Address_node), (yyvsp[(3) - (5)].Double), (yyvsp[(4) - (5)].Sim_script_fifo))); } break; case 301: -#line 1547 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Double) = (yyvsp[-1].Double); } -#line 3296 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1552 "../../ntpd/ntp_parser.y" + { (yyval.Double) = (yyvsp[(3) - (4)].Double); } break; case 302: -#line 1552 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Address_node) = (yyvsp[0].Address_node); } -#line 3302 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1557 "../../ntpd/ntp_parser.y" + { (yyval.Address_node) = (yyvsp[(3) - (3)].Address_node); } break; case 303: -#line 1557 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1562 "../../ntpd/ntp_parser.y" { - (yyval.Sim_script_fifo) = (yyvsp[-1].Sim_script_fifo); - APPEND_G_FIFO((yyval.Sim_script_fifo), (yyvsp[0].Sim_script)); + (yyval.Sim_script_fifo) = (yyvsp[(1) - (2)].Sim_script_fifo); + APPEND_G_FIFO((yyval.Sim_script_fifo), (yyvsp[(2) - (2)].Sim_script)); } -#line 3311 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 304: -#line 1562 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1567 "../../ntpd/ntp_parser.y" { (yyval.Sim_script_fifo) = NULL; - APPEND_G_FIFO((yyval.Sim_script_fifo), (yyvsp[0].Sim_script)); + APPEND_G_FIFO((yyval.Sim_script_fifo), (yyvsp[(1) - (1)].Sim_script)); } -#line 3320 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 305: -#line 1570 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Sim_script) = ONLY_SIM(create_sim_script_info((yyvsp[-3].Double), (yyvsp[-1].Attr_val_fifo))); } -#line 3326 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1575 "../../ntpd/ntp_parser.y" + { (yyval.Sim_script) = ONLY_SIM(create_sim_script_info((yyvsp[(3) - (6)].Double), (yyvsp[(5) - (6)].Attr_val_fifo))); } break; case 306: -#line 1575 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1580 "../../ntpd/ntp_parser.y" { - (yyval.Attr_val_fifo) = (yyvsp[-2].Attr_val_fifo); - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[-1].Attr_val)); + (yyval.Attr_val_fifo) = (yyvsp[(1) - (3)].Attr_val_fifo); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(2) - (3)].Attr_val)); } -#line 3335 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 307: -#line 1580 "ntp_parser.y" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1585 "../../ntpd/ntp_parser.y" { (yyval.Attr_val_fifo) = NULL; - APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[-1].Attr_val)); + APPEND_G_FIFO((yyval.Attr_val_fifo), (yyvsp[(1) - (2)].Attr_val)); } -#line 3344 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ break; case 308: -#line 1588 "ntp_parser.y" /* yacc.c:1646 */ - { (yyval.Attr_val) = create_attr_dval((yyvsp[-2].Integer), (yyvsp[0].Double)); } -#line 3350 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 1593 "../../ntpd/ntp_parser.y" + { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (3)].Integer), (yyvsp[(3) - (3)].Double)); } break; -#line 3354 "../../ntpd/ntp_parser.c" /* yacc.c:1646 */ +/* Line 1787 of yacc.c */ +#line 3600 "ntp_parser.c" default: break; } /* User semantic actions sometimes alter yychar, and that requires @@ -3372,7 +3618,7 @@ yyreduce: *++yyvsp = yyval; - /* Now 'shift' the result of the reduction. Determine what state + /* Now `shift' the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule number reduced by. */ @@ -3387,9 +3633,9 @@ yyreduce: goto yynewstate; -/*--------------------------------------. -| yyerrlab -- here on detecting error. | -`--------------------------------------*/ +/*------------------------------------. +| yyerrlab -- here on detecting error | +`------------------------------------*/ yyerrlab: /* Make sure we have latest lookahead translation. See comments at user semantic actions for why this is necessary. */ @@ -3440,20 +3686,20 @@ yyerrlab: if (yyerrstatus == 3) { /* If just tried and failed to reuse lookahead token after an - error, discard it. */ + error, discard it. */ if (yychar <= YYEOF) - { - /* Return failure if at end of input. */ - if (yychar == YYEOF) - YYABORT; - } + { + /* Return failure if at end of input. */ + if (yychar == YYEOF) + YYABORT; + } else - { - yydestruct ("Error: discarding", - yytoken, &yylval); - yychar = YYEMPTY; - } + { + yydestruct ("Error: discarding", + yytoken, &yylval); + yychar = YYEMPTY; + } } /* Else will try to reuse lookahead token after shifting the error @@ -3472,7 +3718,7 @@ yyerrorlab: if (/*CONSTCOND*/ 0) goto yyerrorlab; - /* Do not reclaim the symbols of the rule whose action triggered + /* Do not reclaim the symbols of the rule which action triggered this YYERROR. */ YYPOPSTACK (yylen); yylen = 0; @@ -3485,29 +3731,29 @@ yyerrorlab: | yyerrlab1 -- common code for both syntax error and YYERROR. | `-------------------------------------------------------------*/ yyerrlab1: - yyerrstatus = 3; /* Each real token shifted decrements this. */ + yyerrstatus = 3; /* Each real token shifted decrements this. */ for (;;) { yyn = yypact[yystate]; if (!yypact_value_is_default (yyn)) - { - yyn += YYTERROR; - if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) - { - yyn = yytable[yyn]; - if (0 < yyn) - break; - } - } + { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } /* Pop the current state because it cannot handle the error token. */ if (yyssp == yyss) - YYABORT; + YYABORT; yydestruct ("Error: popping", - yystos[yystate], yyvsp); + yystos[yystate], yyvsp); YYPOPSTACK (1); yystate = *yyssp; YY_STACK_PRINT (yyss, yyssp); @@ -3558,14 +3804,14 @@ yyreturn: yydestruct ("Cleanup: discarding lookahead", yytoken, &yylval); } - /* Do not reclaim the symbols of the rule whose action triggered + /* Do not reclaim the symbols of the rule which action triggered this YYABORT or YYACCEPT. */ YYPOPSTACK (yylen); YY_STACK_PRINT (yyss, yyssp); while (yyssp != yyss) { yydestruct ("Cleanup: popping", - yystos[*yyssp], yyvsp); + yystos[*yyssp], yyvsp); YYPOPSTACK (1); } #ifndef yyoverflow @@ -3576,9 +3822,13 @@ yyreturn: if (yymsg != yymsgbuf) YYSTACK_FREE (yymsg); #endif - return yyresult; + /* Make sure YYID is used. */ + return YYID (yyresult); } -#line 1599 "ntp_parser.y" /* yacc.c:1906 */ + + +/* Line 2050 of yacc.c */ +#line 1604 "../../ntpd/ntp_parser.y" void diff --git a/ntpd/ntp_parser.h b/ntpd/ntp_parser.h index 9d113dc79..b474fc241 100644 --- a/ntpd/ntp_parser.h +++ b/ntpd/ntp_parser.h @@ -1,19 +1,19 @@ -/* A Bison parser, made by GNU Bison 3.0.4. */ +/* A Bison parser, made by GNU Bison 2.7.12-4996. */ /* Bison interface for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. - + + Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see . */ @@ -26,13 +26,13 @@ special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. - + This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ -#ifndef YY_YY_______NTPD_NTP_PARSER_H_INCLUDED -# define YY_YY_______NTPD_NTP_PARSER_H_INCLUDED -/* Debug traces. */ +#ifndef YY_YY_NTP_PARSER_H_INCLUDED +# define YY_YY_NTP_PARSER_H_INCLUDED +/* Enabling traces. */ #ifndef YYDEBUG # define YYDEBUG 1 #endif @@ -40,203 +40,204 @@ extern int yydebug; #endif -/* Token type. */ +/* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE - enum yytokentype - { - T_Abbrev = 258, - T_Age = 259, - T_All = 260, - T_Allan = 261, - T_Allpeers = 262, - T_Auth = 263, - T_Autokey = 264, - T_Automax = 265, - T_Average = 266, - T_Bclient = 267, - T_Beacon = 268, - T_Broadcast = 269, - T_Broadcastclient = 270, - T_Broadcastdelay = 271, - T_Burst = 272, - T_Calibrate = 273, - T_Ceiling = 274, - T_Clockstats = 275, - T_Cohort = 276, - T_ControlKey = 277, - T_Crypto = 278, - T_Cryptostats = 279, - T_Ctl = 280, - T_Day = 281, - T_Default = 282, - T_Digest = 283, - T_Disable = 284, - T_Discard = 285, - T_Dispersion = 286, - T_Double = 287, - T_Driftfile = 288, - T_Drop = 289, - T_Dscp = 290, - T_Ellipsis = 291, - T_Enable = 292, - T_End = 293, - T_False = 294, - T_File = 295, - T_Filegen = 296, - T_Filenum = 297, - T_Flag1 = 298, - T_Flag2 = 299, - T_Flag3 = 300, - T_Flag4 = 301, - T_Flake = 302, - T_Floor = 303, - T_Freq = 304, - T_Fudge = 305, - T_Host = 306, - T_Huffpuff = 307, - T_Iburst = 308, - T_Ident = 309, - T_Ignore = 310, - T_Incalloc = 311, - T_Incmem = 312, - T_Initalloc = 313, - T_Initmem = 314, - T_Includefile = 315, - T_Integer = 316, - T_Interface = 317, - T_Intrange = 318, - T_Io = 319, - T_Ipv4 = 320, - T_Ipv4_flag = 321, - T_Ipv6 = 322, - T_Ipv6_flag = 323, - T_Kernel = 324, - T_Key = 325, - T_Keys = 326, - T_Keysdir = 327, - T_Kod = 328, - T_Mssntp = 329, - T_Leapfile = 330, - T_Leapsmearinterval = 331, - T_Limited = 332, - T_Link = 333, - T_Listen = 334, - T_Logconfig = 335, - T_Logfile = 336, - T_Loopstats = 337, - T_Lowpriotrap = 338, - T_Manycastclient = 339, - T_Manycastserver = 340, - T_Mask = 341, - T_Maxage = 342, - T_Maxclock = 343, - T_Maxdepth = 344, - T_Maxdist = 345, - T_Maxmem = 346, - T_Maxpoll = 347, - T_Mdnstries = 348, - T_Mem = 349, - T_Memlock = 350, - T_Minclock = 351, - T_Mindepth = 352, - T_Mindist = 353, - T_Minimum = 354, - T_Minpoll = 355, - T_Minsane = 356, - T_Mode = 357, - T_Mode7 = 358, - T_Monitor = 359, - T_Month = 360, - T_Mru = 361, - T_Multicastclient = 362, - T_Nic = 363, - T_Nolink = 364, - T_Nomodify = 365, - T_Nomrulist = 366, - T_None = 367, - T_Nonvolatile = 368, - T_Nopeer = 369, - T_Noquery = 370, - T_Noselect = 371, - T_Noserve = 372, - T_Notrap = 373, - T_Notrust = 374, - T_Ntp = 375, - T_Ntpport = 376, - T_NtpSignDsocket = 377, - T_Orphan = 378, - T_Orphanwait = 379, - T_Panic = 380, - T_Peer = 381, - T_Peerstats = 382, - T_Phone = 383, - T_Pid = 384, - T_Pidfile = 385, - T_Pool = 386, - T_Port = 387, - T_Preempt = 388, - T_Prefer = 389, - T_Protostats = 390, - T_Pw = 391, - T_Randfile = 392, - T_Rawstats = 393, - T_Refid = 394, - T_Requestkey = 395, - T_Reset = 396, - T_Restrict = 397, - T_Revoke = 398, - T_Rlimit = 399, - T_Saveconfigdir = 400, - T_Server = 401, - T_Setvar = 402, - T_Source = 403, - T_Stacksize = 404, - T_Statistics = 405, - T_Stats = 406, - T_Statsdir = 407, - T_Step = 408, - T_Stepback = 409, - T_Stepfwd = 410, - T_Stepout = 411, - T_Stratum = 412, - T_String = 413, - T_Sys = 414, - T_Sysstats = 415, - T_Tick = 416, - T_Time1 = 417, - T_Time2 = 418, - T_Timer = 419, - T_Timingstats = 420, - T_Tinker = 421, - T_Tos = 422, - T_Trap = 423, - T_True = 424, - T_Trustedkey = 425, - T_Ttl = 426, - T_Type = 427, - T_U_int = 428, - T_Unconfig = 429, - T_Unpeer = 430, - T_Version = 431, - T_WanderThreshold = 432, - T_Week = 433, - T_Wildcard = 434, - T_Xleave = 435, - T_Year = 436, - T_Flag = 437, - T_EOC = 438, - T_Simulate = 439, - T_Beep_Delay = 440, - T_Sim_Duration = 441, - T_Server_Offset = 442, - T_Duration = 443, - T_Freq_Offset = 444, - T_Wander = 445, - T_Jitter = 446, - T_Prop_Delay = 447, - T_Proc_Delay = 448 - }; + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + T_Abbrev = 258, + T_Age = 259, + T_All = 260, + T_Allan = 261, + T_Allpeers = 262, + T_Auth = 263, + T_Autokey = 264, + T_Automax = 265, + T_Average = 266, + T_Bclient = 267, + T_Beacon = 268, + T_Broadcast = 269, + T_Broadcastclient = 270, + T_Broadcastdelay = 271, + T_Burst = 272, + T_Calibrate = 273, + T_Ceiling = 274, + T_Clockstats = 275, + T_Cohort = 276, + T_ControlKey = 277, + T_Crypto = 278, + T_Cryptostats = 279, + T_Ctl = 280, + T_Day = 281, + T_Default = 282, + T_Digest = 283, + T_Disable = 284, + T_Discard = 285, + T_Dispersion = 286, + T_Double = 287, + T_Driftfile = 288, + T_Drop = 289, + T_Dscp = 290, + T_Ellipsis = 291, + T_Enable = 292, + T_End = 293, + T_False = 294, + T_File = 295, + T_Filegen = 296, + T_Filenum = 297, + T_Flag1 = 298, + T_Flag2 = 299, + T_Flag3 = 300, + T_Flag4 = 301, + T_Flake = 302, + T_Floor = 303, + T_Freq = 304, + T_Fudge = 305, + T_Host = 306, + T_Huffpuff = 307, + T_Iburst = 308, + T_Ident = 309, + T_Ignore = 310, + T_Incalloc = 311, + T_Incmem = 312, + T_Initalloc = 313, + T_Initmem = 314, + T_Includefile = 315, + T_Integer = 316, + T_Interface = 317, + T_Intrange = 318, + T_Io = 319, + T_Ipv4 = 320, + T_Ipv4_flag = 321, + T_Ipv6 = 322, + T_Ipv6_flag = 323, + T_Kernel = 324, + T_Key = 325, + T_Keys = 326, + T_Keysdir = 327, + T_Kod = 328, + T_Mssntp = 329, + T_Leapfile = 330, + T_Leapsmearinterval = 331, + T_Limited = 332, + T_Link = 333, + T_Listen = 334, + T_Logconfig = 335, + T_Logfile = 336, + T_Loopstats = 337, + T_Lowpriotrap = 338, + T_Manycastclient = 339, + T_Manycastserver = 340, + T_Mask = 341, + T_Maxage = 342, + T_Maxclock = 343, + T_Maxdepth = 344, + T_Maxdist = 345, + T_Maxmem = 346, + T_Maxpoll = 347, + T_Mdnstries = 348, + T_Mem = 349, + T_Memlock = 350, + T_Minclock = 351, + T_Mindepth = 352, + T_Mindist = 353, + T_Minimum = 354, + T_Minpoll = 355, + T_Minsane = 356, + T_Mode = 357, + T_Mode7 = 358, + T_Monitor = 359, + T_Month = 360, + T_Mru = 361, + T_Multicastclient = 362, + T_Nic = 363, + T_Nolink = 364, + T_Nomodify = 365, + T_Nomrulist = 366, + T_None = 367, + T_Nonvolatile = 368, + T_Nopeer = 369, + T_Noquery = 370, + T_Noselect = 371, + T_Noserve = 372, + T_Notrap = 373, + T_Notrust = 374, + T_Ntp = 375, + T_Ntpport = 376, + T_NtpSignDsocket = 377, + T_Orphan = 378, + T_Orphanwait = 379, + T_Panic = 380, + T_Peer = 381, + T_Peerstats = 382, + T_Phone = 383, + T_Pid = 384, + T_Pidfile = 385, + T_Pool = 386, + T_Port = 387, + T_Preempt = 388, + T_Prefer = 389, + T_Protostats = 390, + T_Pw = 391, + T_Randfile = 392, + T_Rawstats = 393, + T_Refid = 394, + T_Requestkey = 395, + T_Reset = 396, + T_Restrict = 397, + T_Revoke = 398, + T_Rlimit = 399, + T_Saveconfigdir = 400, + T_Server = 401, + T_Setvar = 402, + T_Source = 403, + T_Stacksize = 404, + T_Statistics = 405, + T_Stats = 406, + T_Statsdir = 407, + T_Step = 408, + T_Stepback = 409, + T_Stepfwd = 410, + T_Stepout = 411, + T_Stratum = 412, + T_String = 413, + T_Sys = 414, + T_Sysstats = 415, + T_Tick = 416, + T_Time1 = 417, + T_Time2 = 418, + T_Timer = 419, + T_Timingstats = 420, + T_Tinker = 421, + T_Tos = 422, + T_Trap = 423, + T_True = 424, + T_Trustedkey = 425, + T_Ttl = 426, + T_Type = 427, + T_U_int = 428, + T_Unconfig = 429, + T_Unpeer = 430, + T_Version = 431, + T_WanderThreshold = 432, + T_Week = 433, + T_Wildcard = 434, + T_Xleave = 435, + T_Year = 436, + T_Flag = 437, + T_EOC = 438, + T_Simulate = 439, + T_Beep_Delay = 440, + T_Sim_Duration = 441, + T_Server_Offset = 442, + T_Duration = 443, + T_Freq_Offset = 444, + T_Wander = 445, + T_Jitter = 446, + T_Prop_Delay = 447, + T_Proc_Delay = 448 + }; #endif /* Tokens. */ #define T_Abbrev 258 @@ -431,12 +432,13 @@ extern int yydebug; #define T_Prop_Delay 447 #define T_Proc_Delay 448 -/* Value type. */ -#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -union YYSTYPE + +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +typedef union YYSTYPE { -#line 51 "ntp_parser.y" /* yacc.c:1909 */ +/* Line 2053 of yacc.c */ +#line 51 "../../ntpd/ntp_parser.y" char * String; double Double; @@ -455,17 +457,29 @@ union YYSTYPE script_info * Sim_script; script_info_fifo * Sim_script_fifo; -#line 459 "../../ntpd/ntp_parser.h" /* yacc.c:1909 */ -}; -typedef union YYSTYPE YYSTYPE; +/* Line 2053 of yacc.c */ +#line 463 "ntp_parser.h" +} YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 #endif - extern YYSTYPE yylval; +#ifdef YYPARSE_PARAM +#if defined __STDC__ || defined __cplusplus +int yyparse (void *YYPARSE_PARAM); +#else +int yyparse (); +#endif +#else /* ! YYPARSE_PARAM */ +#if defined __STDC__ || defined __cplusplus int yyparse (void); +#else +int yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ -#endif /* !YY_YY_______NTPD_NTP_PARSER_H_INCLUDED */ +#endif /* !YY_YY_NTP_PARSER_H_INCLUDED */ diff --git a/ntpd/ntp_parser.y b/ntpd/ntp_parser.y index 6419cc9bc..c9cd6c6dd 100644 --- a/ntpd/ntp_parser.y +++ b/ntpd/ntp_parser.y @@ -1215,6 +1215,11 @@ misc_cmd_int_keyword misc_cmd_int_keyword : T_Leapsmearinterval + { +#ifndef LEAP_SMEAR + yyerror("Built without LEAP_SMEAR support."); +#endif + } ; misc_cmd_str_keyword