ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_parser.c
(Generate patch)

Comparing:
ircd-hybrid-7.2/src/ircd_parser.c (file contents), Revision 913 by michael, Wed Nov 7 23:20:12 2007 UTC vs.
ircd-hybrid/trunk/src/conf_parser.c (file contents), Revision 2283 by michael, Tue Jun 18 19:13:20 2013 UTC

# Line 1 | Line 1
1 < /* A Bison parser, made by GNU Bison 2.3.  */
1 > /* A Bison parser, made by GNU Bison 2.7.12-4996.  */
2  
3 < /* Skeleton implementation for Bison's Yacc-like parsers in C
4 <
5 <   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 <   Free Software Foundation, Inc.
7 <
8 <   This program is free software; you can redistribute it and/or modify
3 > /* Bison implementation for Yacc-like parsers in C
4 >  
5 >      Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
6 >  
7 >   This program is free software: you can redistribute it and/or modify
8     it under the terms of the GNU General Public License as published by
9 <   the Free Software Foundation; either version 2, or (at your option)
10 <   any later version.
11 <
9 >   the Free Software Foundation, either version 3 of the License, or
10 >   (at your option) any later version.
11 >  
12     This program is distributed in the hope that it will be useful,
13     but WITHOUT ANY WARRANTY; without even the implied warranty of
14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15     GNU General Public License for more details.
16 <
16 >  
17     You should have received a copy of the GNU General Public License
18 <   along with this program; if not, write to the Free Software
20 <   Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 <   Boston, MA 02110-1301, USA.  */
18 >   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19  
20   /* As a special exception, you may create a larger work that contains
21     part or all of the Bison parser skeleton and distribute that work
# Line 29 | Line 26
26     special exception, which will cause the skeleton and the resulting
27     Bison output files to be licensed under the GNU General Public
28     License without this special exception.
29 <
29 >  
30     This special exception was added by the Free Software Foundation in
31     version 2.2 of Bison.  */
32  
# Line 47 | Line 44
44   #define YYBISON 1
45  
46   /* Bison version.  */
47 < #define YYBISON_VERSION "2.3"
47 > #define YYBISON_VERSION "2.7.12-4996"
48  
49   /* Skeleton name.  */
50   #define YYSKELETON_NAME "yacc.c"
# Line 55 | Line 52
52   /* Pure parsers.  */
53   #define YYPURE 0
54  
55 < /* Using locations.  */
56 < #define YYLSP_NEEDED 0
60 <
55 > /* Push parsers.  */
56 > #define YYPUSH 0
57  
58 <
59 < /* Tokens.  */
64 < #ifndef YYTOKENTYPE
65 < # define YYTOKENTYPE
66 <   /* Put the tokens into the symbol table, so that GDB and other debuggers
67 <      know about them.  */
68 <   enum yytokentype {
69 <     ACCEPT_PASSWORD = 258,
70 <     ACTION = 259,
71 <     ADMIN = 260,
72 <     AFTYPE = 261,
73 <     T_ALLOW = 262,
74 <     ANTI_NICK_FLOOD = 263,
75 <     ANTI_SPAM_EXIT_MESSAGE_TIME = 264,
76 <     AUTOCONN = 265,
77 <     T_BLOCK = 266,
78 <     BURST_AWAY = 267,
79 <     BURST_TOPICWHO = 268,
80 <     BYTES = 269,
81 <     KBYTES = 270,
82 <     MBYTES = 271,
83 <     GBYTES = 272,
84 <     TBYTES = 273,
85 <     CALLER_ID_WAIT = 274,
86 <     CAN_FLOOD = 275,
87 <     CAN_IDLE = 276,
88 <     CHANNEL = 277,
89 <     CIDR_BITLEN_IPV4 = 278,
90 <     CIDR_BITLEN_IPV6 = 279,
91 <     CIPHER_PREFERENCE = 280,
92 <     CLASS = 281,
93 <     COMPRESSED = 282,
94 <     COMPRESSION_LEVEL = 283,
95 <     CONNECT = 284,
96 <     CONNECTFREQ = 285,
97 <     CRYPTLINK = 286,
98 <     DEFAULT_CIPHER_PREFERENCE = 287,
99 <     DEFAULT_FLOODCOUNT = 288,
100 <     DEFAULT_SPLIT_SERVER_COUNT = 289,
101 <     DEFAULT_SPLIT_USER_COUNT = 290,
102 <     DENY = 291,
103 <     DESCRIPTION = 292,
104 <     DIE = 293,
105 <     DISABLE_AUTH = 294,
106 <     DISABLE_FAKE_CHANNELS = 295,
107 <     DISABLE_HIDDEN = 296,
108 <     DISABLE_LOCAL_CHANNELS = 297,
109 <     DISABLE_REMOTE_COMMANDS = 298,
110 <     DOT_IN_IP6_ADDR = 299,
111 <     DOTS_IN_IDENT = 300,
112 <     DURATION = 301,
113 <     EGDPOOL_PATH = 302,
114 <     EMAIL = 303,
115 <     ENABLE = 304,
116 <     ENCRYPTED = 305,
117 <     EXCEED_LIMIT = 306,
118 <     EXEMPT = 307,
119 <     FAILED_OPER_NOTICE = 308,
120 <     FAKENAME = 309,
121 <     IRCD_FLAGS = 310,
122 <     FLATTEN_LINKS = 311,
123 <     FFAILED_OPERLOG = 312,
124 <     FKILLLOG = 313,
125 <     FKLINELOG = 314,
126 <     FGLINELOG = 315,
127 <     FIOERRLOG = 316,
128 <     FOPERLOG = 317,
129 <     FOPERSPYLOG = 318,
130 <     FUSERLOG = 319,
131 <     GECOS = 320,
132 <     GENERAL = 321,
133 <     GLINE = 322,
134 <     GLINES = 323,
135 <     GLINE_EXEMPT = 324,
136 <     GLINE_LOG = 325,
137 <     GLINE_TIME = 326,
138 <     GLINE_MIN_CIDR = 327,
139 <     GLINE_MIN_CIDR6 = 328,
140 <     GLOBAL_KILL = 329,
141 <     IRCD_AUTH = 330,
142 <     NEED_IDENT = 331,
143 <     HAVENT_READ_CONF = 332,
144 <     HIDDEN = 333,
145 <     HIDDEN_ADMIN = 334,
146 <     HIDDEN_NAME = 335,
147 <     HIDDEN_OPER = 336,
148 <     HIDE_SERVER_IPS = 337,
149 <     HIDE_SERVERS = 338,
150 <     HIDE_SPOOF_IPS = 339,
151 <     HOST = 340,
152 <     HUB = 341,
153 <     HUB_MASK = 342,
154 <     IDLETIME = 343,
155 <     IGNORE_BOGUS_TS = 344,
156 <     INVISIBLE_ON_CONNECT = 345,
157 <     IP = 346,
158 <     KILL = 347,
159 <     KILL_CHASE_TIME_LIMIT = 348,
160 <     KLINE = 349,
161 <     KLINE_EXEMPT = 350,
162 <     KLINE_REASON = 351,
163 <     KLINE_WITH_REASON = 352,
164 <     KNOCK_DELAY = 353,
165 <     KNOCK_DELAY_CHANNEL = 354,
166 <     LEAF_MASK = 355,
167 <     LINKS_DELAY = 356,
168 <     LISTEN = 357,
169 <     T_LOG = 358,
170 <     LOGGING = 359,
171 <     LOG_LEVEL = 360,
172 <     MAX_ACCEPT = 361,
173 <     MAX_BANS = 362,
174 <     MAX_CHANS_PER_USER = 363,
175 <     MAX_GLOBAL = 364,
176 <     MAX_IDENT = 365,
177 <     MAX_LOCAL = 366,
178 <     MAX_NICK_CHANGES = 367,
179 <     MAX_NICK_TIME = 368,
180 <     MAX_NUMBER = 369,
181 <     MAX_TARGETS = 370,
182 <     MAX_WATCH = 371,
183 <     MESSAGE_LOCALE = 372,
184 <     MIN_NONWILDCARD = 373,
185 <     MIN_NONWILDCARD_SIMPLE = 374,
186 <     MODULE = 375,
187 <     MODULES = 376,
188 <     NAME = 377,
189 <     NEED_PASSWORD = 378,
190 <     NETWORK_DESC = 379,
191 <     NETWORK_NAME = 380,
192 <     NICK = 381,
193 <     NICK_CHANGES = 382,
194 <     NO_CREATE_ON_SPLIT = 383,
195 <     NO_JOIN_ON_SPLIT = 384,
196 <     NO_OPER_FLOOD = 385,
197 <     NO_TILDE = 386,
198 <     NOT = 387,
199 <     NUMBER = 388,
200 <     NUMBER_PER_IDENT = 389,
201 <     NUMBER_PER_CIDR = 390,
202 <     NUMBER_PER_IP = 391,
203 <     NUMBER_PER_IP_GLOBAL = 392,
204 <     OPERATOR = 393,
205 <     OPERS_BYPASS_CALLERID = 394,
206 <     OPER_LOG = 395,
207 <     OPER_ONLY_UMODES = 396,
208 <     OPER_PASS_RESV = 397,
209 <     OPER_SPY_T = 398,
210 <     OPER_UMODES = 399,
211 <     JOIN_FLOOD_COUNT = 400,
212 <     JOIN_FLOOD_TIME = 401,
213 <     PACE_WAIT = 402,
214 <     PACE_WAIT_SIMPLE = 403,
215 <     PASSWORD = 404,
216 <     PATH = 405,
217 <     PING_COOKIE = 406,
218 <     PING_TIME = 407,
219 <     PING_WARNING = 408,
220 <     PORT = 409,
221 <     QSTRING = 410,
222 <     QUIET_ON_BAN = 411,
223 <     REASON = 412,
224 <     REDIRPORT = 413,
225 <     REDIRSERV = 414,
226 <     REGEX_T = 415,
227 <     REHASH = 416,
228 <     TREJECT_HOLD_TIME = 417,
229 <     REMOTE = 418,
230 <     REMOTEBAN = 419,
231 <     RESTRICT_CHANNELS = 420,
232 <     RESTRICTED = 421,
233 <     RSA_PRIVATE_KEY_FILE = 422,
234 <     RSA_PUBLIC_KEY_FILE = 423,
235 <     SSL_CERTIFICATE_FILE = 424,
236 <     RESV = 425,
237 <     RESV_EXEMPT = 426,
238 <     SECONDS = 427,
239 <     MINUTES = 428,
240 <     HOURS = 429,
241 <     DAYS = 430,
242 <     WEEKS = 431,
243 <     SENDQ = 432,
244 <     SEND_PASSWORD = 433,
245 <     SERVERHIDE = 434,
246 <     SERVERINFO = 435,
247 <     SERVLINK_PATH = 436,
248 <     IRCD_SID = 437,
249 <     TKLINE_EXPIRE_NOTICES = 438,
250 <     T_SHARED = 439,
251 <     T_CLUSTER = 440,
252 <     TYPE = 441,
253 <     SHORT_MOTD = 442,
254 <     SILENT = 443,
255 <     SPOOF = 444,
256 <     SPOOF_NOTICE = 445,
257 <     STATS_E_DISABLED = 446,
258 <     STATS_I_OPER_ONLY = 447,
259 <     STATS_K_OPER_ONLY = 448,
260 <     STATS_O_OPER_ONLY = 449,
261 <     STATS_P_OPER_ONLY = 450,
262 <     TBOOL = 451,
263 <     TMASKED = 452,
264 <     T_REJECT = 453,
265 <     TS_MAX_DELTA = 454,
266 <     TS_WARN_DELTA = 455,
267 <     TWODOTS = 456,
268 <     T_ALL = 457,
269 <     T_BOTS = 458,
270 <     T_SOFTCALLERID = 459,
271 <     T_CALLERID = 460,
272 <     T_CCONN = 461,
273 <     T_CCONN_FULL = 462,
274 <     T_CLIENT_FLOOD = 463,
275 <     T_DEAF = 464,
276 <     T_DEBUG = 465,
277 <     T_DRONE = 466,
278 <     T_EXTERNAL = 467,
279 <     T_FULL = 468,
280 <     T_INVISIBLE = 469,
281 <     T_IPV4 = 470,
282 <     T_IPV6 = 471,
283 <     T_LOCOPS = 472,
284 <     T_LOGPATH = 473,
285 <     T_L_CRIT = 474,
286 <     T_L_DEBUG = 475,
287 <     T_L_ERROR = 476,
288 <     T_L_INFO = 477,
289 <     T_L_NOTICE = 478,
290 <     T_L_TRACE = 479,
291 <     T_L_WARN = 480,
292 <     T_MAX_CLIENTS = 481,
293 <     T_NCHANGE = 482,
294 <     T_OPERWALL = 483,
295 <     T_REJ = 484,
296 <     T_SERVER = 485,
297 <     T_SERVNOTICE = 486,
298 <     T_SKILL = 487,
299 <     T_SPY = 488,
300 <     T_SSL = 489,
301 <     T_UMODES = 490,
302 <     T_UNAUTH = 491,
303 <     T_UNRESV = 492,
304 <     T_UNXLINE = 493,
305 <     T_WALLOP = 494,
306 <     THROTTLE_TIME = 495,
307 <     TOPICBURST = 496,
308 <     TRUE_NO_OPER_FLOOD = 497,
309 <     TKLINE = 498,
310 <     TXLINE = 499,
311 <     TRESV = 500,
312 <     UNKLINE = 501,
313 <     USER = 502,
314 <     USE_EGD = 503,
315 <     USE_EXCEPT = 504,
316 <     USE_INVEX = 505,
317 <     USE_KNOCK = 506,
318 <     USE_LOGGING = 507,
319 <     USE_WHOIS_ACTUALLY = 508,
320 <     VHOST = 509,
321 <     VHOST6 = 510,
322 <     XLINE = 511,
323 <     WARN = 512,
324 <     WARN_NO_NLINE = 513
325 <   };
326 < #endif
327 < /* Tokens.  */
328 < #define ACCEPT_PASSWORD 258
329 < #define ACTION 259
330 < #define ADMIN 260
331 < #define AFTYPE 261
332 < #define T_ALLOW 262
333 < #define ANTI_NICK_FLOOD 263
334 < #define ANTI_SPAM_EXIT_MESSAGE_TIME 264
335 < #define AUTOCONN 265
336 < #define T_BLOCK 266
337 < #define BURST_AWAY 267
338 < #define BURST_TOPICWHO 268
339 < #define BYTES 269
340 < #define KBYTES 270
341 < #define MBYTES 271
342 < #define GBYTES 272
343 < #define TBYTES 273
344 < #define CALLER_ID_WAIT 274
345 < #define CAN_FLOOD 275
346 < #define CAN_IDLE 276
347 < #define CHANNEL 277
348 < #define CIDR_BITLEN_IPV4 278
349 < #define CIDR_BITLEN_IPV6 279
350 < #define CIPHER_PREFERENCE 280
351 < #define CLASS 281
352 < #define COMPRESSED 282
353 < #define COMPRESSION_LEVEL 283
354 < #define CONNECT 284
355 < #define CONNECTFREQ 285
356 < #define CRYPTLINK 286
357 < #define DEFAULT_CIPHER_PREFERENCE 287
358 < #define DEFAULT_FLOODCOUNT 288
359 < #define DEFAULT_SPLIT_SERVER_COUNT 289
360 < #define DEFAULT_SPLIT_USER_COUNT 290
361 < #define DENY 291
362 < #define DESCRIPTION 292
363 < #define DIE 293
364 < #define DISABLE_AUTH 294
365 < #define DISABLE_FAKE_CHANNELS 295
366 < #define DISABLE_HIDDEN 296
367 < #define DISABLE_LOCAL_CHANNELS 297
368 < #define DISABLE_REMOTE_COMMANDS 298
369 < #define DOT_IN_IP6_ADDR 299
370 < #define DOTS_IN_IDENT 300
371 < #define DURATION 301
372 < #define EGDPOOL_PATH 302
373 < #define EMAIL 303
374 < #define ENABLE 304
375 < #define ENCRYPTED 305
376 < #define EXCEED_LIMIT 306
377 < #define EXEMPT 307
378 < #define FAILED_OPER_NOTICE 308
379 < #define FAKENAME 309
380 < #define IRCD_FLAGS 310
381 < #define FLATTEN_LINKS 311
382 < #define FFAILED_OPERLOG 312
383 < #define FKILLLOG 313
384 < #define FKLINELOG 314
385 < #define FGLINELOG 315
386 < #define FIOERRLOG 316
387 < #define FOPERLOG 317
388 < #define FOPERSPYLOG 318
389 < #define FUSERLOG 319
390 < #define GECOS 320
391 < #define GENERAL 321
392 < #define GLINE 322
393 < #define GLINES 323
394 < #define GLINE_EXEMPT 324
395 < #define GLINE_LOG 325
396 < #define GLINE_TIME 326
397 < #define GLINE_MIN_CIDR 327
398 < #define GLINE_MIN_CIDR6 328
399 < #define GLOBAL_KILL 329
400 < #define IRCD_AUTH 330
401 < #define NEED_IDENT 331
402 < #define HAVENT_READ_CONF 332
403 < #define HIDDEN 333
404 < #define HIDDEN_ADMIN 334
405 < #define HIDDEN_NAME 335
406 < #define HIDDEN_OPER 336
407 < #define HIDE_SERVER_IPS 337
408 < #define HIDE_SERVERS 338
409 < #define HIDE_SPOOF_IPS 339
410 < #define HOST 340
411 < #define HUB 341
412 < #define HUB_MASK 342
413 < #define IDLETIME 343
414 < #define IGNORE_BOGUS_TS 344
415 < #define INVISIBLE_ON_CONNECT 345
416 < #define IP 346
417 < #define KILL 347
418 < #define KILL_CHASE_TIME_LIMIT 348
419 < #define KLINE 349
420 < #define KLINE_EXEMPT 350
421 < #define KLINE_REASON 351
422 < #define KLINE_WITH_REASON 352
423 < #define KNOCK_DELAY 353
424 < #define KNOCK_DELAY_CHANNEL 354
425 < #define LEAF_MASK 355
426 < #define LINKS_DELAY 356
427 < #define LISTEN 357
428 < #define T_LOG 358
429 < #define LOGGING 359
430 < #define LOG_LEVEL 360
431 < #define MAX_ACCEPT 361
432 < #define MAX_BANS 362
433 < #define MAX_CHANS_PER_USER 363
434 < #define MAX_GLOBAL 364
435 < #define MAX_IDENT 365
436 < #define MAX_LOCAL 366
437 < #define MAX_NICK_CHANGES 367
438 < #define MAX_NICK_TIME 368
439 < #define MAX_NUMBER 369
440 < #define MAX_TARGETS 370
441 < #define MAX_WATCH 371
442 < #define MESSAGE_LOCALE 372
443 < #define MIN_NONWILDCARD 373
444 < #define MIN_NONWILDCARD_SIMPLE 374
445 < #define MODULE 375
446 < #define MODULES 376
447 < #define NAME 377
448 < #define NEED_PASSWORD 378
449 < #define NETWORK_DESC 379
450 < #define NETWORK_NAME 380
451 < #define NICK 381
452 < #define NICK_CHANGES 382
453 < #define NO_CREATE_ON_SPLIT 383
454 < #define NO_JOIN_ON_SPLIT 384
455 < #define NO_OPER_FLOOD 385
456 < #define NO_TILDE 386
457 < #define NOT 387
458 < #define NUMBER 388
459 < #define NUMBER_PER_IDENT 389
460 < #define NUMBER_PER_CIDR 390
461 < #define NUMBER_PER_IP 391
462 < #define NUMBER_PER_IP_GLOBAL 392
463 < #define OPERATOR 393
464 < #define OPERS_BYPASS_CALLERID 394
465 < #define OPER_LOG 395
466 < #define OPER_ONLY_UMODES 396
467 < #define OPER_PASS_RESV 397
468 < #define OPER_SPY_T 398
469 < #define OPER_UMODES 399
470 < #define JOIN_FLOOD_COUNT 400
471 < #define JOIN_FLOOD_TIME 401
472 < #define PACE_WAIT 402
473 < #define PACE_WAIT_SIMPLE 403
474 < #define PASSWORD 404
475 < #define PATH 405
476 < #define PING_COOKIE 406
477 < #define PING_TIME 407
478 < #define PING_WARNING 408
479 < #define PORT 409
480 < #define QSTRING 410
481 < #define QUIET_ON_BAN 411
482 < #define REASON 412
483 < #define REDIRPORT 413
484 < #define REDIRSERV 414
485 < #define REGEX_T 415
486 < #define REHASH 416
487 < #define TREJECT_HOLD_TIME 417
488 < #define REMOTE 418
489 < #define REMOTEBAN 419
490 < #define RESTRICT_CHANNELS 420
491 < #define RESTRICTED 421
492 < #define RSA_PRIVATE_KEY_FILE 422
493 < #define RSA_PUBLIC_KEY_FILE 423
494 < #define SSL_CERTIFICATE_FILE 424
495 < #define RESV 425
496 < #define RESV_EXEMPT 426
497 < #define SECONDS 427
498 < #define MINUTES 428
499 < #define HOURS 429
500 < #define DAYS 430
501 < #define WEEKS 431
502 < #define SENDQ 432
503 < #define SEND_PASSWORD 433
504 < #define SERVERHIDE 434
505 < #define SERVERINFO 435
506 < #define SERVLINK_PATH 436
507 < #define IRCD_SID 437
508 < #define TKLINE_EXPIRE_NOTICES 438
509 < #define T_SHARED 439
510 < #define T_CLUSTER 440
511 < #define TYPE 441
512 < #define SHORT_MOTD 442
513 < #define SILENT 443
514 < #define SPOOF 444
515 < #define SPOOF_NOTICE 445
516 < #define STATS_E_DISABLED 446
517 < #define STATS_I_OPER_ONLY 447
518 < #define STATS_K_OPER_ONLY 448
519 < #define STATS_O_OPER_ONLY 449
520 < #define STATS_P_OPER_ONLY 450
521 < #define TBOOL 451
522 < #define TMASKED 452
523 < #define T_REJECT 453
524 < #define TS_MAX_DELTA 454
525 < #define TS_WARN_DELTA 455
526 < #define TWODOTS 456
527 < #define T_ALL 457
528 < #define T_BOTS 458
529 < #define T_SOFTCALLERID 459
530 < #define T_CALLERID 460
531 < #define T_CCONN 461
532 < #define T_CCONN_FULL 462
533 < #define T_CLIENT_FLOOD 463
534 < #define T_DEAF 464
535 < #define T_DEBUG 465
536 < #define T_DRONE 466
537 < #define T_EXTERNAL 467
538 < #define T_FULL 468
539 < #define T_INVISIBLE 469
540 < #define T_IPV4 470
541 < #define T_IPV6 471
542 < #define T_LOCOPS 472
543 < #define T_LOGPATH 473
544 < #define T_L_CRIT 474
545 < #define T_L_DEBUG 475
546 < #define T_L_ERROR 476
547 < #define T_L_INFO 477
548 < #define T_L_NOTICE 478
549 < #define T_L_TRACE 479
550 < #define T_L_WARN 480
551 < #define T_MAX_CLIENTS 481
552 < #define T_NCHANGE 482
553 < #define T_OPERWALL 483
554 < #define T_REJ 484
555 < #define T_SERVER 485
556 < #define T_SERVNOTICE 486
557 < #define T_SKILL 487
558 < #define T_SPY 488
559 < #define T_SSL 489
560 < #define T_UMODES 490
561 < #define T_UNAUTH 491
562 < #define T_UNRESV 492
563 < #define T_UNXLINE 493
564 < #define T_WALLOP 494
565 < #define THROTTLE_TIME 495
566 < #define TOPICBURST 496
567 < #define TRUE_NO_OPER_FLOOD 497
568 < #define TKLINE 498
569 < #define TXLINE 499
570 < #define TRESV 500
571 < #define UNKLINE 501
572 < #define USER 502
573 < #define USE_EGD 503
574 < #define USE_EXCEPT 504
575 < #define USE_INVEX 505
576 < #define USE_KNOCK 506
577 < #define USE_LOGGING 507
578 < #define USE_WHOIS_ACTUALLY 508
579 < #define VHOST 509
580 < #define VHOST6 510
581 < #define XLINE 511
582 < #define WARN 512
583 < #define WARN_NO_NLINE 513
58 > /* Pull parsers.  */
59 > #define YYPULL 1
60  
61  
62  
63  
64   /* Copy the first part of user declarations.  */
65 < #line 25 "ircd_parser.y"
65 > /* Line 371 of yacc.c  */
66 > #line 25 "conf_parser.y"
67  
68  
69   #define YY_NO_UNPUT
70   #include <sys/types.h>
71   #include <string.h>
72  
73 + #include "config.h"
74   #include "stdinc.h"
75   #include "ircd.h"
598 #include "tools.h"
76   #include "list.h"
77 < #include "s_conf.h"
77 > #include "conf.h"
78 > #include "conf_class.h"
79   #include "event.h"
80 < #include "s_log.h"
80 > #include "log.h"
81   #include "client.h"     /* for UMODE_ALL only */
604 #include "pcre.h"
82   #include "irc_string.h"
606 #include "irc_getaddrinfo.h"
607 #include "sprintf_irc.h"
83   #include "memory.h"
84   #include "modules.h"
85   #include "s_serv.h"
# Line 614 | Line 89
89   #include "resv.h"
90   #include "numeric.h"
91   #include "s_user.h"
92 + #include "motd.h"
93  
94   #ifdef HAVE_LIBCRYPTO
95   #include <openssl/rsa.h>
96   #include <openssl/bio.h>
97   #include <openssl/pem.h>
98 + #include <openssl/dh.h>
99   #endif
100  
101 < static char *class_name = NULL;
625 < static struct ConfItem *yy_conf = NULL;
626 < static struct AccessItem *yy_aconf = NULL;
627 < static struct MatchItem *yy_match_item = NULL;
628 < static struct ClassItem *yy_class = NULL;
629 < static char *yy_class_name = NULL;
630 <
631 < static dlink_list col_conf_list  = { NULL, NULL, 0 };
632 < static dlink_list hub_conf_list  = { NULL, NULL, 0 };
633 < static dlink_list leaf_conf_list = { NULL, NULL, 0 };
634 < static unsigned int listener_flags = 0;
635 < static unsigned int regex_ban = 0;
636 < static char userbuf[IRCD_BUFSIZE];
637 < static char hostbuf[IRCD_BUFSIZE];
638 < static char reasonbuf[REASONLEN + 1];
639 < static char gecos_name[REALLEN * 4];
640 <
641 < extern dlink_list gdeny_items; /* XXX */
642 <
643 < static char *resv_reason = NULL;
644 < static char *listener_address = NULL;
645 < static int not_atom = 0;
101 > #include "rsa.h"
102  
103 < struct CollectItem
648 < {
649 <  dlink_node node;
650 <  char *name;
651 <  char *user;
652 <  char *host;
653 <  char *passwd;
654 <  int  port;
655 <  int  flags;
656 < #ifdef HAVE_LIBCRYPTO
657 <  char *rsa_public_key_file;
658 <  RSA *rsa_public_key;
659 < #endif
660 < };
103 > int yylex(void);
104  
105 < static void
663 < free_collect_item(struct CollectItem *item)
105 > static struct
106   {
107 <  MyFree(item->name);
108 <  MyFree(item->user);
109 <  MyFree(item->host);
110 <  MyFree(item->passwd);
111 < #ifdef HAVE_LIBCRYPTO
112 <  MyFree(item->rsa_public_key_file);
113 < #endif
114 <  MyFree(item);
115 < }
107 >  struct {
108 >    dlink_list list;
109 >  } mask,
110 >    leaf,
111 >    hub;
112 >
113 >  struct {
114 >    char buf[IRCD_BUFSIZE];
115 >  } name,
116 >    user,
117 >    host,
118 >    addr,
119 >    bind,
120 >    file,
121 >    ciph,
122 >    cert,
123 >    rpass,
124 >    spass,
125 >    class;
126 >
127 >  struct {
128 >    unsigned int value;
129 >  } flags,
130 >    modes,
131 >    size,
132 >    type,
133 >    port,
134 >    aftype,
135 >    ping_freq,
136 >    max_perip,
137 >    con_freq,
138 >    min_idle,
139 >    max_idle,
140 >    max_total,
141 >    max_global,
142 >    max_local,
143 >    max_ident,
144 >    max_sendq,
145 >    max_recvq,
146 >    cidr_bitlen_ipv4,
147 >    cidr_bitlen_ipv6,
148 >    number_per_cidr;
149 > } block_state;
150  
151   static void
152 < unhook_hub_leaf_confs(void)
152 > reset_block_state(void)
153   {
154 <  dlink_node *ptr;
155 <  dlink_node *next_ptr;
156 <  struct CollectItem *yy_hconf;
157 <  struct CollectItem *yy_lconf;
154 >  dlink_node *ptr = NULL, *ptr_next = NULL;
155 >
156 >  DLINK_FOREACH_SAFE(ptr, ptr_next, block_state.mask.list.head)
157 >  {
158 >    MyFree(ptr->data);
159 >    dlinkDelete(ptr, &block_state.mask.list);
160 >    free_dlink_node(ptr);
161 >  }
162  
163 <  DLINK_FOREACH_SAFE(ptr, next_ptr, hub_conf_list.head)
163 >  DLINK_FOREACH_SAFE(ptr, ptr_next, block_state.leaf.list.head)
164    {
165 <    yy_hconf = ptr->data;
166 <    dlinkDelete(&yy_hconf->node, &hub_conf_list);
167 <    free_collect_item(yy_hconf);
165 >    MyFree(ptr->data);
166 >    dlinkDelete(ptr, &block_state.leaf.list);
167 >    free_dlink_node(ptr);
168    }
169  
170 <  DLINK_FOREACH_SAFE(ptr, next_ptr, leaf_conf_list.head)
170 >  DLINK_FOREACH_SAFE(ptr, ptr_next, block_state.hub.list.head)
171    {
172 <    yy_lconf = ptr->data;
173 <    dlinkDelete(&yy_lconf->node, &leaf_conf_list);
174 <    free_collect_item(yy_lconf);
172 >    MyFree(ptr->data);
173 >    dlinkDelete(ptr, &block_state.hub.list);
174 >    free_dlink_node(ptr);
175    }
176 +
177 +  memset(&block_state, 0, sizeof(block_state));
178   }
179  
180  
181 + /* Line 371 of yacc.c  */
182 + #line 183 "conf_parser.c"
183  
184 < /* Enabling traces.  */
185 < #ifndef YYDEBUG
186 < # define YYDEBUG 0
187 < #endif
184 > # ifndef YY_NULL
185 > #  if defined __cplusplus && 201103L <= __cplusplus
186 > #   define YY_NULL nullptr
187 > #  else
188 > #   define YY_NULL 0
189 > #  endif
190 > # endif
191  
192   /* Enabling verbose error messages.  */
193   #ifdef YYERROR_VERBOSE
# Line 710 | Line 197 | unhook_hub_leaf_confs(void)
197   # define YYERROR_VERBOSE 0
198   #endif
199  
200 < /* Enabling the token table.  */
201 < #ifndef YYTOKEN_TABLE
202 < # define YYTOKEN_TABLE 0
200 > /* In a future release of Bison, this section will be replaced
201 >   by #include "y.tab.h".  */
202 > #ifndef YY_YY_CONF_PARSER_H_INCLUDED
203 > # define YY_YY_CONF_PARSER_H_INCLUDED
204 > /* Enabling traces.  */
205 > #ifndef YYDEBUG
206 > # define YYDEBUG 0
207 > #endif
208 > #if YYDEBUG
209 > extern int yydebug;
210 > #endif
211 >
212 > /* Tokens.  */
213 > #ifndef YYTOKENTYPE
214 > # define YYTOKENTYPE
215 >   /* Put the tokens into the symbol table, so that GDB and other debuggers
216 >      know about them.  */
217 >   enum yytokentype {
218 >     ACCEPT_PASSWORD = 258,
219 >     ADMIN = 259,
220 >     AFTYPE = 260,
221 >     ANTI_NICK_FLOOD = 261,
222 >     ANTI_SPAM_EXIT_MESSAGE_TIME = 262,
223 >     AUTOCONN = 263,
224 >     BYTES = 264,
225 >     KBYTES = 265,
226 >     MBYTES = 266,
227 >     CALLER_ID_WAIT = 267,
228 >     CAN_FLOOD = 268,
229 >     CHANNEL = 269,
230 >     CIDR_BITLEN_IPV4 = 270,
231 >     CIDR_BITLEN_IPV6 = 271,
232 >     CLASS = 272,
233 >     CONNECT = 273,
234 >     CONNECTFREQ = 274,
235 >     CYCLE_ON_HOST_CHANGE = 275,
236 >     DEFAULT_FLOODCOUNT = 276,
237 >     DEFAULT_SPLIT_SERVER_COUNT = 277,
238 >     DEFAULT_SPLIT_USER_COUNT = 278,
239 >     DENY = 279,
240 >     DESCRIPTION = 280,
241 >     DIE = 281,
242 >     DISABLE_AUTH = 282,
243 >     DISABLE_FAKE_CHANNELS = 283,
244 >     DISABLE_REMOTE_COMMANDS = 284,
245 >     DOTS_IN_IDENT = 285,
246 >     EGDPOOL_PATH = 286,
247 >     EMAIL = 287,
248 >     ENCRYPTED = 288,
249 >     EXCEED_LIMIT = 289,
250 >     EXEMPT = 290,
251 >     FAILED_OPER_NOTICE = 291,
252 >     FLATTEN_LINKS = 292,
253 >     GECOS = 293,
254 >     GENERAL = 294,
255 >     GLINE = 295,
256 >     GLINE_DURATION = 296,
257 >     GLINE_ENABLE = 297,
258 >     GLINE_EXEMPT = 298,
259 >     GLINE_MIN_CIDR = 299,
260 >     GLINE_MIN_CIDR6 = 300,
261 >     GLINE_REQUEST_DURATION = 301,
262 >     GLOBAL_KILL = 302,
263 >     HAVENT_READ_CONF = 303,
264 >     HIDDEN = 304,
265 >     HIDDEN_NAME = 305,
266 >     HIDE_IDLE_FROM_OPERS = 306,
267 >     HIDE_SERVER_IPS = 307,
268 >     HIDE_SERVERS = 308,
269 >     HIDE_SERVICES = 309,
270 >     HIDE_SPOOF_IPS = 310,
271 >     HOST = 311,
272 >     HUB = 312,
273 >     HUB_MASK = 313,
274 >     IGNORE_BOGUS_TS = 314,
275 >     INVISIBLE_ON_CONNECT = 315,
276 >     IP = 316,
277 >     IRCD_AUTH = 317,
278 >     IRCD_FLAGS = 318,
279 >     IRCD_SID = 319,
280 >     JOIN_FLOOD_COUNT = 320,
281 >     JOIN_FLOOD_TIME = 321,
282 >     KILL = 322,
283 >     KILL_CHASE_TIME_LIMIT = 323,
284 >     KLINE = 324,
285 >     KLINE_EXEMPT = 325,
286 >     KNOCK_DELAY = 326,
287 >     KNOCK_DELAY_CHANNEL = 327,
288 >     LEAF_MASK = 328,
289 >     LINKS_DELAY = 329,
290 >     LISTEN = 330,
291 >     MASK = 331,
292 >     MAX_ACCEPT = 332,
293 >     MAX_BANS = 333,
294 >     MAX_CHANS_PER_OPER = 334,
295 >     MAX_CHANS_PER_USER = 335,
296 >     MAX_GLOBAL = 336,
297 >     MAX_IDENT = 337,
298 >     MAX_IDLE = 338,
299 >     MAX_LOCAL = 339,
300 >     MAX_NICK_CHANGES = 340,
301 >     MAX_NICK_LENGTH = 341,
302 >     MAX_NICK_TIME = 342,
303 >     MAX_NUMBER = 343,
304 >     MAX_TARGETS = 344,
305 >     MAX_TOPIC_LENGTH = 345,
306 >     MAX_WATCH = 346,
307 >     MIN_IDLE = 347,
308 >     MIN_NONWILDCARD = 348,
309 >     MIN_NONWILDCARD_SIMPLE = 349,
310 >     MODULE = 350,
311 >     MODULES = 351,
312 >     MOTD = 352,
313 >     NAME = 353,
314 >     NEED_IDENT = 354,
315 >     NEED_PASSWORD = 355,
316 >     NETWORK_DESC = 356,
317 >     NETWORK_NAME = 357,
318 >     NICK = 358,
319 >     NO_CREATE_ON_SPLIT = 359,
320 >     NO_JOIN_ON_SPLIT = 360,
321 >     NO_OPER_FLOOD = 361,
322 >     NO_TILDE = 362,
323 >     NUMBER = 363,
324 >     NUMBER_PER_CIDR = 364,
325 >     NUMBER_PER_IP = 365,
326 >     OPER_ONLY_UMODES = 366,
327 >     OPER_PASS_RESV = 367,
328 >     OPER_UMODES = 368,
329 >     OPERATOR = 369,
330 >     OPERS_BYPASS_CALLERID = 370,
331 >     PACE_WAIT = 371,
332 >     PACE_WAIT_SIMPLE = 372,
333 >     PASSWORD = 373,
334 >     PATH = 374,
335 >     PING_COOKIE = 375,
336 >     PING_TIME = 376,
337 >     PORT = 377,
338 >     QSTRING = 378,
339 >     RANDOM_IDLE = 379,
340 >     REASON = 380,
341 >     REDIRPORT = 381,
342 >     REDIRSERV = 382,
343 >     REHASH = 383,
344 >     REMOTE = 384,
345 >     REMOTEBAN = 385,
346 >     RESV = 386,
347 >     RESV_EXEMPT = 387,
348 >     RSA_PRIVATE_KEY_FILE = 388,
349 >     RSA_PUBLIC_KEY_FILE = 389,
350 >     SECONDS = 390,
351 >     MINUTES = 391,
352 >     HOURS = 392,
353 >     DAYS = 393,
354 >     WEEKS = 394,
355 >     MONTHS = 395,
356 >     YEARS = 396,
357 >     SEND_PASSWORD = 397,
358 >     SENDQ = 398,
359 >     SERVERHIDE = 399,
360 >     SERVERINFO = 400,
361 >     SHORT_MOTD = 401,
362 >     SPOOF = 402,
363 >     SPOOF_NOTICE = 403,
364 >     SQUIT = 404,
365 >     SSL_CERTIFICATE_FILE = 405,
366 >     SSL_CERTIFICATE_FINGERPRINT = 406,
367 >     SSL_CONNECTION_REQUIRED = 407,
368 >     SSL_DH_PARAM_FILE = 408,
369 >     STATS_E_DISABLED = 409,
370 >     STATS_I_OPER_ONLY = 410,
371 >     STATS_K_OPER_ONLY = 411,
372 >     STATS_O_OPER_ONLY = 412,
373 >     STATS_P_OPER_ONLY = 413,
374 >     STATS_U_OPER_ONLY = 414,
375 >     T_ALL = 415,
376 >     T_BOTS = 416,
377 >     T_CALLERID = 417,
378 >     T_CCONN = 418,
379 >     T_CLUSTER = 419,
380 >     T_DEAF = 420,
381 >     T_DEBUG = 421,
382 >     T_DLINE = 422,
383 >     T_EXTERNAL = 423,
384 >     T_FARCONNECT = 424,
385 >     T_FILE = 425,
386 >     T_FULL = 426,
387 >     T_GLOBOPS = 427,
388 >     T_INVISIBLE = 428,
389 >     T_IPV4 = 429,
390 >     T_IPV6 = 430,
391 >     T_LOCOPS = 431,
392 >     T_LOG = 432,
393 >     T_MAX_CLIENTS = 433,
394 >     T_NCHANGE = 434,
395 >     T_NONONREG = 435,
396 >     T_OPERWALL = 436,
397 >     T_RECVQ = 437,
398 >     T_REJ = 438,
399 >     T_RESTART = 439,
400 >     T_SERVER = 440,
401 >     T_SERVICE = 441,
402 >     T_SERVICES_NAME = 442,
403 >     T_SERVNOTICE = 443,
404 >     T_SET = 444,
405 >     T_SHARED = 445,
406 >     T_SIZE = 446,
407 >     T_SKILL = 447,
408 >     T_SOFTCALLERID = 448,
409 >     T_SPY = 449,
410 >     T_SSL = 450,
411 >     T_SSL_CIPHER_LIST = 451,
412 >     T_SSL_CLIENT_METHOD = 452,
413 >     T_SSL_SERVER_METHOD = 453,
414 >     T_SSLV3 = 454,
415 >     T_TLSV1 = 455,
416 >     T_UMODES = 456,
417 >     T_UNAUTH = 457,
418 >     T_UNDLINE = 458,
419 >     T_UNLIMITED = 459,
420 >     T_UNRESV = 460,
421 >     T_UNXLINE = 461,
422 >     T_WALLOP = 462,
423 >     T_WALLOPS = 463,
424 >     T_WEBIRC = 464,
425 >     TBOOL = 465,
426 >     THROTTLE_TIME = 466,
427 >     TKLINE_EXPIRE_NOTICES = 467,
428 >     TMASKED = 468,
429 >     TRUE_NO_OPER_FLOOD = 469,
430 >     TS_MAX_DELTA = 470,
431 >     TS_WARN_DELTA = 471,
432 >     TWODOTS = 472,
433 >     TYPE = 473,
434 >     UNKLINE = 474,
435 >     USE_EGD = 475,
436 >     USE_LOGGING = 476,
437 >     USER = 477,
438 >     VHOST = 478,
439 >     VHOST6 = 479,
440 >     WARN_NO_NLINE = 480,
441 >     XLINE = 481
442 >   };
443   #endif
444 + /* Tokens.  */
445 + #define ACCEPT_PASSWORD 258
446 + #define ADMIN 259
447 + #define AFTYPE 260
448 + #define ANTI_NICK_FLOOD 261
449 + #define ANTI_SPAM_EXIT_MESSAGE_TIME 262
450 + #define AUTOCONN 263
451 + #define BYTES 264
452 + #define KBYTES 265
453 + #define MBYTES 266
454 + #define CALLER_ID_WAIT 267
455 + #define CAN_FLOOD 268
456 + #define CHANNEL 269
457 + #define CIDR_BITLEN_IPV4 270
458 + #define CIDR_BITLEN_IPV6 271
459 + #define CLASS 272
460 + #define CONNECT 273
461 + #define CONNECTFREQ 274
462 + #define CYCLE_ON_HOST_CHANGE 275
463 + #define DEFAULT_FLOODCOUNT 276
464 + #define DEFAULT_SPLIT_SERVER_COUNT 277
465 + #define DEFAULT_SPLIT_USER_COUNT 278
466 + #define DENY 279
467 + #define DESCRIPTION 280
468 + #define DIE 281
469 + #define DISABLE_AUTH 282
470 + #define DISABLE_FAKE_CHANNELS 283
471 + #define DISABLE_REMOTE_COMMANDS 284
472 + #define DOTS_IN_IDENT 285
473 + #define EGDPOOL_PATH 286
474 + #define EMAIL 287
475 + #define ENCRYPTED 288
476 + #define EXCEED_LIMIT 289
477 + #define EXEMPT 290
478 + #define FAILED_OPER_NOTICE 291
479 + #define FLATTEN_LINKS 292
480 + #define GECOS 293
481 + #define GENERAL 294
482 + #define GLINE 295
483 + #define GLINE_DURATION 296
484 + #define GLINE_ENABLE 297
485 + #define GLINE_EXEMPT 298
486 + #define GLINE_MIN_CIDR 299
487 + #define GLINE_MIN_CIDR6 300
488 + #define GLINE_REQUEST_DURATION 301
489 + #define GLOBAL_KILL 302
490 + #define HAVENT_READ_CONF 303
491 + #define HIDDEN 304
492 + #define HIDDEN_NAME 305
493 + #define HIDE_IDLE_FROM_OPERS 306
494 + #define HIDE_SERVER_IPS 307
495 + #define HIDE_SERVERS 308
496 + #define HIDE_SERVICES 309
497 + #define HIDE_SPOOF_IPS 310
498 + #define HOST 311
499 + #define HUB 312
500 + #define HUB_MASK 313
501 + #define IGNORE_BOGUS_TS 314
502 + #define INVISIBLE_ON_CONNECT 315
503 + #define IP 316
504 + #define IRCD_AUTH 317
505 + #define IRCD_FLAGS 318
506 + #define IRCD_SID 319
507 + #define JOIN_FLOOD_COUNT 320
508 + #define JOIN_FLOOD_TIME 321
509 + #define KILL 322
510 + #define KILL_CHASE_TIME_LIMIT 323
511 + #define KLINE 324
512 + #define KLINE_EXEMPT 325
513 + #define KNOCK_DELAY 326
514 + #define KNOCK_DELAY_CHANNEL 327
515 + #define LEAF_MASK 328
516 + #define LINKS_DELAY 329
517 + #define LISTEN 330
518 + #define MASK 331
519 + #define MAX_ACCEPT 332
520 + #define MAX_BANS 333
521 + #define MAX_CHANS_PER_OPER 334
522 + #define MAX_CHANS_PER_USER 335
523 + #define MAX_GLOBAL 336
524 + #define MAX_IDENT 337
525 + #define MAX_IDLE 338
526 + #define MAX_LOCAL 339
527 + #define MAX_NICK_CHANGES 340
528 + #define MAX_NICK_LENGTH 341
529 + #define MAX_NICK_TIME 342
530 + #define MAX_NUMBER 343
531 + #define MAX_TARGETS 344
532 + #define MAX_TOPIC_LENGTH 345
533 + #define MAX_WATCH 346
534 + #define MIN_IDLE 347
535 + #define MIN_NONWILDCARD 348
536 + #define MIN_NONWILDCARD_SIMPLE 349
537 + #define MODULE 350
538 + #define MODULES 351
539 + #define MOTD 352
540 + #define NAME 353
541 + #define NEED_IDENT 354
542 + #define NEED_PASSWORD 355
543 + #define NETWORK_DESC 356
544 + #define NETWORK_NAME 357
545 + #define NICK 358
546 + #define NO_CREATE_ON_SPLIT 359
547 + #define NO_JOIN_ON_SPLIT 360
548 + #define NO_OPER_FLOOD 361
549 + #define NO_TILDE 362
550 + #define NUMBER 363
551 + #define NUMBER_PER_CIDR 364
552 + #define NUMBER_PER_IP 365
553 + #define OPER_ONLY_UMODES 366
554 + #define OPER_PASS_RESV 367
555 + #define OPER_UMODES 368
556 + #define OPERATOR 369
557 + #define OPERS_BYPASS_CALLERID 370
558 + #define PACE_WAIT 371
559 + #define PACE_WAIT_SIMPLE 372
560 + #define PASSWORD 373
561 + #define PATH 374
562 + #define PING_COOKIE 375
563 + #define PING_TIME 376
564 + #define PORT 377
565 + #define QSTRING 378
566 + #define RANDOM_IDLE 379
567 + #define REASON 380
568 + #define REDIRPORT 381
569 + #define REDIRSERV 382
570 + #define REHASH 383
571 + #define REMOTE 384
572 + #define REMOTEBAN 385
573 + #define RESV 386
574 + #define RESV_EXEMPT 387
575 + #define RSA_PRIVATE_KEY_FILE 388
576 + #define RSA_PUBLIC_KEY_FILE 389
577 + #define SECONDS 390
578 + #define MINUTES 391
579 + #define HOURS 392
580 + #define DAYS 393
581 + #define WEEKS 394
582 + #define MONTHS 395
583 + #define YEARS 396
584 + #define SEND_PASSWORD 397
585 + #define SENDQ 398
586 + #define SERVERHIDE 399
587 + #define SERVERINFO 400
588 + #define SHORT_MOTD 401
589 + #define SPOOF 402
590 + #define SPOOF_NOTICE 403
591 + #define SQUIT 404
592 + #define SSL_CERTIFICATE_FILE 405
593 + #define SSL_CERTIFICATE_FINGERPRINT 406
594 + #define SSL_CONNECTION_REQUIRED 407
595 + #define SSL_DH_PARAM_FILE 408
596 + #define STATS_E_DISABLED 409
597 + #define STATS_I_OPER_ONLY 410
598 + #define STATS_K_OPER_ONLY 411
599 + #define STATS_O_OPER_ONLY 412
600 + #define STATS_P_OPER_ONLY 413
601 + #define STATS_U_OPER_ONLY 414
602 + #define T_ALL 415
603 + #define T_BOTS 416
604 + #define T_CALLERID 417
605 + #define T_CCONN 418
606 + #define T_CLUSTER 419
607 + #define T_DEAF 420
608 + #define T_DEBUG 421
609 + #define T_DLINE 422
610 + #define T_EXTERNAL 423
611 + #define T_FARCONNECT 424
612 + #define T_FILE 425
613 + #define T_FULL 426
614 + #define T_GLOBOPS 427
615 + #define T_INVISIBLE 428
616 + #define T_IPV4 429
617 + #define T_IPV6 430
618 + #define T_LOCOPS 431
619 + #define T_LOG 432
620 + #define T_MAX_CLIENTS 433
621 + #define T_NCHANGE 434
622 + #define T_NONONREG 435
623 + #define T_OPERWALL 436
624 + #define T_RECVQ 437
625 + #define T_REJ 438
626 + #define T_RESTART 439
627 + #define T_SERVER 440
628 + #define T_SERVICE 441
629 + #define T_SERVICES_NAME 442
630 + #define T_SERVNOTICE 443
631 + #define T_SET 444
632 + #define T_SHARED 445
633 + #define T_SIZE 446
634 + #define T_SKILL 447
635 + #define T_SOFTCALLERID 448
636 + #define T_SPY 449
637 + #define T_SSL 450
638 + #define T_SSL_CIPHER_LIST 451
639 + #define T_SSL_CLIENT_METHOD 452
640 + #define T_SSL_SERVER_METHOD 453
641 + #define T_SSLV3 454
642 + #define T_TLSV1 455
643 + #define T_UMODES 456
644 + #define T_UNAUTH 457
645 + #define T_UNDLINE 458
646 + #define T_UNLIMITED 459
647 + #define T_UNRESV 460
648 + #define T_UNXLINE 461
649 + #define T_WALLOP 462
650 + #define T_WALLOPS 463
651 + #define T_WEBIRC 464
652 + #define TBOOL 465
653 + #define THROTTLE_TIME 466
654 + #define TKLINE_EXPIRE_NOTICES 467
655 + #define TMASKED 468
656 + #define TRUE_NO_OPER_FLOOD 469
657 + #define TS_MAX_DELTA 470
658 + #define TS_WARN_DELTA 471
659 + #define TWODOTS 472
660 + #define TYPE 473
661 + #define UNKLINE 474
662 + #define USE_EGD 475
663 + #define USE_LOGGING 476
664 + #define USER 477
665 + #define VHOST 478
666 + #define VHOST6 479
667 + #define WARN_NO_NLINE 480
668 + #define XLINE 481
669 +
670 +
671  
672   #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
673   typedef union YYSTYPE
720 #line 135 "ircd_parser.y"
674   {
675 + /* Line 387 of yacc.c  */
676 + #line 140 "conf_parser.y"
677 +
678    int number;
679    char *string;
680 < }
681 < /* Line 193 of yacc.c.  */
682 < #line 727 "ircd_parser.c"
683 <        YYSTYPE;
680 >
681 >
682 > /* Line 387 of yacc.c  */
683 > #line 684 "conf_parser.c"
684 > } YYSTYPE;
685 > # define YYSTYPE_IS_TRIVIAL 1
686   # define yystype YYSTYPE /* obsolescent; will be withdrawn */
687   # define YYSTYPE_IS_DECLARED 1
730 # define YYSTYPE_IS_TRIVIAL 1
688   #endif
689  
690 + extern YYSTYPE yylval;
691  
692 + #ifdef YYPARSE_PARAM
693 + #if defined __STDC__ || defined __cplusplus
694 + int yyparse (void *YYPARSE_PARAM);
695 + #else
696 + int yyparse ();
697 + #endif
698 + #else /* ! YYPARSE_PARAM */
699 + #if defined __STDC__ || defined __cplusplus
700 + int yyparse (void);
701 + #else
702 + int yyparse ();
703 + #endif
704 + #endif /* ! YYPARSE_PARAM */
705  
706 < /* Copy the second part of user declarations.  */
706 > #endif /* !YY_YY_CONF_PARSER_H_INCLUDED  */
707  
708 + /* Copy the second part of user declarations.  */
709  
710 < /* Line 216 of yacc.c.  */
711 < #line 740 "ircd_parser.c"
710 > /* Line 390 of yacc.c  */
711 > #line 712 "conf_parser.c"
712  
713   #ifdef short
714   # undef short
# Line 786 | Line 758 | typedef short int yytype_int16;
758   #define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
759  
760   #ifndef YY_
761 < # if YYENABLE_NLS
761 > # if defined YYENABLE_NLS && YYENABLE_NLS
762   #  if ENABLE_NLS
763   #   include <libintl.h> /* INFRINGES ON USER NAME SPACE */
764 < #   define YY_(msgid) dgettext ("bison-runtime", msgid)
764 > #   define YY_(Msgid) dgettext ("bison-runtime", Msgid)
765   #  endif
766   # endif
767   # ifndef YY_
768 < #  define YY_(msgid) msgid
768 > #  define YY_(Msgid) Msgid
769 > # endif
770 > #endif
771 >
772 > #ifndef __attribute__
773 > /* This feature is available in gcc versions 2.5 and later.  */
774 > # if (! defined __GNUC__ || __GNUC__ < 2 \
775 >      || (__GNUC__ == 2 && __GNUC_MINOR__ < 5))
776 > #  define __attribute__(Spec) /* empty */
777   # endif
778   #endif
779  
780   /* Suppress unused-variable warnings by "using" E.  */
781   #if ! defined lint || defined __GNUC__
782 < # define YYUSE(e) ((void) (e))
782 > # define YYUSE(E) ((void) (E))
783   #else
784 < # define YYUSE(e) /* empty */
784 > # define YYUSE(E) /* empty */
785   #endif
786  
787 +
788   /* Identity function, used to suppress warnings about constant conditions.  */
789   #ifndef lint
790 < # define YYID(n) (n)
790 > # define YYID(N) (N)
791   #else
792   #if (defined __STDC__ || defined __C99__FUNC__ \
793       || defined __cplusplus || defined _MSC_VER)
794   static int
795 < YYID (int i)
795 > YYID (int yyi)
796   #else
797   static int
798 < YYID (i)
799 <    int i;
798 > YYID (yyi)
799 >    int yyi;
800   #endif
801   {
802 <  return i;
802 >  return yyi;
803   }
804   #endif
805  
# Line 839 | Line 820 | YYID (i)
820   #    define alloca _alloca
821   #   else
822   #    define YYSTACK_ALLOC alloca
823 < #    if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
823 > #    if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
824       || defined __cplusplus || defined _MSC_VER)
825   #     include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
826 < #     ifndef _STDLIB_H
827 < #      define _STDLIB_H 1
826 >      /* Use EXIT_SUCCESS as a witness for stdlib.h.  */
827 > #     ifndef EXIT_SUCCESS
828 > #      define EXIT_SUCCESS 0
829   #     endif
830   #    endif
831   #   endif
# Line 866 | Line 848 | YYID (i)
848   #  ifndef YYSTACK_ALLOC_MAXIMUM
849   #   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
850   #  endif
851 < #  if (defined __cplusplus && ! defined _STDLIB_H \
851 > #  if (defined __cplusplus && ! defined EXIT_SUCCESS \
852         && ! ((defined YYMALLOC || defined malloc) \
853               && (defined YYFREE || defined free)))
854   #   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
855 < #   ifndef _STDLIB_H
856 < #    define _STDLIB_H 1
855 > #   ifndef EXIT_SUCCESS
856 > #    define EXIT_SUCCESS 0
857   #   endif
858   #  endif
859   #  ifndef YYMALLOC
860   #   define YYMALLOC malloc
861 < #   if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
861 > #   if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
862       || defined __cplusplus || defined _MSC_VER)
863   void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
864   #   endif
865   #  endif
866   #  ifndef YYFREE
867   #   define YYFREE free
868 < #   if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
868 > #   if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
869       || defined __cplusplus || defined _MSC_VER)
870   void free (void *); /* INFRINGES ON USER NAME SPACE */
871   #   endif
# Line 899 | Line 881 | void free (void *); /* INFRINGES ON USER
881   /* A type that is properly aligned for any stack member.  */
882   union yyalloc
883   {
884 <  yytype_int16 yyss;
885 <  YYSTYPE yyvs;
886 <  };
884 >  yytype_int16 yyss_alloc;
885 >  YYSTYPE yyvs_alloc;
886 > };
887  
888   /* The size of the maximum gap between one aligned stack and the next.  */
889   # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
# Line 912 | Line 894 | union yyalloc
894       ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
895        + YYSTACK_GAP_MAXIMUM)
896  
897 < /* Copy COUNT objects from FROM to TO.  The source and destination do
916 <   not overlap.  */
917 < # ifndef YYCOPY
918 < #  if defined __GNUC__ && 1 < __GNUC__
919 < #   define YYCOPY(To, From, Count) \
920 <      __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
921 < #  else
922 < #   define YYCOPY(To, From, Count)              \
923 <      do                                        \
924 <        {                                       \
925 <          YYSIZE_T yyi;                         \
926 <          for (yyi = 0; yyi < (Count); yyi++)   \
927 <            (To)[yyi] = (From)[yyi];            \
928 <        }                                       \
929 <      while (YYID (0))
930 < #  endif
931 < # endif
897 > # define YYCOPY_NEEDED 1
898  
899   /* Relocate STACK from its old location to the new one.  The
900     local variables YYSIZE and YYSTACKSIZE give the old and new number of
901     elements in the stack, and YYPTR gives the new location of the
902     stack.  Advance YYPTR to a properly aligned location for the next
903     stack.  */
904 < # define YYSTACK_RELOCATE(Stack)                                        \
904 > # define YYSTACK_RELOCATE(Stack_alloc, Stack)                           \
905      do                                                                  \
906        {                                                                 \
907          YYSIZE_T yynewbytes;                                            \
908 <        YYCOPY (&yyptr->Stack, Stack, yysize);                          \
909 <        Stack = &yyptr->Stack;                                          \
908 >        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
909 >        Stack = &yyptr->Stack_alloc;                                    \
910          yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
911          yyptr += yynewbytes / sizeof (*yyptr);                          \
912        }                                                                 \
# Line 948 | Line 914 | union yyalloc
914  
915   #endif
916  
917 + #if defined YYCOPY_NEEDED && YYCOPY_NEEDED
918 + /* Copy COUNT objects from SRC to DST.  The source and destination do
919 +   not overlap.  */
920 + # ifndef YYCOPY
921 + #  if defined __GNUC__ && 1 < __GNUC__
922 + #   define YYCOPY(Dst, Src, Count) \
923 +      __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
924 + #  else
925 + #   define YYCOPY(Dst, Src, Count)              \
926 +      do                                        \
927 +        {                                       \
928 +          YYSIZE_T yyi;                         \
929 +          for (yyi = 0; yyi < (Count); yyi++)   \
930 +            (Dst)[yyi] = (Src)[yyi];            \
931 +        }                                       \
932 +      while (YYID (0))
933 + #  endif
934 + # endif
935 + #endif /* !YYCOPY_NEEDED */
936 +
937   /* YYFINAL -- State number of the termination state.  */
938   #define YYFINAL  2
939   /* YYLAST -- Last index in YYTABLE.  */
940 < #define YYLAST   1410
940 > #define YYLAST   1274
941  
942   /* YYNTOKENS -- Number of terminals.  */
943 < #define YYNTOKENS  264
943 > #define YYNTOKENS  233
944   /* YYNNTS -- Number of nonterminals.  */
945 < #define YYNNTS  342
945 > #define YYNNTS  291
946   /* YYNRULES -- Number of rules.  */
947 < #define YYNRULES  736
947 > #define YYNRULES  654
948   /* YYNRULES -- Number of states.  */
949 < #define YYNSTATES  1483
949 > #define YYNSTATES  1285
950  
951   /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */
952   #define YYUNDEFTOK  2
953 < #define YYMAXUTOK   513
953 > #define YYMAXUTOK   481
954  
955   #define YYTRANSLATE(YYX)                                                \
956    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
957  
958   /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */
959 < static const yytype_uint16 yytranslate[] =
959 > static const yytype_uint8 yytranslate[] =
960   {
961         0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
962         2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
963         2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
964         2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
965 <       2,     2,     2,     2,   263,     2,     2,     2,     2,     2,
966 <       2,     2,     2,     2,     2,     2,     2,     2,     2,   259,
967 <       2,   262,     2,     2,     2,     2,     2,     2,     2,     2,
965 >       2,     2,     2,     2,   231,     2,     2,     2,     2,     2,
966 >       2,     2,     2,     2,     2,     2,     2,     2,   232,   227,
967 >       2,   230,     2,     2,     2,     2,     2,     2,     2,     2,
968         2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
969         2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
970         2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
971         2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
972         2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
973 <       2,     2,     2,   261,     2,   260,     2,     2,     2,     2,
973 >       2,     2,     2,   229,     2,   228,     2,     2,     2,     2,
974         2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
975         2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
976         2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
# Line 1020 | Line 1006 | static const yytype_uint16 yytranslate[]
1006       195,   196,   197,   198,   199,   200,   201,   202,   203,   204,
1007       205,   206,   207,   208,   209,   210,   211,   212,   213,   214,
1008       215,   216,   217,   218,   219,   220,   221,   222,   223,   224,
1009 <     225,   226,   227,   228,   229,   230,   231,   232,   233,   234,
1024 <     235,   236,   237,   238,   239,   240,   241,   242,   243,   244,
1025 <     245,   246,   247,   248,   249,   250,   251,   252,   253,   254,
1026 <     255,   256,   257,   258
1009 >     225,   226
1010   };
1011  
1012   #if YYDEBUG
# Line 1033 | Line 1016 | static const yytype_uint16 yyprhs[] =
1016   {
1017         0,     0,     3,     4,     7,     9,    11,    13,    15,    17,
1018        19,    21,    23,    25,    27,    29,    31,    33,    35,    37,
1019 <      39,    41,    43,    45,    47,    50,    53,    54,    56,    59,
1020 <      63,    67,    71,    75,    79,    80,    82,    85,    89,    93,
1021 <      97,   103,   106,   108,   110,   112,   115,   120,   125,   131,
1022 <     134,   136,   138,   140,   142,   144,   146,   148,   150,   152,
1023 <     154,   156,   158,   161,   166,   171,   176,   181,   186,   191,
1024 <     196,   201,   206,   211,   216,   222,   225,   227,   229,   231,
1025 <     233,   236,   241,   246,   251,   257,   260,   262,   264,   266,
1026 <     268,   270,   272,   274,   276,   278,   280,   282,   284,   286,
1027 <     289,   294,   299,   304,   309,   314,   319,   324,   329,   334,
1028 <     339,   344,   349,   354,   359,   364,   369,   374,   379,   380,
1029 <     388,   389,   391,   394,   396,   398,   400,   402,   404,   406,
1030 <     408,   410,   412,   414,   416,   418,   420,   422,   424,   426,
1031 <     428,   430,   432,   434,   436,   438,   440,   443,   448,   450,
1032 <     455,   460,   465,   470,   475,   476,   482,   486,   488,   490,
1033 <     492,   494,   496,   498,   500,   502,   504,   506,   508,   510,
1034 <     512,   514,   516,   518,   520,   522,   524,   526,   531,   536,
1035 <     541,   546,   551,   556,   561,   566,   571,   576,   581,   586,
1036 <     591,   596,   597,   603,   607,   609,   610,   614,   615,   618,
1037 <     620,   622,   624,   626,   628,   630,   632,   634,   636,   638,
1038 <     640,   642,   644,   646,   648,   650,   651,   659,   660,   662,
1039 <     665,   667,   669,   671,   673,   675,   677,   679,   681,   683,
1040 <     685,   687,   689,   691,   693,   696,   701,   703,   708,   713,
1041 <     718,   723,   728,   733,   738,   743,   748,   753,   758,   763,
1042 <     764,   771,   772,   778,   782,   784,   786,   788,   790,   793,
1043 <     795,   797,   799,   801,   803,   806,   807,   813,   817,   819,
1044 <     821,   825,   830,   835,   836,   843,   846,   848,   850,   852,
1045 <     854,   856,   858,   860,   862,   864,   866,   868,   870,   872,
1046 <     874,   876,   878,   880,   883,   888,   893,   898,   903,   908,
1047 <     909,   915,   919,   921,   922,   926,   927,   930,   932,   934,
1048 <     936,   938,   940,   942,   944,   946,   948,   950,   955,   960,
1049 <     965,   970,   975,   980,   985,   990,   995,  1000,  1001,  1008,
1050 <    1011,  1013,  1015,  1017,  1019,  1022,  1027,  1032,  1037,  1038,
1051 <    1045,  1048,  1050,  1052,  1054,  1056,  1059,  1064,  1069,  1070,
1052 <    1076,  1080,  1082,  1084,  1086,  1088,  1090,  1092,  1094,  1096,
1053 <    1098,  1100,  1102,  1104,  1105,  1112,  1115,  1117,  1119,  1121,
1054 <    1124,  1129,  1130,  1136,  1140,  1142,  1144,  1146,  1148,  1150,
1055 <    1152,  1154,  1156,  1158,  1160,  1162,  1164,  1165,  1173,  1174,
1056 <    1176,  1179,  1181,  1183,  1185,  1187,  1189,  1191,  1193,  1195,
1057 <    1197,  1199,  1201,  1203,  1205,  1207,  1209,  1211,  1213,  1215,
1058 <    1217,  1219,  1222,  1227,  1229,  1234,  1239,  1244,  1249,  1254,
1059 <    1259,  1264,  1269,  1270,  1276,  1280,  1282,  1283,  1287,  1288,
1060 <    1291,  1293,  1295,  1297,  1299,  1301,  1306,  1311,  1316,  1321,
1061 <    1326,  1331,  1336,  1341,  1346,  1351,  1352,  1359,  1360,  1366,
1062 <    1370,  1372,  1374,  1377,  1379,  1381,  1383,  1385,  1387,  1392,
1063 <    1397,  1398,  1405,  1408,  1410,  1412,  1414,  1416,  1421,  1426,
1064 <    1432,  1435,  1437,  1439,  1441,  1446,  1447,  1454,  1455,  1461,
1065 <    1465,  1467,  1469,  1472,  1474,  1476,  1478,  1480,  1482,  1487,
1066 <    1492,  1498,  1501,  1503,  1505,  1507,  1509,  1511,  1513,  1515,
1067 <    1517,  1519,  1521,  1523,  1525,  1527,  1529,  1531,  1533,  1535,
1068 <    1537,  1539,  1541,  1543,  1545,  1547,  1549,  1551,  1553,  1555,
1069 <    1557,  1559,  1561,  1563,  1565,  1567,  1569,  1571,  1573,  1575,
1070 <    1577,  1579,  1581,  1583,  1585,  1587,  1589,  1591,  1593,  1595,
1071 <    1597,  1599,  1601,  1603,  1605,  1607,  1609,  1611,  1613,  1615,
1072 <    1617,  1622,  1627,  1632,  1637,  1642,  1647,  1652,  1657,  1662,
1073 <    1667,  1672,  1677,  1682,  1687,  1692,  1697,  1702,  1707,  1712,
1074 <    1717,  1722,  1727,  1732,  1737,  1742,  1747,  1752,  1757,  1762,
1075 <    1767,  1772,  1777,  1782,  1787,  1792,  1797,  1802,  1807,  1812,
1076 <    1817,  1822,  1827,  1832,  1837,  1842,  1847,  1852,  1857,  1862,
1077 <    1867,  1872,  1873,  1879,  1883,  1885,  1887,  1889,  1891,  1893,
1078 <    1895,  1897,  1899,  1901,  1903,  1905,  1907,  1909,  1911,  1913,
1079 <    1915,  1917,  1919,  1921,  1923,  1924,  1930,  1934,  1936,  1938,
1080 <    1940,  1942,  1944,  1946,  1948,  1950,  1952,  1954,  1956,  1958,
1081 <    1960,  1962,  1964,  1966,  1968,  1970,  1972,  1974,  1979,  1984,
1082 <    1989,  1994,  1999,  2000,  2007,  2010,  2012,  2014,  2016,  2018,
1100 <    2020,  2022,  2024,  2026,  2031,  2036,  2037,  2043,  2047,  2049,
1101 <    2051,  2053,  2058,  2063,  2064,  2070,  2074,  2076,  2078,  2080,
1102 <    2086,  2089,  2091,  2093,  2095,  2097,  2099,  2101,  2103,  2105,
1103 <    2107,  2109,  2111,  2113,  2115,  2117,  2119,  2121,  2123,  2125,
1104 <    2127,  2129,  2134,  2139,  2144,  2149,  2154,  2159,  2164,  2169,
1105 <    2174,  2179,  2184,  2189,  2194,  2199,  2204,  2209,  2214,  2219,
1106 <    2225,  2228,  2230,  2232,  2234,  2236,  2238,  2240,  2242,  2244,
1107 <    2246,  2251,  2256,  2261,  2266,  2271,  2276
1019 >      39,    41,    43,    45,    47,    49,    52,    55,    56,    58,
1020 >      61,    65,    69,    73,    77,    81,    85,    89,    90,    92,
1021 >      95,    99,   103,   107,   113,   116,   118,   120,   122,   125,
1022 >     130,   135,   141,   144,   146,   148,   150,   152,   154,   156,
1023 >     158,   160,   162,   164,   166,   168,   170,   172,   174,   176,
1024 >     178,   180,   183,   188,   193,   197,   199,   201,   203,   207,
1025 >     209,   211,   213,   218,   223,   228,   233,   238,   243,   248,
1026 >     253,   258,   263,   268,   273,   278,   283,   288,   294,   297,
1027 >     299,   301,   303,   305,   308,   313,   318,   323,   324,   331,
1028 >     334,   336,   338,   340,   343,   348,   353,   359,   362,   364,
1029 >     366,   368,   371,   376,   377,   384,   387,   389,   391,   393,
1030 >     395,   398,   403,   408,   413,   414,   420,   424,   426,   428,
1031 >     430,   432,   434,   436,   438,   440,   441,   448,   451,   453,
1032 >     455,   457,   459,   461,   463,   465,   467,   469,   471,   473,
1033 >     476,   481,   486,   491,   496,   501,   506,   511,   516,   517,
1034 >     523,   527,   529,   531,   533,   535,   537,   539,   541,   543,
1035 >     545,   547,   549,   551,   553,   555,   557,   559,   561,   563,
1036 >     565,   567,   569,   571,   572,   578,   582,   584,   588,   590,
1037 >     594,   596,   600,   602,   604,   606,   608,   610,   612,   614,
1038 >     616,   618,   620,   622,   624,   626,   628,   630,   632,   634,
1039 >     636,   637,   644,   647,   649,   651,   653,   655,   657,   659,
1040 >     661,   663,   665,   667,   669,   671,   673,   675,   677,   679,
1041 >     681,   684,   689,   694,   699,   704,   709,   714,   719,   724,
1042 >     729,   734,   739,   744,   749,   754,   759,   760,   766,   770,
1043 >     772,   774,   776,   777,   784,   785,   791,   795,   797,   799,
1044 >     801,   803,   806,   808,   810,   812,   814,   816,   819,   820,
1045 >     826,   830,   832,   834,   838,   843,   848,   849,   856,   859,
1046 >     861,   863,   865,   867,   869,   871,   873,   875,   877,   880,
1047 >     885,   890,   895,   900,   901,   907,   911,   913,   915,   917,
1048 >     919,   921,   923,   925,   927,   929,   931,   933,   938,   943,
1049 >     948,   949,   956,   959,   961,   963,   965,   967,   970,   975,
1050 >     980,   985,   991,   994,   996,   998,  1000,  1005,  1006,  1013,
1051 >    1016,  1018,  1020,  1022,  1024,  1027,  1032,  1037,  1038,  1044,
1052 >    1048,  1050,  1052,  1054,  1056,  1058,  1060,  1062,  1064,  1066,
1053 >    1068,  1070,  1071,  1078,  1081,  1083,  1085,  1087,  1090,  1095,
1054 >    1096,  1102,  1106,  1108,  1110,  1112,  1114,  1116,  1118,  1120,
1055 >    1122,  1124,  1126,  1128,  1129,  1136,  1139,  1141,  1143,  1145,
1056 >    1147,  1149,  1151,  1153,  1155,  1157,  1159,  1161,  1163,  1165,
1057 >    1167,  1169,  1172,  1177,  1182,  1187,  1192,  1197,  1202,  1207,
1058 >    1212,  1217,  1218,  1224,  1228,  1230,  1232,  1234,  1239,  1244,
1059 >    1249,  1254,  1259,  1260,  1267,  1270,  1272,  1274,  1276,  1278,
1060 >    1283,  1288,  1289,  1296,  1299,  1301,  1303,  1305,  1307,  1312,
1061 >    1317,  1323,  1326,  1328,  1330,  1332,  1337,  1338,  1345,  1348,
1062 >    1350,  1352,  1354,  1356,  1361,  1366,  1372,  1375,  1377,  1379,
1063 >    1381,  1383,  1385,  1387,  1389,  1391,  1393,  1395,  1397,  1399,
1064 >    1401,  1403,  1405,  1407,  1409,  1411,  1413,  1415,  1417,  1419,
1065 >    1421,  1423,  1425,  1427,  1429,  1431,  1433,  1435,  1437,  1439,
1066 >    1441,  1443,  1445,  1447,  1449,  1451,  1453,  1455,  1457,  1459,
1067 >    1461,  1463,  1465,  1467,  1469,  1471,  1473,  1475,  1477,  1482,
1068 >    1487,  1492,  1497,  1502,  1507,  1512,  1517,  1522,  1527,  1532,
1069 >    1537,  1542,  1547,  1552,  1557,  1562,  1567,  1572,  1577,  1582,
1070 >    1587,  1592,  1597,  1602,  1607,  1612,  1617,  1622,  1627,  1632,
1071 >    1637,  1642,  1647,  1652,  1657,  1662,  1667,  1672,  1677,  1682,
1072 >    1687,  1692,  1697,  1702,  1707,  1708,  1714,  1718,  1720,  1722,
1073 >    1724,  1726,  1728,  1730,  1732,  1734,  1736,  1738,  1740,  1742,
1074 >    1744,  1746,  1748,  1750,  1752,  1754,  1756,  1758,  1760,  1762,
1075 >    1763,  1769,  1773,  1775,  1777,  1779,  1781,  1783,  1785,  1787,
1076 >    1789,  1791,  1793,  1795,  1797,  1799,  1801,  1803,  1805,  1807,
1077 >    1809,  1811,  1813,  1815,  1817,  1822,  1827,  1832,  1838,  1841,
1078 >    1843,  1845,  1847,  1849,  1851,  1853,  1855,  1857,  1859,  1861,
1079 >    1863,  1865,  1867,  1869,  1874,  1879,  1884,  1889,  1894,  1899,
1080 >    1904,  1909,  1914,  1919,  1924,  1929,  1935,  1938,  1940,  1942,
1081 >    1944,  1946,  1948,  1950,  1952,  1954,  1956,  1958,  1963,  1968,
1082 >    1973,  1978,  1983,  1988,  1993
1083   };
1084  
1085   /* YYRHS -- A `-1'-separated list of the rules' RHS.  */
1086   static const yytype_int16 yyrhs[] =
1087   {
1088 <     265,     0,    -1,    -1,   265,   266,    -1,   290,    -1,   296,
1089 <      -1,   311,    -1,   575,    -1,   348,    -1,   367,    -1,   381,
1090 <      -1,   276,    -1,   596,    -1,   407,    -1,   414,    -1,   424,
1091 <      -1,   433,    -1,   464,    -1,   474,    -1,   480,    -1,   494,
1092 <      -1,   559,    -1,   484,    -1,   271,    -1,     1,   259,    -1,
1093 <       1,   260,    -1,    -1,   268,    -1,   133,   267,    -1,   133,
1094 <     172,   267,    -1,   133,   173,   267,    -1,   133,   174,   267,
1095 <      -1,   133,   175,   267,    -1,   133,   176,   267,    -1,    -1,
1096 <     270,    -1,   133,   269,    -1,   133,    14,   269,    -1,   133,
1097 <      15,   269,    -1,   133,    16,   269,    -1,   121,   261,   272,
1098 <     260,   259,    -1,   272,   273,    -1,   273,    -1,   274,    -1,
1099 <     275,    -1,     1,   259,    -1,   120,   262,   155,   259,    -1,
1100 <     150,   262,   155,   259,    -1,   180,   261,   277,   260,   259,
1101 <      -1,   277,   278,    -1,   278,    -1,   281,    -1,   286,    -1,
1102 <     289,    -1,   283,    -1,   284,    -1,   285,    -1,   288,    -1,
1103 <     280,    -1,   287,    -1,   282,    -1,   279,    -1,     1,   259,
1104 <      -1,   169,   262,   155,   259,    -1,   167,   262,   155,   259,
1105 <      -1,   122,   262,   155,   259,    -1,   182,   262,   155,   259,
1106 <      -1,    37,   262,   155,   259,    -1,   125,   262,   155,   259,
1107 <      -1,   124,   262,   155,   259,    -1,   254,   262,   155,   259,
1108 <      -1,   255,   262,   155,   259,    -1,   226,   262,   133,   259,
1109 <      -1,    86,   262,   196,   259,    -1,     5,   261,   291,   260,
1110 <     259,    -1,   291,   292,    -1,   292,    -1,   293,    -1,   295,
1111 <      -1,   294,    -1,     1,   259,    -1,   122,   262,   155,   259,
1112 <      -1,    48,   262,   155,   259,    -1,    37,   262,   155,   259,
1113 <      -1,   104,   261,   297,   260,   259,    -1,   297,   298,    -1,
1114 <     298,    -1,   299,    -1,   300,    -1,   309,    -1,   310,    -1,
1115 <     301,    -1,   303,    -1,   305,    -1,   306,    -1,   308,    -1,
1116 <     304,    -1,   307,    -1,   302,    -1,     1,   259,    -1,   218,
1117 <     262,   155,   259,    -1,   140,   262,   155,   259,    -1,    64,
1118 <     262,   155,   259,    -1,    57,   262,   155,   259,    -1,    62,
1119 <     262,   155,   259,    -1,    63,   262,   155,   259,    -1,    60,
1120 <     262,   155,   259,    -1,    59,   262,   155,   259,    -1,    61,
1121 <     262,   155,   259,    -1,    58,   262,   155,   259,    -1,   105,
1122 <     262,   219,   259,    -1,   105,   262,   221,   259,    -1,   105,
1123 <     262,   225,   259,    -1,   105,   262,   223,   259,    -1,   105,
1124 <     262,   224,   259,    -1,   105,   262,   222,   259,    -1,   105,
1125 <     262,   220,   259,    -1,   252,   262,   196,   259,    -1,    -1,
1126 <     138,   312,   313,   261,   314,   260,   259,    -1,    -1,   317,
1127 <      -1,   314,   315,    -1,   315,    -1,   316,    -1,   318,    -1,
1128 <     319,    -1,   338,    -1,   339,    -1,   323,    -1,   322,    -1,
1129 <     327,    -1,   328,    -1,   330,    -1,   331,    -1,   332,    -1,
1130 <     333,    -1,   334,    -1,   329,    -1,   335,    -1,   336,    -1,
1131 <     337,    -1,   340,    -1,   320,    -1,   321,    -1,   341,    -1,
1132 <       1,   259,    -1,   122,   262,   155,   259,    -1,   155,    -1,
1133 <     247,   262,   155,   259,    -1,   149,   262,   155,   259,    -1,
1134 <      50,   262,   196,   259,    -1,   168,   262,   155,   259,    -1,
1135 <      26,   262,   155,   259,    -1,    -1,   235,   324,   262,   325,
1136 <     259,    -1,   325,   263,   326,    -1,   326,    -1,   203,    -1,
1137 <     206,    -1,   207,    -1,   209,    -1,   210,    -1,   213,    -1,
1138 <     232,    -1,   227,    -1,   229,    -1,   236,    -1,   233,    -1,
1139 <     212,    -1,   228,    -1,   231,    -1,   214,    -1,   239,    -1,
1140 <     204,    -1,   205,    -1,   217,    -1,    74,   262,   196,   259,
1141 <      -1,   163,   262,   196,   259,    -1,   164,   262,   196,   259,
1142 <      -1,    94,   262,   196,   259,    -1,   256,   262,   196,   259,
1143 <      -1,   246,   262,   196,   259,    -1,    67,   262,   196,   259,
1144 <      -1,   127,   262,   196,   259,    -1,    38,   262,   196,   259,
1145 <      -1,   161,   262,   196,   259,    -1,     5,   262,   196,   259,
1146 <      -1,    79,   262,   196,   259,    -1,    81,   262,   196,   259,
1147 <      -1,   228,   262,   196,   259,    -1,    -1,    55,   342,   262,
1148 <     343,   259,    -1,   343,   263,   344,    -1,   344,    -1,    -1,
1149 <     132,   345,   347,    -1,    -1,   346,   347,    -1,    74,    -1,
1150 <     163,    -1,    94,    -1,   246,    -1,   256,    -1,    67,    -1,
1151 <      38,    -1,   161,    -1,     5,    -1,    79,    -1,   127,    -1,
1152 <     228,    -1,   143,    -1,    81,    -1,   164,    -1,    50,    -1,
1153 <      -1,    26,   349,   350,   261,   351,   260,   259,    -1,    -1,
1154 <     354,    -1,   351,   352,    -1,   352,    -1,   353,    -1,   364,
1155 <      -1,   365,    -1,   355,    -1,   356,    -1,   366,    -1,   357,
1156 <      -1,   358,    -1,   359,    -1,   360,    -1,   361,    -1,   362,
1157 <      -1,   363,    -1,     1,   259,    -1,   122,   262,   155,   259,
1158 <      -1,   155,    -1,   152,   262,   268,   259,    -1,   153,   262,
1159 <     268,   259,    -1,   136,   262,   133,   259,    -1,    30,   262,
1160 <     268,   259,    -1,   114,   262,   133,   259,    -1,   109,   262,
1161 <     133,   259,    -1,   111,   262,   133,   259,    -1,   110,   262,
1162 <     133,   259,    -1,   177,   262,   270,   259,    -1,    23,   262,
1163 <     133,   259,    -1,    24,   262,   133,   259,    -1,   135,   262,
1164 <     133,   259,    -1,    -1,   102,   368,   261,   373,   260,   259,
1165 <      -1,    -1,    55,   370,   262,   371,   259,    -1,   371,   263,
1166 <     372,    -1,   372,    -1,   234,    -1,    78,    -1,   230,    -1,
1167 <     373,   374,    -1,   374,    -1,   375,    -1,   369,    -1,   379,
1168 <      -1,   380,    -1,     1,   259,    -1,    -1,   154,   262,   377,
1169 <     376,   259,    -1,   377,   263,   378,    -1,   378,    -1,   133,
1170 <      -1,   133,   201,   133,    -1,    91,   262,   155,   259,    -1,
1171 <      85,   262,   155,   259,    -1,    -1,    75,   382,   261,   383,
1172 <     260,   259,    -1,   383,   384,    -1,   384,    -1,   385,    -1,
1173 <     386,    -1,   388,    -1,   390,    -1,   397,    -1,   398,    -1,
1174 <     399,    -1,   401,    -1,   402,    -1,   403,    -1,   387,    -1,
1175 <     404,    -1,   405,    -1,   400,    -1,   406,    -1,   389,    -1,
1176 <       1,   259,    -1,   247,   262,   155,   259,    -1,   149,   262,
1177 <     155,   259,    -1,   190,   262,   196,   259,    -1,    26,   262,
1178 <     155,   259,    -1,    50,   262,   196,   259,    -1,    -1,    55,
1179 <     391,   262,   392,   259,    -1,   392,   263,   393,    -1,   393,
1180 <      -1,    -1,   132,   394,   396,    -1,    -1,   395,   396,    -1,
1181 <     190,    -1,    51,    -1,    95,    -1,    76,    -1,    20,    -1,
1182 <      21,    -1,   131,    -1,    69,    -1,   171,    -1,   123,    -1,
1183 <      95,   262,   196,   259,    -1,    76,   262,   196,   259,    -1,
1184 <      51,   262,   196,   259,    -1,    20,   262,   196,   259,    -1,
1185 <     131,   262,   196,   259,    -1,    69,   262,   196,   259,    -1,
1186 <     189,   262,   155,   259,    -1,   159,   262,   155,   259,    -1,
1187 <     158,   262,   133,   259,    -1,   123,   262,   196,   259,    -1,
1188 <      -1,   170,   408,   261,   409,   260,   259,    -1,   409,   410,
1189 <      -1,   410,    -1,   411,    -1,   412,    -1,   413,    -1,     1,
1190 <     259,    -1,   157,   262,   155,   259,    -1,    22,   262,   155,
1191 <     259,    -1,   126,   262,   155,   259,    -1,    -1,   184,   415,
1192 <     261,   416,   260,   259,    -1,   416,   417,    -1,   417,    -1,
1193 <     418,    -1,   419,    -1,   420,    -1,     1,   259,    -1,   122,
1194 <     262,   155,   259,    -1,   247,   262,   155,   259,    -1,    -1,
1195 <     186,   421,   262,   422,   259,    -1,   422,   263,   423,    -1,
1196 <     423,    -1,    94,    -1,   243,    -1,   246,    -1,   256,    -1,
1197 <     244,    -1,   238,    -1,   170,    -1,   245,    -1,   237,    -1,
1198 <     217,    -1,   202,    -1,    -1,   185,   425,   261,   426,   260,
1199 <     259,    -1,   426,   427,    -1,   427,    -1,   428,    -1,   429,
1200 <      -1,     1,   259,    -1,   122,   262,   155,   259,    -1,    -1,
1201 <     186,   430,   262,   431,   259,    -1,   431,   263,   432,    -1,
1202 <     432,    -1,    94,    -1,   243,    -1,   246,    -1,   256,    -1,
1203 <     244,    -1,   238,    -1,   170,    -1,   245,    -1,   237,    -1,
1204 <     217,    -1,   202,    -1,    -1,    29,   434,   435,   261,   436,
1205 <     260,   259,    -1,    -1,   439,    -1,   436,   437,    -1,   437,
1206 <      -1,   438,    -1,   440,    -1,   441,    -1,   442,    -1,   443,
1207 <      -1,   445,    -1,   444,    -1,   446,    -1,   447,    -1,   460,
1208 <      -1,   461,    -1,   462,    -1,   458,    -1,   455,    -1,   457,
1209 <      -1,   456,    -1,   454,    -1,   463,    -1,   459,    -1,     1,
1210 <     259,    -1,   122,   262,   155,   259,    -1,   155,    -1,    85,
1211 <     262,   155,   259,    -1,   254,   262,   155,   259,    -1,   178,
1212 <     262,   155,   259,    -1,     3,   262,   155,   259,    -1,   154,
1213 <     262,   133,   259,    -1,     6,   262,   215,   259,    -1,     6,
1214 <     262,   216,   259,    -1,    54,   262,   155,   259,    -1,    -1,
1215 <      55,   448,   262,   449,   259,    -1,   449,   263,   450,    -1,
1216 <     450,    -1,    -1,   132,   451,   453,    -1,    -1,   452,   453,
1217 <      -1,    27,    -1,    31,    -1,    10,    -1,    12,    -1,   241,
1218 <      -1,   168,   262,   155,   259,    -1,    50,   262,   196,   259,
1219 <      -1,    31,   262,   196,   259,    -1,    27,   262,   196,   259,
1220 <      -1,    10,   262,   196,   259,    -1,   241,   262,   196,   259,
1221 <      -1,    87,   262,   155,   259,    -1,   100,   262,   155,   259,
1222 <      -1,    26,   262,   155,   259,    -1,    25,   262,   155,   259,
1223 <      -1,    -1,    92,   465,   261,   470,   260,   259,    -1,    -1,
1224 <     186,   467,   262,   468,   259,    -1,   468,   263,   469,    -1,
1225 <     469,    -1,   160,    -1,   470,   471,    -1,   471,    -1,   472,
1226 <      -1,   473,    -1,   466,    -1,     1,    -1,   247,   262,   155,
1227 <     259,    -1,   157,   262,   155,   259,    -1,    -1,    36,   475,
1228 <     261,   476,   260,   259,    -1,   476,   477,    -1,   477,    -1,
1229 <     478,    -1,   479,    -1,     1,    -1,    91,   262,   155,   259,
1230 <      -1,   157,   262,   155,   259,    -1,    52,   261,   481,   260,
1231 <     259,    -1,   481,   482,    -1,   482,    -1,   483,    -1,     1,
1232 <      -1,    91,   262,   155,   259,    -1,    -1,    65,   485,   261,
1233 <     490,   260,   259,    -1,    -1,   186,   487,   262,   488,   259,
1234 <      -1,   488,   263,   489,    -1,   489,    -1,   160,    -1,   490,
1235 <     491,    -1,   491,    -1,   492,    -1,   493,    -1,   486,    -1,
1236 <       1,    -1,   122,   262,   155,   259,    -1,   157,   262,   155,
1237 <     259,    -1,    66,   261,   495,   260,   259,    -1,   495,   496,
1238 <      -1,   496,    -1,   505,    -1,   506,    -1,   508,    -1,   509,
1239 <      -1,   510,    -1,   511,    -1,   512,    -1,   513,    -1,   514,
1240 <      -1,   515,    -1,   504,    -1,   517,    -1,   518,    -1,   519,
1241 <      -1,   520,    -1,   536,    -1,   522,    -1,   524,    -1,   526,
1242 <      -1,   525,    -1,   529,    -1,   523,    -1,   530,    -1,   531,
1243 <      -1,   532,    -1,   533,    -1,   535,    -1,   534,    -1,   550,
1244 <      -1,   537,    -1,   541,    -1,   542,    -1,   546,    -1,   527,
1245 <      -1,   528,    -1,   556,    -1,   554,    -1,   555,    -1,   538,
1246 <      -1,   507,    -1,   539,    -1,   540,    -1,   557,    -1,   545,
1247 <      -1,   516,    -1,   558,    -1,   543,    -1,   544,    -1,   500,
1248 <      -1,   503,    -1,   498,    -1,   499,    -1,   501,    -1,   502,
1249 <      -1,   521,    -1,   497,    -1,     1,    -1,   116,   262,   133,
1250 <     259,    -1,    72,   262,   133,   259,    -1,    73,   262,   133,
1251 <     259,    -1,    12,   262,   196,   259,    -1,   253,   262,   196,
1252 <     259,    -1,   162,   262,   268,   259,    -1,   183,   262,   196,
1253 <     259,    -1,    93,   262,   133,   259,    -1,    84,   262,   196,
1254 <     259,    -1,    89,   262,   196,   259,    -1,    43,   262,   196,
1255 <     259,    -1,    53,   262,   196,   259,    -1,     8,   262,   196,
1256 <     259,    -1,   113,   262,   268,   259,    -1,   112,   262,   133,
1257 <     259,    -1,   106,   262,   133,   259,    -1,     9,   262,   268,
1258 <     259,    -1,   200,   262,   268,   259,    -1,   199,   262,   268,
1259 <     259,    -1,    77,   262,   133,   259,    -1,    97,   262,   196,
1260 <     259,    -1,    96,   262,   155,   259,    -1,    90,   262,   196,
1261 <     259,    -1,   258,   262,   196,   259,    -1,   191,   262,   196,
1262 <     259,    -1,   194,   262,   196,   259,    -1,   195,   262,   196,
1263 <     259,    -1,   193,   262,   196,   259,    -1,   193,   262,   197,
1264 <     259,    -1,   192,   262,   196,   259,    -1,   192,   262,   197,
1265 <     259,    -1,   147,   262,   268,   259,    -1,    19,   262,   268,
1266 <     259,    -1,   139,   262,   196,   259,    -1,   148,   262,   268,
1267 <     259,    -1,   187,   262,   196,   259,    -1,   130,   262,   196,
1268 <     259,    -1,   242,   262,   196,   259,    -1,   142,   262,   196,
1269 <     259,    -1,   117,   262,   155,   259,    -1,    88,   262,   268,
1270 <     259,    -1,    45,   262,   133,   259,    -1,   115,   262,   133,
1271 <     259,    -1,   181,   262,   155,   259,    -1,    32,   262,   155,
1272 <     259,    -1,    28,   262,   133,   259,    -1,   248,   262,   196,
1273 <     259,    -1,    47,   262,   155,   259,    -1,   151,   262,   196,
1274 <     259,    -1,    39,   262,   196,   259,    -1,   240,   262,   268,
1275 <     259,    -1,    -1,   144,   547,   262,   548,   259,    -1,   548,
1276 <     263,   549,    -1,   549,    -1,   203,    -1,   206,    -1,   207,
1277 <      -1,   209,    -1,   210,    -1,   213,    -1,   232,    -1,   227,
1278 <      -1,   229,    -1,   236,    -1,   233,    -1,   212,    -1,   228,
1279 <      -1,   231,    -1,   214,    -1,   239,    -1,   204,    -1,   205,
1280 <      -1,   217,    -1,    -1,   141,   551,   262,   552,   259,    -1,
1281 <     552,   263,   553,    -1,   553,    -1,   203,    -1,   206,    -1,
1282 <     207,    -1,   209,    -1,   210,    -1,   213,    -1,   232,    -1,
1283 <     227,    -1,   229,    -1,   236,    -1,   233,    -1,   212,    -1,
1284 <     228,    -1,   231,    -1,   214,    -1,   239,    -1,   204,    -1,
1285 <     205,    -1,   217,    -1,   118,   262,   133,   259,    -1,   119,
1286 <     262,   133,   259,    -1,    33,   262,   133,   259,    -1,   208,
1287 <     262,   270,   259,    -1,    44,   262,   196,   259,    -1,    -1,
1313 <      68,   560,   261,   561,   260,   259,    -1,   561,   562,    -1,
1314 <     562,    -1,   563,    -1,   564,    -1,   565,    -1,   569,    -1,
1315 <     570,    -1,   571,    -1,     1,    -1,    49,   262,   196,   259,
1316 <      -1,    46,   262,   268,   259,    -1,    -1,   104,   566,   262,
1317 <     567,   259,    -1,   567,   263,   568,    -1,   568,    -1,   198,
1318 <      -1,    11,    -1,   247,   262,   155,   259,    -1,   122,   262,
1319 <     155,   259,    -1,    -1,     4,   572,   262,   573,   259,    -1,
1320 <     573,   263,   574,    -1,   574,    -1,   198,    -1,    11,    -1,
1321 <      22,   261,   576,   260,   259,    -1,   576,   577,    -1,   577,
1322 <      -1,   580,    -1,   581,    -1,   582,    -1,   583,    -1,   588,
1323 <      -1,   584,    -1,   585,    -1,   586,    -1,   587,    -1,   589,
1324 <      -1,   590,    -1,   591,    -1,   579,    -1,   592,    -1,   593,
1325 <      -1,   594,    -1,   595,    -1,   578,    -1,     1,    -1,    40,
1326 <     262,   196,   259,    -1,   165,   262,   196,   259,    -1,    42,
1327 <     262,   196,   259,    -1,   249,   262,   196,   259,    -1,   250,
1328 <     262,   196,   259,    -1,   251,   262,   196,   259,    -1,    98,
1329 <     262,   268,   259,    -1,    99,   262,   268,   259,    -1,   108,
1330 <     262,   133,   259,    -1,   156,   262,   196,   259,    -1,   107,
1331 <     262,   133,   259,    -1,    35,   262,   133,   259,    -1,    34,
1332 <     262,   133,   259,    -1,   128,   262,   196,   259,    -1,   129,
1333 <     262,   196,   259,    -1,    13,   262,   196,   259,    -1,   145,
1334 <     262,   133,   259,    -1,   146,   262,   268,   259,    -1,   179,
1335 <     261,   597,   260,   259,    -1,   597,   598,    -1,   598,    -1,
1336 <     599,    -1,   600,    -1,   602,    -1,   604,    -1,   603,    -1,
1337 <     601,    -1,   605,    -1,     1,    -1,    56,   262,   196,   259,
1338 <      -1,    83,   262,   196,   259,    -1,    80,   262,   155,   259,
1339 <      -1,   101,   262,   268,   259,    -1,    78,   262,   196,   259,
1340 <      -1,    41,   262,   196,   259,    -1,    82,   262,   196,   259,
1341 <      -1
1088 >     234,     0,    -1,    -1,   234,   235,    -1,   269,    -1,   281,
1089 >      -1,   295,    -1,   498,    -1,   315,    -1,   338,    -1,   352,
1090 >      -1,   245,    -1,   513,    -1,   367,    -1,   374,    -1,   378,
1091 >      -1,   388,    -1,   397,    -1,   418,    -1,   424,    -1,   430,
1092 >      -1,   440,    -1,   434,    -1,   240,    -1,   275,    -1,     1,
1093 >     227,    -1,     1,   228,    -1,    -1,   237,    -1,   108,   236,
1094 >      -1,   108,   135,   236,    -1,   108,   136,   236,    -1,   108,
1095 >     137,   236,    -1,   108,   138,   236,    -1,   108,   139,   236,
1096 >      -1,   108,   140,   236,    -1,   108,   141,   236,    -1,    -1,
1097 >     239,    -1,   108,   238,    -1,   108,     9,   238,    -1,   108,
1098 >      10,   238,    -1,   108,    11,   238,    -1,    96,   229,   241,
1099 >     228,   227,    -1,   241,   242,    -1,   242,    -1,   243,    -1,
1100 >     244,    -1,     1,   227,    -1,    95,   230,   123,   227,    -1,
1101 >     119,   230,   123,   227,    -1,   145,   229,   246,   228,   227,
1102 >      -1,   246,   247,    -1,   247,    -1,   258,    -1,   263,    -1,
1103 >     268,    -1,   260,    -1,   261,    -1,   262,    -1,   265,    -1,
1104 >     266,    -1,   267,    -1,   256,    -1,   255,    -1,   264,    -1,
1105 >     259,    -1,   254,    -1,   248,    -1,   249,    -1,   257,    -1,
1106 >       1,   227,    -1,   197,   230,   250,   227,    -1,   198,   230,
1107 >     252,   227,    -1,   250,   231,   251,    -1,   251,    -1,   199,
1108 >      -1,   200,    -1,   252,   231,   253,    -1,   253,    -1,   199,
1109 >      -1,   200,    -1,   150,   230,   123,   227,    -1,   133,   230,
1110 >     123,   227,    -1,   153,   230,   123,   227,    -1,   196,   230,
1111 >     123,   227,    -1,    98,   230,   123,   227,    -1,    64,   230,
1112 >     123,   227,    -1,    25,   230,   123,   227,    -1,   102,   230,
1113 >     123,   227,    -1,   101,   230,   123,   227,    -1,   223,   230,
1114 >     123,   227,    -1,   224,   230,   123,   227,    -1,   178,   230,
1115 >     108,   227,    -1,    86,   230,   108,   227,    -1,    90,   230,
1116 >     108,   227,    -1,    57,   230,   210,   227,    -1,     4,   229,
1117 >     270,   228,   227,    -1,   270,   271,    -1,   271,    -1,   272,
1118 >      -1,   274,    -1,   273,    -1,     1,   227,    -1,    98,   230,
1119 >     123,   227,    -1,    32,   230,   123,   227,    -1,    25,   230,
1120 >     123,   227,    -1,    -1,    97,   276,   229,   277,   228,   227,
1121 >      -1,   277,   278,    -1,   278,    -1,   279,    -1,   280,    -1,
1122 >       1,   227,    -1,    76,   230,   123,   227,    -1,   170,   230,
1123 >     123,   227,    -1,   177,   229,   282,   228,   227,    -1,   282,
1124 >     283,    -1,   283,    -1,   284,    -1,   285,    -1,     1,   227,
1125 >      -1,   221,   230,   210,   227,    -1,    -1,   286,   170,   229,
1126 >     287,   228,   227,    -1,   287,   288,    -1,   288,    -1,   289,
1127 >      -1,   291,    -1,   290,    -1,     1,   227,    -1,    98,   230,
1128 >     123,   227,    -1,   191,   230,   239,   227,    -1,   191,   230,
1129 >     204,   227,    -1,    -1,   218,   292,   230,   293,   227,    -1,
1130 >     293,   231,   294,    -1,   294,    -1,   222,    -1,   114,    -1,
1131 >      40,    -1,   167,    -1,    69,    -1,    67,    -1,   166,    -1,
1132 >      -1,   114,   296,   229,   297,   228,   227,    -1,   297,   298,
1133 >      -1,   298,    -1,   299,    -1,   300,    -1,   301,    -1,   307,
1134 >      -1,   306,    -1,   302,    -1,   303,    -1,   304,    -1,   305,
1135 >      -1,   311,    -1,     1,   227,    -1,    98,   230,   123,   227,
1136 >      -1,   222,   230,   123,   227,    -1,   118,   230,   123,   227,
1137 >      -1,    33,   230,   210,   227,    -1,   134,   230,   123,   227,
1138 >      -1,   151,   230,   123,   227,    -1,   152,   230,   210,   227,
1139 >      -1,    17,   230,   123,   227,    -1,    -1,   201,   308,   230,
1140 >     309,   227,    -1,   309,   231,   310,    -1,   310,    -1,   161,
1141 >      -1,   163,    -1,   165,    -1,   166,    -1,   171,    -1,    49,
1142 >      -1,   192,    -1,   179,    -1,   183,    -1,   202,    -1,   194,
1143 >      -1,   168,    -1,   181,    -1,   188,    -1,   173,    -1,   207,
1144 >      -1,   193,    -1,   162,    -1,   176,    -1,   180,    -1,   169,
1145 >      -1,    -1,    63,   312,   230,   313,   227,    -1,   313,   231,
1146 >     314,    -1,   314,    -1,    67,   232,   129,    -1,    67,    -1,
1147 >      18,   232,   129,    -1,    18,    -1,   149,   232,   129,    -1,
1148 >     149,    -1,    69,    -1,   219,    -1,   167,    -1,   203,    -1,
1149 >     226,    -1,    40,    -1,    26,    -1,   184,    -1,   128,    -1,
1150 >       4,    -1,   181,    -1,   172,    -1,   208,    -1,   176,    -1,
1151 >     130,    -1,   189,    -1,    95,    -1,    -1,    17,   316,   229,
1152 >     317,   228,   227,    -1,   317,   318,    -1,   318,    -1,   319,
1153 >      -1,   329,    -1,   330,    -1,   320,    -1,   331,    -1,   321,
1154 >      -1,   322,    -1,   323,    -1,   324,    -1,   325,    -1,   326,
1155 >      -1,   327,    -1,   328,    -1,   332,    -1,   333,    -1,   334,
1156 >      -1,     1,   227,    -1,    98,   230,   123,   227,    -1,   121,
1157 >     230,   237,   227,    -1,   110,   230,   108,   227,    -1,    19,
1158 >     230,   237,   227,    -1,    88,   230,   108,   227,    -1,    81,
1159 >     230,   108,   227,    -1,    84,   230,   108,   227,    -1,    82,
1160 >     230,   108,   227,    -1,   143,   230,   239,   227,    -1,   182,
1161 >     230,   239,   227,    -1,    15,   230,   108,   227,    -1,    16,
1162 >     230,   108,   227,    -1,   109,   230,   108,   227,    -1,    92,
1163 >     230,   237,   227,    -1,    83,   230,   237,   227,    -1,    -1,
1164 >      63,   335,   230,   336,   227,    -1,   336,   231,   337,    -1,
1165 >     337,    -1,   124,    -1,    51,    -1,    -1,    75,   339,   229,
1166 >     344,   228,   227,    -1,    -1,    63,   341,   230,   342,   227,
1167 >      -1,   342,   231,   343,    -1,   343,    -1,   195,    -1,    49,
1168 >      -1,   185,    -1,   344,   345,    -1,   345,    -1,   346,    -1,
1169 >     340,    -1,   350,    -1,   351,    -1,     1,   227,    -1,    -1,
1170 >     122,   230,   348,   347,   227,    -1,   348,   231,   349,    -1,
1171 >     349,    -1,   108,    -1,   108,   217,   108,    -1,    61,   230,
1172 >     123,   227,    -1,    56,   230,   123,   227,    -1,    -1,    62,
1173 >     353,   229,   354,   228,   227,    -1,   354,   355,    -1,   355,
1174 >      -1,   356,    -1,   357,    -1,   358,    -1,   360,    -1,   364,
1175 >      -1,   365,    -1,   366,    -1,   359,    -1,     1,   227,    -1,
1176 >     222,   230,   123,   227,    -1,   118,   230,   123,   227,    -1,
1177 >      17,   230,   123,   227,    -1,    33,   230,   210,   227,    -1,
1178 >      -1,    63,   361,   230,   362,   227,    -1,   362,   231,   363,
1179 >      -1,   363,    -1,   148,    -1,    34,    -1,    70,    -1,    99,
1180 >      -1,    13,    -1,   107,    -1,    43,    -1,   132,    -1,   209,
1181 >      -1,   100,    -1,   147,   230,   123,   227,    -1,   127,   230,
1182 >     123,   227,    -1,   126,   230,   108,   227,    -1,    -1,   131,
1183 >     368,   229,   369,   228,   227,    -1,   369,   370,    -1,   370,
1184 >      -1,   371,    -1,   372,    -1,   373,    -1,     1,   227,    -1,
1185 >      76,   230,   123,   227,    -1,   125,   230,   123,   227,    -1,
1186 >      35,   230,   123,   227,    -1,   186,   229,   375,   228,   227,
1187 >      -1,   375,   376,    -1,   376,    -1,   377,    -1,     1,    -1,
1188 >      98,   230,   123,   227,    -1,    -1,   190,   379,   229,   380,
1189 >     228,   227,    -1,   380,   381,    -1,   381,    -1,   382,    -1,
1190 >     383,    -1,   384,    -1,     1,   227,    -1,    98,   230,   123,
1191 >     227,    -1,   222,   230,   123,   227,    -1,    -1,   218,   385,
1192 >     230,   386,   227,    -1,   386,   231,   387,    -1,   387,    -1,
1193 >      69,    -1,   219,    -1,   167,    -1,   203,    -1,   226,    -1,
1194 >     206,    -1,   131,    -1,   205,    -1,   176,    -1,   160,    -1,
1195 >      -1,   164,   389,   229,   390,   228,   227,    -1,   390,   391,
1196 >      -1,   391,    -1,   392,    -1,   393,    -1,     1,   227,    -1,
1197 >      98,   230,   123,   227,    -1,    -1,   218,   394,   230,   395,
1198 >     227,    -1,   395,   231,   396,    -1,   396,    -1,    69,    -1,
1199 >     219,    -1,   167,    -1,   203,    -1,   226,    -1,   206,    -1,
1200 >     131,    -1,   205,    -1,   176,    -1,   160,    -1,    -1,    18,
1201 >     398,   229,   399,   228,   227,    -1,   399,   400,    -1,   400,
1202 >      -1,   401,    -1,   402,    -1,   403,    -1,   404,    -1,   405,
1203 >      -1,   406,    -1,   408,    -1,   407,    -1,   417,    -1,   409,
1204 >      -1,   414,    -1,   415,    -1,   416,    -1,   413,    -1,     1,
1205 >     227,    -1,    98,   230,   123,   227,    -1,    56,   230,   123,
1206 >     227,    -1,   223,   230,   123,   227,    -1,   142,   230,   123,
1207 >     227,    -1,     3,   230,   123,   227,    -1,   151,   230,   123,
1208 >     227,    -1,   122,   230,   108,   227,    -1,     5,   230,   174,
1209 >     227,    -1,     5,   230,   175,   227,    -1,    -1,    63,   410,
1210 >     230,   411,   227,    -1,   411,   231,   412,    -1,   412,    -1,
1211 >       8,    -1,   195,    -1,    33,   230,   210,   227,    -1,    58,
1212 >     230,   123,   227,    -1,    73,   230,   123,   227,    -1,    17,
1213 >     230,   123,   227,    -1,   196,   230,   123,   227,    -1,    -1,
1214 >      67,   419,   229,   420,   228,   227,    -1,   420,   421,    -1,
1215 >     421,    -1,   422,    -1,   423,    -1,     1,    -1,   222,   230,
1216 >     123,   227,    -1,   125,   230,   123,   227,    -1,    -1,    24,
1217 >     425,   229,   426,   228,   227,    -1,   426,   427,    -1,   427,
1218 >      -1,   428,    -1,   429,    -1,     1,    -1,    61,   230,   123,
1219 >     227,    -1,   125,   230,   123,   227,    -1,    35,   229,   431,
1220 >     228,   227,    -1,   431,   432,    -1,   432,    -1,   433,    -1,
1221 >       1,    -1,    61,   230,   123,   227,    -1,    -1,    38,   435,
1222 >     229,   436,   228,   227,    -1,   436,   437,    -1,   437,    -1,
1223 >     438,    -1,   439,    -1,     1,    -1,    98,   230,   123,   227,
1224 >      -1,   125,   230,   123,   227,    -1,    39,   229,   441,   228,
1225 >     227,    -1,   441,   442,    -1,   442,    -1,   452,    -1,   453,
1226 >      -1,   454,    -1,   455,    -1,   456,    -1,   457,    -1,   458,
1227 >      -1,   459,    -1,   460,    -1,   461,    -1,   451,    -1,   463,
1228 >      -1,   464,    -1,   479,    -1,   466,    -1,   469,    -1,   471,
1229 >      -1,   470,    -1,   474,    -1,   467,    -1,   468,    -1,   475,
1230 >      -1,   476,    -1,   477,    -1,   478,    -1,   491,    -1,   480,
1231 >      -1,   481,    -1,   482,    -1,   487,    -1,   472,    -1,   473,
1232 >      -1,   497,    -1,   495,    -1,   496,    -1,   486,    -1,   462,
1233 >      -1,   484,    -1,   485,    -1,   450,    -1,   445,    -1,   446,
1234 >      -1,   447,    -1,   448,    -1,   449,    -1,   465,    -1,   443,
1235 >      -1,   483,    -1,   444,    -1,     1,    -1,    91,   230,   108,
1236 >     227,    -1,    20,   230,   210,   227,    -1,    42,   230,   210,
1237 >     227,    -1,    41,   230,   237,   227,    -1,    46,   230,   237,
1238 >     227,    -1,    44,   230,   108,   227,    -1,    45,   230,   108,
1239 >     227,    -1,   212,   230,   210,   227,    -1,    68,   230,   237,
1240 >     227,    -1,    55,   230,   210,   227,    -1,    59,   230,   210,
1241 >     227,    -1,    36,   230,   210,   227,    -1,     6,   230,   210,
1242 >     227,    -1,    87,   230,   237,   227,    -1,    85,   230,   108,
1243 >     227,    -1,    77,   230,   108,   227,    -1,     7,   230,   237,
1244 >     227,    -1,   216,   230,   237,   227,    -1,   215,   230,   237,
1245 >     227,    -1,    48,   230,   108,   227,    -1,    60,   230,   210,
1246 >     227,    -1,   225,   230,   210,   227,    -1,   154,   230,   210,
1247 >     227,    -1,   157,   230,   210,   227,    -1,   158,   230,   210,
1248 >     227,    -1,   159,   230,   210,   227,    -1,   156,   230,   210,
1249 >     227,    -1,   156,   230,   213,   227,    -1,   155,   230,   210,
1250 >     227,    -1,   155,   230,   213,   227,    -1,   116,   230,   237,
1251 >     227,    -1,    12,   230,   237,   227,    -1,   115,   230,   210,
1252 >     227,    -1,   117,   230,   237,   227,    -1,   146,   230,   210,
1253 >     227,    -1,   106,   230,   210,   227,    -1,   214,   230,   210,
1254 >     227,    -1,   112,   230,   210,   227,    -1,    30,   230,   108,
1255 >     227,    -1,    89,   230,   108,   227,    -1,   220,   230,   210,
1256 >     227,    -1,    31,   230,   123,   227,    -1,   187,   230,   123,
1257 >     227,    -1,   120,   230,   210,   227,    -1,    27,   230,   210,
1258 >     227,    -1,   211,   230,   237,   227,    -1,    -1,   113,   488,
1259 >     230,   489,   227,    -1,   489,   231,   490,    -1,   490,    -1,
1260 >     161,    -1,   163,    -1,   165,    -1,   166,    -1,   171,    -1,
1261 >      49,    -1,   192,    -1,   179,    -1,   183,    -1,   202,    -1,
1262 >     194,    -1,   168,    -1,   181,    -1,   188,    -1,   173,    -1,
1263 >     207,    -1,   193,    -1,   162,    -1,   176,    -1,   180,    -1,
1264 >     169,    -1,    -1,   111,   492,   230,   493,   227,    -1,   493,
1265 >     231,   494,    -1,   494,    -1,   161,    -1,   163,    -1,   165,
1266 >      -1,   166,    -1,   171,    -1,   192,    -1,    49,    -1,   179,
1267 >      -1,   183,    -1,   202,    -1,   194,    -1,   168,    -1,   181,
1268 >      -1,   188,    -1,   173,    -1,   207,    -1,   193,    -1,   162,
1269 >      -1,   176,    -1,   180,    -1,   169,    -1,    93,   230,   108,
1270 >     227,    -1,    94,   230,   108,   227,    -1,    21,   230,   108,
1271 >     227,    -1,    14,   229,   499,   228,   227,    -1,   499,   500,
1272 >      -1,   500,    -1,   506,    -1,   502,    -1,   503,    -1,   504,
1273 >      -1,   505,    -1,   507,    -1,   508,    -1,   509,    -1,   510,
1274 >      -1,   511,    -1,   512,    -1,   501,    -1,     1,    -1,    28,
1275 >     230,   210,   227,    -1,    71,   230,   237,   227,    -1,    72,
1276 >     230,   237,   227,    -1,    80,   230,   108,   227,    -1,    79,
1277 >     230,   108,   227,    -1,    78,   230,   108,   227,    -1,    23,
1278 >     230,   108,   227,    -1,    22,   230,   108,   227,    -1,   104,
1279 >     230,   210,   227,    -1,   105,   230,   210,   227,    -1,    65,
1280 >     230,   108,   227,    -1,    66,   230,   237,   227,    -1,   144,
1281 >     229,   514,   228,   227,    -1,   514,   515,    -1,   515,    -1,
1282 >     516,    -1,   517,    -1,   518,    -1,   519,    -1,   521,    -1,
1283 >     522,    -1,   520,    -1,   523,    -1,     1,    -1,    37,   230,
1284 >     210,   227,    -1,    29,   230,   210,   227,    -1,    53,   230,
1285 >     210,   227,    -1,    54,   230,   210,   227,    -1,    50,   230,
1286 >     123,   227,    -1,    74,   230,   237,   227,    -1,    49,   230,
1287 >     210,   227,    -1,    52,   230,   210,   227,    -1
1288   };
1289  
1290   /* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
1291   static const yytype_uint16 yyrline[] =
1292   {
1293 <       0,   397,   397,   398,   401,   402,   403,   404,   405,   406,
1294 <     407,   408,   409,   410,   411,   412,   413,   414,   415,   416,
1295 <     417,   418,   419,   420,   421,   422,   426,   426,   427,   431,
1296 <     435,   439,   443,   447,   453,   453,   454,   455,   456,   457,
1297 <     464,   467,   467,   468,   468,   468,   470,   487,   498,   501,
1298 <     502,   503,   503,   504,   504,   505,   505,   506,   507,   507,
1299 <     508,   508,   509,   511,   545,   605,   619,   634,   643,   657,
1300 <     666,   694,   724,   747,   769,   771,   771,   772,   772,   773,
1301 <     773,   775,   784,   793,   806,   808,   809,   811,   811,   812,
1302 <     813,   813,   814,   814,   815,   815,   816,   816,   817,   818,
1303 <     820,   824,   828,   835,   842,   849,   856,   863,   870,   877,
1304 <     884,   888,   892,   896,   900,   904,   908,   914,   924,   923,
1305 <    1017,  1017,  1018,  1018,  1019,  1019,  1019,  1019,  1020,  1020,
1306 <    1021,  1021,  1021,  1022,  1022,  1022,  1023,  1023,  1023,  1024,
1307 <    1024,  1024,  1024,  1025,  1025,  1026,  1026,  1028,  1040,  1052,
1308 <    1086,  1098,  1109,  1151,  1161,  1160,  1166,  1166,  1167,  1171,
1309 <    1175,  1179,  1183,  1187,  1191,  1195,  1199,  1203,  1207,  1211,
1310 <    1215,  1219,  1223,  1227,  1231,  1235,  1239,  1245,  1256,  1267,
1311 <    1278,  1289,  1300,  1311,  1322,  1333,  1344,  1355,  1366,  1377,
1312 <    1388,  1400,  1399,  1403,  1403,  1404,  1404,  1405,  1405,  1407,
1313 <    1414,  1421,  1428,  1435,  1442,  1449,  1456,  1463,  1470,  1477,
1314 <    1484,  1491,  1498,  1505,  1512,  1526,  1525,  1575,  1575,  1577,
1315 <    1577,  1578,  1579,  1579,  1580,  1581,  1582,  1583,  1584,  1585,
1316 <    1586,  1587,  1588,  1589,  1590,  1592,  1601,  1610,  1616,  1622,
1317 <    1628,  1634,  1640,  1646,  1652,  1658,  1664,  1670,  1676,  1686,
1318 <    1685,  1702,  1701,  1706,  1706,  1707,  1711,  1715,  1723,  1723,
1319 <    1724,  1724,  1724,  1724,  1724,  1726,  1726,  1728,  1728,  1730,
1320 <    1744,  1764,  1773,  1786,  1785,  1854,  1854,  1855,  1855,  1855,
1321 <    1855,  1856,  1856,  1857,  1857,  1857,  1858,  1858,  1859,  1859,
1322 <    1859,  1860,  1860,  1860,  1862,  1899,  1912,  1923,  1932,  1944,
1323 <    1943,  1947,  1947,  1948,  1948,  1949,  1949,  1951,  1959,  1966,
1324 <    1973,  1980,  1987,  1994,  2001,  2008,  2015,  2024,  2035,  2046,
1325 <    2057,  2068,  2079,  2091,  2110,  2120,  2129,  2145,  2144,  2160,
1326 <    2160,  2161,  2161,  2161,  2161,  2163,  2172,  2187,  2201,  2200,
1327 <    2216,  2216,  2217,  2217,  2217,  2217,  2219,  2228,  2251,  2250,
1328 <    2256,  2256,  2257,  2261,  2265,  2269,  2273,  2277,  2281,  2285,
1329 <    2289,  2293,  2297,  2307,  2306,  2323,  2323,  2324,  2324,  2324,
1330 <    2326,  2333,  2332,  2338,  2338,  2339,  2343,  2347,  2351,  2355,
1331 <    2359,  2363,  2367,  2371,  2375,  2379,  2389,  2388,  2534,  2534,
1332 <    2535,  2535,  2536,  2536,  2536,  2537,  2537,  2538,  2538,  2539,
1333 <    2539,  2539,  2540,  2540,  2540,  2541,  2541,  2541,  2542,  2542,
1334 <    2543,  2543,  2545,  2557,  2569,  2578,  2604,  2622,  2640,  2646,
1335 <    2650,  2658,  2668,  2667,  2671,  2671,  2672,  2672,  2673,  2673,
1336 <    2675,  2686,  2693,  2700,  2707,  2717,  2758,  2769,  2780,  2795,
1337 <    2806,  2817,  2830,  2843,  2852,  2888,  2887,  2952,  2951,  2955,
1338 <    2955,  2956,  2962,  2962,  2963,  2963,  2963,  2963,  2965,  2984,
1339 <    2994,  2993,  3015,  3015,  3016,  3016,  3016,  3018,  3027,  3039,
1340 <    3041,  3041,  3042,  3042,  3044,  3066,  3065,  3108,  3107,  3111,
1341 <    3111,  3112,  3118,  3118,  3119,  3119,  3119,  3119,  3121,  3127,
1342 <    3136,  3139,  3139,  3140,  3140,  3141,  3141,  3142,  3142,  3143,
1343 <    3143,  3144,  3144,  3145,  3145,  3146,  3146,  3147,  3147,  3148,
1344 <    3148,  3149,  3149,  3150,  3150,  3151,  3151,  3152,  3152,  3153,
1345 <    3153,  3154,  3154,  3155,  3155,  3156,  3156,  3157,  3157,  3158,
1346 <    3158,  3159,  3159,  3160,  3161,  3161,  3162,  3162,  3163,  3163,
1347 <    3164,  3164,  3165,  3165,  3166,  3166,  3167,  3167,  3168,  3169,
1348 <    3172,  3177,  3182,  3187,  3192,  3197,  3202,  3207,  3212,  3217,
1349 <    3222,  3227,  3232,  3237,  3242,  3247,  3252,  3257,  3262,  3268,
1350 <    3279,  3284,  3293,  3298,  3303,  3308,  3313,  3318,  3321,  3326,
1351 <    3329,  3334,  3339,  3344,  3349,  3354,  3359,  3364,  3369,  3374,
1352 <    3385,  3390,  3395,  3400,  3409,  3441,  3459,  3464,  3473,  3478,
1353 <    3483,  3489,  3488,  3493,  3493,  3494,  3497,  3500,  3503,  3506,
1354 <    3509,  3512,  3515,  3518,  3521,  3524,  3527,  3530,  3533,  3536,
1355 <    3539,  3542,  3545,  3548,  3554,  3553,  3558,  3558,  3559,  3562,
1356 <    3565,  3568,  3571,  3574,  3577,  3580,  3583,  3586,  3589,  3592,
1357 <    3595,  3598,  3601,  3604,  3607,  3610,  3613,  3618,  3623,  3628,
1358 <    3633,  3638,  3647,  3646,  3670,  3670,  3671,  3672,  3673,  3674,
1413 <    3675,  3676,  3677,  3679,  3685,  3692,  3691,  3696,  3696,  3697,
1414 <    3701,  3707,  3741,  3751,  3750,  3800,  3800,  3801,  3805,  3814,
1415 <    3817,  3817,  3818,  3818,  3819,  3819,  3820,  3820,  3821,  3821,
1416 <    3822,  3822,  3823,  3824,  3824,  3825,  3825,  3826,  3826,  3827,
1417 <    3827,  3829,  3834,  3839,  3844,  3849,  3854,  3859,  3864,  3869,
1418 <    3874,  3879,  3884,  3889,  3894,  3899,  3904,  3909,  3914,  3922,
1419 <    3925,  3925,  3926,  3926,  3927,  3928,  3929,  3929,  3930,  3931,
1420 <    3933,  3939,  3945,  3954,  3968,  3974,  3980
1293 >       0,   370,   370,   371,   374,   375,   376,   377,   378,   379,
1294 >     380,   381,   382,   383,   384,   385,   386,   387,   388,   389,
1295 >     390,   391,   392,   393,   394,   395,   396,   400,   400,   401,
1296 >     405,   409,   413,   417,   421,   425,   429,   435,   435,   436,
1297 >     437,   438,   439,   446,   449,   449,   450,   450,   450,   452,
1298 >     458,   465,   467,   467,   468,   468,   469,   469,   470,   470,
1299 >     471,   471,   472,   472,   473,   473,   474,   474,   475,   475,
1300 >     476,   477,   480,   481,   483,   483,   484,   490,   498,   498,
1301 >     499,   505,   513,   555,   614,   642,   650,   665,   680,   689,
1302 >     703,   712,   740,   770,   795,   817,   839,   848,   850,   850,
1303 >     851,   851,   852,   852,   854,   863,   872,   885,   884,   902,
1304 >     902,   903,   903,   903,   905,   911,   920,   921,   921,   923,
1305 >     923,   924,   926,   933,   933,   946,   947,   949,   949,   950,
1306 >     950,   952,   960,   963,   969,   968,   974,   974,   975,   979,
1307 >     983,   987,   991,   995,   999,  1010,  1009,  1089,  1089,  1090,
1308 >    1090,  1090,  1091,  1091,  1091,  1092,  1092,  1093,  1094,  1094,
1309 >    1096,  1102,  1108,  1114,  1125,  1131,  1137,  1148,  1155,  1154,
1310 >    1160,  1160,  1161,  1165,  1169,  1173,  1177,  1181,  1185,  1189,
1311 >    1193,  1197,  1201,  1205,  1209,  1213,  1217,  1221,  1225,  1229,
1312 >    1233,  1237,  1241,  1248,  1247,  1253,  1253,  1254,  1258,  1262,
1313 >    1266,  1270,  1274,  1278,  1282,  1286,  1290,  1294,  1298,  1302,
1314 >    1306,  1310,  1314,  1318,  1322,  1326,  1330,  1334,  1338,  1342,
1315 >    1353,  1352,  1413,  1413,  1414,  1415,  1415,  1416,  1417,  1418,
1316 >    1419,  1420,  1421,  1422,  1423,  1424,  1424,  1425,  1426,  1427,
1317 >    1428,  1430,  1436,  1442,  1448,  1454,  1460,  1466,  1472,  1478,
1318 >    1484,  1491,  1497,  1503,  1509,  1518,  1528,  1527,  1533,  1533,
1319 >    1534,  1538,  1549,  1548,  1555,  1554,  1559,  1559,  1560,  1564,
1320 >    1568,  1574,  1574,  1575,  1575,  1575,  1575,  1575,  1577,  1577,
1321 >    1579,  1579,  1581,  1595,  1615,  1621,  1631,  1630,  1672,  1672,
1322 >    1673,  1673,  1673,  1673,  1674,  1674,  1674,  1675,  1675,  1677,
1323 >    1683,  1689,  1695,  1707,  1706,  1712,  1712,  1713,  1717,  1721,
1324 >    1725,  1729,  1733,  1737,  1741,  1745,  1749,  1755,  1769,  1778,
1325 >    1792,  1791,  1806,  1806,  1807,  1807,  1807,  1807,  1809,  1815,
1326 >    1821,  1831,  1833,  1833,  1834,  1834,  1836,  1852,  1851,  1876,
1327 >    1876,  1877,  1877,  1877,  1877,  1879,  1885,  1905,  1904,  1910,
1328 >    1910,  1911,  1915,  1919,  1923,  1927,  1931,  1935,  1939,  1943,
1329 >    1947,  1957,  1956,  1977,  1977,  1978,  1978,  1978,  1980,  1987,
1330 >    1986,  1992,  1992,  1993,  1997,  2001,  2005,  2009,  2013,  2017,
1331 >    2021,  2025,  2029,  2039,  2038,  2109,  2109,  2110,  2110,  2110,
1332 >    2111,  2111,  2112,  2113,  2113,  2113,  2114,  2114,  2114,  2115,
1333 >    2115,  2116,  2118,  2124,  2130,  2136,  2149,  2162,  2168,  2174,
1334 >    2178,  2187,  2186,  2191,  2191,  2192,  2196,  2202,  2213,  2219,
1335 >    2225,  2231,  2247,  2246,  2272,  2272,  2273,  2273,  2273,  2275,
1336 >    2295,  2305,  2304,  2331,  2331,  2332,  2332,  2332,  2334,  2340,
1337 >    2349,  2351,  2351,  2352,  2352,  2354,  2372,  2371,  2394,  2394,
1338 >    2395,  2395,  2395,  2397,  2403,  2412,  2415,  2415,  2416,  2416,
1339 >    2417,  2417,  2418,  2418,  2419,  2419,  2420,  2420,  2421,  2422,
1340 >    2423,  2423,  2424,  2424,  2425,  2425,  2426,  2426,  2427,  2428,
1341 >    2428,  2429,  2429,  2430,  2430,  2431,  2431,  2432,  2432,  2433,
1342 >    2433,  2434,  2434,  2435,  2435,  2436,  2437,  2438,  2438,  2439,
1343 >    2439,  2440,  2441,  2442,  2443,  2443,  2444,  2445,  2448,  2453,
1344 >    2459,  2465,  2471,  2477,  2482,  2487,  2492,  2497,  2502,  2507,
1345 >    2512,  2517,  2522,  2527,  2532,  2537,  2542,  2548,  2559,  2564,
1346 >    2569,  2574,  2579,  2584,  2589,  2592,  2597,  2600,  2605,  2610,
1347 >    2615,  2620,  2625,  2630,  2635,  2640,  2645,  2650,  2655,  2660,
1348 >    2669,  2678,  2683,  2688,  2694,  2693,  2698,  2698,  2699,  2702,
1349 >    2705,  2708,  2711,  2714,  2717,  2720,  2723,  2726,  2729,  2732,
1350 >    2735,  2738,  2741,  2744,  2747,  2750,  2753,  2756,  2759,  2765,
1351 >    2764,  2769,  2769,  2770,  2773,  2776,  2779,  2782,  2785,  2788,
1352 >    2791,  2794,  2797,  2800,  2803,  2806,  2809,  2812,  2815,  2818,
1353 >    2821,  2824,  2827,  2830,  2835,  2840,  2845,  2854,  2857,  2857,
1354 >    2858,  2859,  2859,  2860,  2860,  2861,  2862,  2863,  2864,  2865,
1355 >    2865,  2866,  2866,  2868,  2873,  2878,  2883,  2888,  2893,  2898,
1356 >    2903,  2908,  2913,  2918,  2923,  2931,  2934,  2934,  2935,  2935,
1357 >    2936,  2937,  2938,  2939,  2939,  2940,  2941,  2943,  2949,  2955,
1358 >    2961,  2967,  2976,  2990,  2996
1359   };
1360   #endif
1361  
1362 < #if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
1362 > #if YYDEBUG || YYERROR_VERBOSE || 0
1363   /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
1364     First, the terminals, then, starting at YYNTOKENS, nonterminals.  */
1365   static const char *const yytname[] =
1366   {
1367 <  "$end", "error", "$undefined", "ACCEPT_PASSWORD", "ACTION", "ADMIN",
1368 <  "AFTYPE", "T_ALLOW", "ANTI_NICK_FLOOD", "ANTI_SPAM_EXIT_MESSAGE_TIME",
1369 <  "AUTOCONN", "T_BLOCK", "BURST_AWAY", "BURST_TOPICWHO", "BYTES", "KBYTES",
1370 <  "MBYTES", "GBYTES", "TBYTES", "CALLER_ID_WAIT", "CAN_FLOOD", "CAN_IDLE",
1371 <  "CHANNEL", "CIDR_BITLEN_IPV4", "CIDR_BITLEN_IPV6", "CIPHER_PREFERENCE",
1434 <  "CLASS", "COMPRESSED", "COMPRESSION_LEVEL", "CONNECT", "CONNECTFREQ",
1435 <  "CRYPTLINK", "DEFAULT_CIPHER_PREFERENCE", "DEFAULT_FLOODCOUNT",
1367 >  "$end", "error", "$undefined", "ACCEPT_PASSWORD", "ADMIN", "AFTYPE",
1368 >  "ANTI_NICK_FLOOD", "ANTI_SPAM_EXIT_MESSAGE_TIME", "AUTOCONN", "BYTES",
1369 >  "KBYTES", "MBYTES", "CALLER_ID_WAIT", "CAN_FLOOD", "CHANNEL",
1370 >  "CIDR_BITLEN_IPV4", "CIDR_BITLEN_IPV6", "CLASS", "CONNECT",
1371 >  "CONNECTFREQ", "CYCLE_ON_HOST_CHANGE", "DEFAULT_FLOODCOUNT",
1372    "DEFAULT_SPLIT_SERVER_COUNT", "DEFAULT_SPLIT_USER_COUNT", "DENY",
1373    "DESCRIPTION", "DIE", "DISABLE_AUTH", "DISABLE_FAKE_CHANNELS",
1374 <  "DISABLE_HIDDEN", "DISABLE_LOCAL_CHANNELS", "DISABLE_REMOTE_COMMANDS",
1375 <  "DOT_IN_IP6_ADDR", "DOTS_IN_IDENT", "DURATION", "EGDPOOL_PATH", "EMAIL",
1376 <  "ENABLE", "ENCRYPTED", "EXCEED_LIMIT", "EXEMPT", "FAILED_OPER_NOTICE",
1377 <  "FAKENAME", "IRCD_FLAGS", "FLATTEN_LINKS", "FFAILED_OPERLOG", "FKILLLOG",
1378 <  "FKLINELOG", "FGLINELOG", "FIOERRLOG", "FOPERLOG", "FOPERSPYLOG",
1379 <  "FUSERLOG", "GECOS", "GENERAL", "GLINE", "GLINES", "GLINE_EXEMPT",
1380 <  "GLINE_LOG", "GLINE_TIME", "GLINE_MIN_CIDR", "GLINE_MIN_CIDR6",
1381 <  "GLOBAL_KILL", "IRCD_AUTH", "NEED_IDENT", "HAVENT_READ_CONF", "HIDDEN",
1382 <  "HIDDEN_ADMIN", "HIDDEN_NAME", "HIDDEN_OPER", "HIDE_SERVER_IPS",
1383 <  "HIDE_SERVERS", "HIDE_SPOOF_IPS", "HOST", "HUB", "HUB_MASK", "IDLETIME",
1384 <  "IGNORE_BOGUS_TS", "INVISIBLE_ON_CONNECT", "IP", "KILL",
1385 <  "KILL_CHASE_TIME_LIMIT", "KLINE", "KLINE_EXEMPT", "KLINE_REASON",
1386 <  "KLINE_WITH_REASON", "KNOCK_DELAY", "KNOCK_DELAY_CHANNEL", "LEAF_MASK",
1387 <  "LINKS_DELAY", "LISTEN", "T_LOG", "LOGGING", "LOG_LEVEL", "MAX_ACCEPT",
1388 <  "MAX_BANS", "MAX_CHANS_PER_USER", "MAX_GLOBAL", "MAX_IDENT", "MAX_LOCAL",
1389 <  "MAX_NICK_CHANGES", "MAX_NICK_TIME", "MAX_NUMBER", "MAX_TARGETS",
1390 <  "MAX_WATCH", "MESSAGE_LOCALE", "MIN_NONWILDCARD",
1455 <  "MIN_NONWILDCARD_SIMPLE", "MODULE", "MODULES", "NAME", "NEED_PASSWORD",
1456 <  "NETWORK_DESC", "NETWORK_NAME", "NICK", "NICK_CHANGES",
1374 >  "DISABLE_REMOTE_COMMANDS", "DOTS_IN_IDENT", "EGDPOOL_PATH", "EMAIL",
1375 >  "ENCRYPTED", "EXCEED_LIMIT", "EXEMPT", "FAILED_OPER_NOTICE",
1376 >  "FLATTEN_LINKS", "GECOS", "GENERAL", "GLINE", "GLINE_DURATION",
1377 >  "GLINE_ENABLE", "GLINE_EXEMPT", "GLINE_MIN_CIDR", "GLINE_MIN_CIDR6",
1378 >  "GLINE_REQUEST_DURATION", "GLOBAL_KILL", "HAVENT_READ_CONF", "HIDDEN",
1379 >  "HIDDEN_NAME", "HIDE_IDLE_FROM_OPERS", "HIDE_SERVER_IPS", "HIDE_SERVERS",
1380 >  "HIDE_SERVICES", "HIDE_SPOOF_IPS", "HOST", "HUB", "HUB_MASK",
1381 >  "IGNORE_BOGUS_TS", "INVISIBLE_ON_CONNECT", "IP", "IRCD_AUTH",
1382 >  "IRCD_FLAGS", "IRCD_SID", "JOIN_FLOOD_COUNT", "JOIN_FLOOD_TIME", "KILL",
1383 >  "KILL_CHASE_TIME_LIMIT", "KLINE", "KLINE_EXEMPT", "KNOCK_DELAY",
1384 >  "KNOCK_DELAY_CHANNEL", "LEAF_MASK", "LINKS_DELAY", "LISTEN", "MASK",
1385 >  "MAX_ACCEPT", "MAX_BANS", "MAX_CHANS_PER_OPER", "MAX_CHANS_PER_USER",
1386 >  "MAX_GLOBAL", "MAX_IDENT", "MAX_IDLE", "MAX_LOCAL", "MAX_NICK_CHANGES",
1387 >  "MAX_NICK_LENGTH", "MAX_NICK_TIME", "MAX_NUMBER", "MAX_TARGETS",
1388 >  "MAX_TOPIC_LENGTH", "MAX_WATCH", "MIN_IDLE", "MIN_NONWILDCARD",
1389 >  "MIN_NONWILDCARD_SIMPLE", "MODULE", "MODULES", "MOTD", "NAME",
1390 >  "NEED_IDENT", "NEED_PASSWORD", "NETWORK_DESC", "NETWORK_NAME", "NICK",
1391    "NO_CREATE_ON_SPLIT", "NO_JOIN_ON_SPLIT", "NO_OPER_FLOOD", "NO_TILDE",
1392 <  "NOT", "NUMBER", "NUMBER_PER_IDENT", "NUMBER_PER_CIDR", "NUMBER_PER_IP",
1393 <  "NUMBER_PER_IP_GLOBAL", "OPERATOR", "OPERS_BYPASS_CALLERID", "OPER_LOG",
1394 <  "OPER_ONLY_UMODES", "OPER_PASS_RESV", "OPER_SPY_T", "OPER_UMODES",
1395 <  "JOIN_FLOOD_COUNT", "JOIN_FLOOD_TIME", "PACE_WAIT", "PACE_WAIT_SIMPLE",
1396 <  "PASSWORD", "PATH", "PING_COOKIE", "PING_TIME", "PING_WARNING", "PORT",
1397 <  "QSTRING", "QUIET_ON_BAN", "REASON", "REDIRPORT", "REDIRSERV", "REGEX_T",
1398 <  "REHASH", "TREJECT_HOLD_TIME", "REMOTE", "REMOTEBAN",
1399 <  "RESTRICT_CHANNELS", "RESTRICTED", "RSA_PRIVATE_KEY_FILE",
1400 <  "RSA_PUBLIC_KEY_FILE", "SSL_CERTIFICATE_FILE", "RESV", "RESV_EXEMPT",
1401 <  "SECONDS", "MINUTES", "HOURS", "DAYS", "WEEKS", "SENDQ", "SEND_PASSWORD",
1468 <  "SERVERHIDE", "SERVERINFO", "SERVLINK_PATH", "IRCD_SID",
1469 <  "TKLINE_EXPIRE_NOTICES", "T_SHARED", "T_CLUSTER", "TYPE", "SHORT_MOTD",
1470 <  "SILENT", "SPOOF", "SPOOF_NOTICE", "STATS_E_DISABLED",
1392 >  "NUMBER", "NUMBER_PER_CIDR", "NUMBER_PER_IP", "OPER_ONLY_UMODES",
1393 >  "OPER_PASS_RESV", "OPER_UMODES", "OPERATOR", "OPERS_BYPASS_CALLERID",
1394 >  "PACE_WAIT", "PACE_WAIT_SIMPLE", "PASSWORD", "PATH", "PING_COOKIE",
1395 >  "PING_TIME", "PORT", "QSTRING", "RANDOM_IDLE", "REASON", "REDIRPORT",
1396 >  "REDIRSERV", "REHASH", "REMOTE", "REMOTEBAN", "RESV", "RESV_EXEMPT",
1397 >  "RSA_PRIVATE_KEY_FILE", "RSA_PUBLIC_KEY_FILE", "SECONDS", "MINUTES",
1398 >  "HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS", "SEND_PASSWORD", "SENDQ",
1399 >  "SERVERHIDE", "SERVERINFO", "SHORT_MOTD", "SPOOF", "SPOOF_NOTICE",
1400 >  "SQUIT", "SSL_CERTIFICATE_FILE", "SSL_CERTIFICATE_FINGERPRINT",
1401 >  "SSL_CONNECTION_REQUIRED", "SSL_DH_PARAM_FILE", "STATS_E_DISABLED",
1402    "STATS_I_OPER_ONLY", "STATS_K_OPER_ONLY", "STATS_O_OPER_ONLY",
1403 <  "STATS_P_OPER_ONLY", "TBOOL", "TMASKED", "T_REJECT", "TS_MAX_DELTA",
1404 <  "TS_WARN_DELTA", "TWODOTS", "T_ALL", "T_BOTS", "T_SOFTCALLERID",
1405 <  "T_CALLERID", "T_CCONN", "T_CCONN_FULL", "T_CLIENT_FLOOD", "T_DEAF",
1406 <  "T_DEBUG", "T_DRONE", "T_EXTERNAL", "T_FULL", "T_INVISIBLE", "T_IPV4",
1407 <  "T_IPV6", "T_LOCOPS", "T_LOGPATH", "T_L_CRIT", "T_L_DEBUG", "T_L_ERROR",
1408 <  "T_L_INFO", "T_L_NOTICE", "T_L_TRACE", "T_L_WARN", "T_MAX_CLIENTS",
1409 <  "T_NCHANGE", "T_OPERWALL", "T_REJ", "T_SERVER", "T_SERVNOTICE",
1410 <  "T_SKILL", "T_SPY", "T_SSL", "T_UMODES", "T_UNAUTH", "T_UNRESV",
1411 <  "T_UNXLINE", "T_WALLOP", "THROTTLE_TIME", "TOPICBURST",
1412 <  "TRUE_NO_OPER_FLOOD", "TKLINE", "TXLINE", "TRESV", "UNKLINE", "USER",
1413 <  "USE_EGD", "USE_EXCEPT", "USE_INVEX", "USE_KNOCK", "USE_LOGGING",
1414 <  "USE_WHOIS_ACTUALLY", "VHOST", "VHOST6", "XLINE", "WARN",
1415 <  "WARN_NO_NLINE", "';'", "'}'", "'{'", "'='", "','", "$accept", "conf",
1416 <  "conf_item", "timespec_", "timespec", "sizespec_", "sizespec",
1417 <  "modules_entry", "modules_items", "modules_item", "modules_module",
1418 <  "modules_path", "serverinfo_entry", "serverinfo_items",
1419 <  "serverinfo_item", "serverinfo_ssl_certificate_file",
1420 <  "serverinfo_rsa_private_key_file", "serverinfo_name", "serverinfo_sid",
1403 >  "STATS_P_OPER_ONLY", "STATS_U_OPER_ONLY", "T_ALL", "T_BOTS",
1404 >  "T_CALLERID", "T_CCONN", "T_CLUSTER", "T_DEAF", "T_DEBUG", "T_DLINE",
1405 >  "T_EXTERNAL", "T_FARCONNECT", "T_FILE", "T_FULL", "T_GLOBOPS",
1406 >  "T_INVISIBLE", "T_IPV4", "T_IPV6", "T_LOCOPS", "T_LOG", "T_MAX_CLIENTS",
1407 >  "T_NCHANGE", "T_NONONREG", "T_OPERWALL", "T_RECVQ", "T_REJ", "T_RESTART",
1408 >  "T_SERVER", "T_SERVICE", "T_SERVICES_NAME", "T_SERVNOTICE", "T_SET",
1409 >  "T_SHARED", "T_SIZE", "T_SKILL", "T_SOFTCALLERID", "T_SPY", "T_SSL",
1410 >  "T_SSL_CIPHER_LIST", "T_SSL_CLIENT_METHOD", "T_SSL_SERVER_METHOD",
1411 >  "T_SSLV3", "T_TLSV1", "T_UMODES", "T_UNAUTH", "T_UNDLINE", "T_UNLIMITED",
1412 >  "T_UNRESV", "T_UNXLINE", "T_WALLOP", "T_WALLOPS", "T_WEBIRC", "TBOOL",
1413 >  "THROTTLE_TIME", "TKLINE_EXPIRE_NOTICES", "TMASKED",
1414 >  "TRUE_NO_OPER_FLOOD", "TS_MAX_DELTA", "TS_WARN_DELTA", "TWODOTS", "TYPE",
1415 >  "UNKLINE", "USE_EGD", "USE_LOGGING", "USER", "VHOST", "VHOST6",
1416 >  "WARN_NO_NLINE", "XLINE", "';'", "'}'", "'{'", "'='", "','", "':'",
1417 >  "$accept", "conf", "conf_item", "timespec_", "timespec", "sizespec_",
1418 >  "sizespec", "modules_entry", "modules_items", "modules_item",
1419 >  "modules_module", "modules_path", "serverinfo_entry", "serverinfo_items",
1420 >  "serverinfo_item", "serverinfo_ssl_client_method",
1421 >  "serverinfo_ssl_server_method", "client_method_types",
1422 >  "client_method_type_item", "server_method_types",
1423 >  "server_method_type_item", "serverinfo_ssl_certificate_file",
1424 >  "serverinfo_rsa_private_key_file", "serverinfo_ssl_dh_param_file",
1425 >  "serverinfo_ssl_cipher_list", "serverinfo_name", "serverinfo_sid",
1426    "serverinfo_description", "serverinfo_network_name",
1427    "serverinfo_network_desc", "serverinfo_vhost", "serverinfo_vhost6",
1428 <  "serverinfo_max_clients", "serverinfo_hub", "admin_entry", "admin_items",
1429 <  "admin_item", "admin_name", "admin_email", "admin_description",
1430 <  "logging_entry", "logging_items", "logging_item", "logging_path",
1431 <  "logging_oper_log", "logging_fuserlog", "logging_ffailed_operlog",
1432 <  "logging_foperlog", "logging_foperspylog", "logging_fglinelog",
1433 <  "logging_fklinelog", "logging_ioerrlog", "logging_killlog",
1434 <  "logging_log_level", "logging_use_logging", "oper_entry", "@1",
1435 <  "oper_name_b", "oper_items", "oper_item", "oper_name", "oper_name_t",
1436 <  "oper_user", "oper_password", "oper_encrypted",
1437 <  "oper_rsa_public_key_file", "oper_class", "oper_umodes", "@2",
1438 <  "oper_umodes_items", "oper_umodes_item", "oper_global_kill",
1439 <  "oper_remote", "oper_remoteban", "oper_kline", "oper_xline",
1440 <  "oper_unkline", "oper_gline", "oper_nick_changes", "oper_die",
1441 <  "oper_rehash", "oper_admin", "oper_hidden_admin", "oper_hidden_oper",
1442 <  "oper_operwall", "oper_flags", "@3", "oper_flags_items",
1443 <  "oper_flags_item", "@4", "@5", "oper_flags_item_atom", "class_entry",
1444 <  "@6", "class_name_b", "class_items", "class_item", "class_name",
1445 <  "class_name_t", "class_ping_time", "class_ping_warning",
1510 <  "class_number_per_ip", "class_connectfreq", "class_max_number",
1511 <  "class_max_global", "class_max_local", "class_max_ident", "class_sendq",
1428 >  "serverinfo_max_clients", "serverinfo_max_nick_length",
1429 >  "serverinfo_max_topic_length", "serverinfo_hub", "admin_entry",
1430 >  "admin_items", "admin_item", "admin_name", "admin_email",
1431 >  "admin_description", "motd_entry", "$@1", "motd_items", "motd_item",
1432 >  "motd_mask", "motd_file", "logging_entry", "logging_items",
1433 >  "logging_item", "logging_use_logging", "logging_file_entry", "$@2",
1434 >  "logging_file_items", "logging_file_item", "logging_file_name",
1435 >  "logging_file_size", "logging_file_type", "$@3",
1436 >  "logging_file_type_items", "logging_file_type_item", "oper_entry", "$@4",
1437 >  "oper_items", "oper_item", "oper_name", "oper_user", "oper_password",
1438 >  "oper_encrypted", "oper_rsa_public_key_file",
1439 >  "oper_ssl_certificate_fingerprint", "oper_ssl_connection_required",
1440 >  "oper_class", "oper_umodes", "$@5", "oper_umodes_items",
1441 >  "oper_umodes_item", "oper_flags", "$@6", "oper_flags_items",
1442 >  "oper_flags_item", "class_entry", "$@7", "class_items", "class_item",
1443 >  "class_name", "class_ping_time", "class_number_per_ip",
1444 >  "class_connectfreq", "class_max_number", "class_max_global",
1445 >  "class_max_local", "class_max_ident", "class_sendq", "class_recvq",
1446    "class_cidr_bitlen_ipv4", "class_cidr_bitlen_ipv6",
1447 <  "class_number_per_cidr", "listen_entry", "@7", "listen_flags", "@8",
1448 <  "listen_flags_items", "listen_flags_item", "listen_items", "listen_item",
1449 <  "listen_port", "@9", "port_items", "port_item", "listen_address",
1450 <  "listen_host", "auth_entry", "@10", "auth_items", "auth_item",
1451 <  "auth_user", "auth_passwd", "auth_spoof_notice", "auth_class",
1452 <  "auth_encrypted", "auth_flags", "@11", "auth_flags_items",
1453 <  "auth_flags_item", "@12", "@13", "auth_flags_item_atom",
1454 <  "auth_kline_exempt", "auth_need_ident", "auth_exceed_limit",
1455 <  "auth_can_flood", "auth_no_tilde", "auth_gline_exempt", "auth_spoof",
1456 <  "auth_redir_serv", "auth_redir_port", "auth_need_password", "resv_entry",
1457 <  "@14", "resv_items", "resv_item", "resv_creason", "resv_channel",
1458 <  "resv_nick", "shared_entry", "@15", "shared_items", "shared_item",
1459 <  "shared_name", "shared_user", "shared_type", "@16", "shared_types",
1460 <  "shared_type_item", "cluster_entry", "@17", "cluster_items",
1461 <  "cluster_item", "cluster_name", "cluster_type", "@18", "cluster_types",
1462 <  "cluster_type_item", "connect_entry", "@19", "connect_name_b",
1529 <  "connect_items", "connect_item", "connect_name", "connect_name_t",
1447 >  "class_number_per_cidr", "class_min_idle", "class_max_idle",
1448 >  "class_flags", "$@8", "class_flags_items", "class_flags_item",
1449 >  "listen_entry", "$@9", "listen_flags", "$@10", "listen_flags_items",
1450 >  "listen_flags_item", "listen_items", "listen_item", "listen_port",
1451 >  "$@11", "port_items", "port_item", "listen_address", "listen_host",
1452 >  "auth_entry", "$@12", "auth_items", "auth_item", "auth_user",
1453 >  "auth_passwd", "auth_class", "auth_encrypted", "auth_flags", "$@13",
1454 >  "auth_flags_items", "auth_flags_item", "auth_spoof", "auth_redir_serv",
1455 >  "auth_redir_port", "resv_entry", "$@14", "resv_items", "resv_item",
1456 >  "resv_mask", "resv_reason", "resv_exempt", "service_entry",
1457 >  "service_items", "service_item", "service_name", "shared_entry", "$@15",
1458 >  "shared_items", "shared_item", "shared_name", "shared_user",
1459 >  "shared_type", "$@16", "shared_types", "shared_type_item",
1460 >  "cluster_entry", "$@17", "cluster_items", "cluster_item", "cluster_name",
1461 >  "cluster_type", "$@18", "cluster_types", "cluster_type_item",
1462 >  "connect_entry", "$@19", "connect_items", "connect_item", "connect_name",
1463    "connect_host", "connect_vhost", "connect_send_password",
1464 <  "connect_accept_password", "connect_port", "connect_aftype",
1465 <  "connect_fakename", "connect_flags", "@20", "connect_flags_items",
1466 <  "connect_flags_item", "@21", "@22", "connect_flags_item_atom",
1534 <  "connect_rsa_public_key_file", "connect_encrypted", "connect_cryptlink",
1535 <  "connect_compressed", "connect_auto", "connect_topicburst",
1464 >  "connect_accept_password", "connect_ssl_certificate_fingerprint",
1465 >  "connect_port", "connect_aftype", "connect_flags", "$@20",
1466 >  "connect_flags_items", "connect_flags_item", "connect_encrypted",
1467    "connect_hub_mask", "connect_leaf_mask", "connect_class",
1468 <  "connect_cipher_preference", "kill_entry", "@23", "kill_type", "@24",
1469 <  "kill_type_items", "kill_type_item", "kill_items", "kill_item",
1470 <  "kill_user", "kill_reason", "deny_entry", "@25", "deny_items",
1471 <  "deny_item", "deny_ip", "deny_reason", "exempt_entry", "exempt_items",
1472 <  "exempt_item", "exempt_ip", "gecos_entry", "@26", "gecos_flags", "@27",
1473 <  "gecos_flags_items", "gecos_flags_item", "gecos_items", "gecos_item",
1474 <  "gecos_name", "gecos_reason", "general_entry", "general_items",
1475 <  "general_item", "general_max_watch", "general_gline_min_cidr",
1476 <  "general_gline_min_cidr6", "general_burst_away",
1546 <  "general_use_whois_actually", "general_reject_hold_time",
1468 >  "connect_ssl_cipher_list", "kill_entry", "$@21", "kill_items",
1469 >  "kill_item", "kill_user", "kill_reason", "deny_entry", "$@22",
1470 >  "deny_items", "deny_item", "deny_ip", "deny_reason", "exempt_entry",
1471 >  "exempt_items", "exempt_item", "exempt_ip", "gecos_entry", "$@23",
1472 >  "gecos_items", "gecos_item", "gecos_name", "gecos_reason",
1473 >  "general_entry", "general_items", "general_item", "general_max_watch",
1474 >  "general_cycle_on_host_change", "general_gline_enable",
1475 >  "general_gline_duration", "general_gline_request_duration",
1476 >  "general_gline_min_cidr", "general_gline_min_cidr6",
1477    "general_tkline_expire_notices", "general_kill_chase_time_limit",
1478    "general_hide_spoof_ips", "general_ignore_bogus_ts",
1479 <  "general_disable_remote_commands", "general_failed_oper_notice",
1480 <  "general_anti_nick_flood", "general_max_nick_time",
1481 <  "general_max_nick_changes", "general_max_accept",
1482 <  "general_anti_spam_exit_message_time", "general_ts_warn_delta",
1483 <  "general_ts_max_delta", "general_havent_read_conf",
1484 <  "general_kline_with_reason", "general_kline_reason",
1485 <  "general_invisible_on_connect", "general_warn_no_nline",
1486 <  "general_stats_e_disabled", "general_stats_o_oper_only",
1557 <  "general_stats_P_oper_only", "general_stats_k_oper_only",
1479 >  "general_failed_oper_notice", "general_anti_nick_flood",
1480 >  "general_max_nick_time", "general_max_nick_changes",
1481 >  "general_max_accept", "general_anti_spam_exit_message_time",
1482 >  "general_ts_warn_delta", "general_ts_max_delta",
1483 >  "general_havent_read_conf", "general_invisible_on_connect",
1484 >  "general_warn_no_nline", "general_stats_e_disabled",
1485 >  "general_stats_o_oper_only", "general_stats_P_oper_only",
1486 >  "general_stats_u_oper_only", "general_stats_k_oper_only",
1487    "general_stats_i_oper_only", "general_pace_wait",
1488    "general_caller_id_wait", "general_opers_bypass_callerid",
1489    "general_pace_wait_simple", "general_short_motd",
1490    "general_no_oper_flood", "general_true_no_oper_flood",
1491 <  "general_oper_pass_resv", "general_message_locale", "general_idletime",
1492 <  "general_dots_in_ident", "general_max_targets", "general_servlink_path",
1493 <  "general_default_cipher_preference", "general_compression_level",
1494 <  "general_use_egd", "general_egdpool_path", "general_ping_cookie",
1495 <  "general_disable_auth", "general_throttle_time", "general_oper_umodes",
1496 <  "@28", "umode_oitems", "umode_oitem", "general_oper_only_umodes", "@29",
1497 <  "umode_items", "umode_item", "general_min_nonwildcard",
1498 <  "general_min_nonwildcard_simple", "general_default_floodcount",
1570 <  "general_client_flood", "general_dot_in_ip6_addr", "gline_entry", "@30",
1571 <  "gline_items", "gline_item", "gline_enable", "gline_duration",
1572 <  "gline_logging", "@31", "gline_logging_types", "gline_logging_type_item",
1573 <  "gline_user", "gline_server", "gline_action", "@32", "gdeny_types",
1574 <  "gdeny_type_item", "channel_entry", "channel_items", "channel_item",
1575 <  "channel_disable_fake_channels", "channel_restrict_channels",
1576 <  "channel_disable_local_channels", "channel_use_except",
1577 <  "channel_use_invex", "channel_use_knock", "channel_knock_delay",
1491 >  "general_oper_pass_resv", "general_dots_in_ident", "general_max_targets",
1492 >  "general_use_egd", "general_egdpool_path", "general_services_name",
1493 >  "general_ping_cookie", "general_disable_auth", "general_throttle_time",
1494 >  "general_oper_umodes", "$@24", "umode_oitems", "umode_oitem",
1495 >  "general_oper_only_umodes", "$@25", "umode_items", "umode_item",
1496 >  "general_min_nonwildcard", "general_min_nonwildcard_simple",
1497 >  "general_default_floodcount", "channel_entry", "channel_items",
1498 >  "channel_item", "channel_disable_fake_channels", "channel_knock_delay",
1499    "channel_knock_delay_channel", "channel_max_chans_per_user",
1500 <  "channel_quiet_on_ban", "channel_max_bans",
1500 >  "channel_max_chans_per_oper", "channel_max_bans",
1501    "channel_default_split_user_count", "channel_default_split_server_count",
1502    "channel_no_create_on_split", "channel_no_join_on_split",
1503 <  "channel_burst_topicwho", "channel_jflood_count", "channel_jflood_time",
1504 <  "serverhide_entry", "serverhide_items", "serverhide_item",
1505 <  "serverhide_flatten_links", "serverhide_hide_servers",
1506 <  "serverhide_hidden_name", "serverhide_links_delay", "serverhide_hidden",
1507 <  "serverhide_disable_hidden", "serverhide_hide_server_ips", 0
1503 >  "channel_jflood_count", "channel_jflood_time", "serverhide_entry",
1504 >  "serverhide_items", "serverhide_item", "serverhide_flatten_links",
1505 >  "serverhide_disable_remote_commands", "serverhide_hide_servers",
1506 >  "serverhide_hide_services", "serverhide_hidden_name",
1507 >  "serverhide_links_delay", "serverhide_hidden",
1508 >  "serverhide_hide_server_ips", YY_NULL
1509   };
1510   #endif
1511  
# Line 1614 | Line 1536 | static const yytype_uint16 yytoknum[] =
1536       445,   446,   447,   448,   449,   450,   451,   452,   453,   454,
1537       455,   456,   457,   458,   459,   460,   461,   462,   463,   464,
1538       465,   466,   467,   468,   469,   470,   471,   472,   473,   474,
1539 <     475,   476,   477,   478,   479,   480,   481,   482,   483,   484,
1540 <     485,   486,   487,   488,   489,   490,   491,   492,   493,   494,
1619 <     495,   496,   497,   498,   499,   500,   501,   502,   503,   504,
1620 <     505,   506,   507,   508,   509,   510,   511,   512,   513,    59,
1621 <     125,   123,    61,    44
1539 >     475,   476,   477,   478,   479,   480,   481,    59,   125,   123,
1540 >      61,    44,    58
1541   };
1542   # endif
1543  
1544   /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
1545   static const yytype_uint16 yyr1[] =
1546   {
1547 <       0,   264,   265,   265,   266,   266,   266,   266,   266,   266,
1548 <     266,   266,   266,   266,   266,   266,   266,   266,   266,   266,
1549 <     266,   266,   266,   266,   266,   266,   267,   267,   268,   268,
1550 <     268,   268,   268,   268,   269,   269,   270,   270,   270,   270,
1551 <     271,   272,   272,   273,   273,   273,   274,   275,   276,   277,
1552 <     277,   278,   278,   278,   278,   278,   278,   278,   278,   278,
1553 <     278,   278,   278,   279,   280,   281,   282,   283,   284,   285,
1554 <     286,   287,   288,   289,   290,   291,   291,   292,   292,   292,
1555 <     292,   293,   294,   295,   296,   297,   297,   298,   298,   298,
1547 >       0,   233,   234,   234,   235,   235,   235,   235,   235,   235,
1548 >     235,   235,   235,   235,   235,   235,   235,   235,   235,   235,
1549 >     235,   235,   235,   235,   235,   235,   235,   236,   236,   237,
1550 >     237,   237,   237,   237,   237,   237,   237,   238,   238,   239,
1551 >     239,   239,   239,   240,   241,   241,   242,   242,   242,   243,
1552 >     244,   245,   246,   246,   247,   247,   247,   247,   247,   247,
1553 >     247,   247,   247,   247,   247,   247,   247,   247,   247,   247,
1554 >     247,   247,   248,   249,   250,   250,   251,   251,   252,   252,
1555 >     253,   253,   254,   255,   256,   257,   258,   259,   260,   261,
1556 >     262,   263,   264,   265,   266,   267,   268,   269,   270,   270,
1557 >     271,   271,   271,   271,   272,   273,   274,   276,   275,   277,
1558 >     277,   278,   278,   278,   279,   280,   281,   282,   282,   283,
1559 >     283,   283,   284,   286,   285,   287,   287,   288,   288,   288,
1560 >     288,   289,   290,   290,   292,   291,   293,   293,   294,   294,
1561 >     294,   294,   294,   294,   294,   296,   295,   297,   297,   298,
1562       298,   298,   298,   298,   298,   298,   298,   298,   298,   298,
1563 <     299,   300,   301,   302,   303,   304,   305,   306,   307,   308,
1564 <     309,   309,   309,   309,   309,   309,   309,   310,   312,   311,
1565 <     313,   313,   314,   314,   315,   315,   315,   315,   315,   315,
1566 <     315,   315,   315,   315,   315,   315,   315,   315,   315,   315,
1567 <     315,   315,   315,   315,   315,   315,   315,   316,   317,   318,
1568 <     319,   320,   321,   322,   324,   323,   325,   325,   326,   326,
1569 <     326,   326,   326,   326,   326,   326,   326,   326,   326,   326,
1570 <     326,   326,   326,   326,   326,   326,   326,   327,   328,   329,
1571 <     330,   331,   332,   333,   334,   335,   336,   337,   338,   339,
1572 <     340,   342,   341,   343,   343,   345,   344,   346,   344,   347,
1573 <     347,   347,   347,   347,   347,   347,   347,   347,   347,   347,
1574 <     347,   347,   347,   347,   347,   349,   348,   350,   350,   351,
1575 <     351,   352,   352,   352,   352,   352,   352,   352,   352,   352,
1576 <     352,   352,   352,   352,   352,   353,   354,   355,   356,   357,
1577 <     358,   359,   360,   361,   362,   363,   364,   365,   366,   368,
1578 <     367,   370,   369,   371,   371,   372,   372,   372,   373,   373,
1579 <     374,   374,   374,   374,   374,   376,   375,   377,   377,   378,
1580 <     378,   379,   380,   382,   381,   383,   383,   384,   384,   384,
1581 <     384,   384,   384,   384,   384,   384,   384,   384,   384,   384,
1582 <     384,   384,   384,   384,   385,   386,   387,   388,   389,   391,
1583 <     390,   392,   392,   394,   393,   395,   393,   396,   396,   396,
1584 <     396,   396,   396,   396,   396,   396,   396,   397,   398,   399,
1585 <     400,   401,   402,   403,   404,   405,   406,   408,   407,   409,
1586 <     409,   410,   410,   410,   410,   411,   412,   413,   415,   414,
1587 <     416,   416,   417,   417,   417,   417,   418,   419,   421,   420,
1588 <     422,   422,   423,   423,   423,   423,   423,   423,   423,   423,
1589 <     423,   423,   423,   425,   424,   426,   426,   427,   427,   427,
1590 <     428,   430,   429,   431,   431,   432,   432,   432,   432,   432,
1591 <     432,   432,   432,   432,   432,   432,   434,   433,   435,   435,
1592 <     436,   436,   437,   437,   437,   437,   437,   437,   437,   437,
1593 <     437,   437,   437,   437,   437,   437,   437,   437,   437,   437,
1594 <     437,   437,   438,   439,   440,   441,   442,   443,   444,   445,
1595 <     445,   446,   448,   447,   449,   449,   451,   450,   452,   450,
1596 <     453,   453,   453,   453,   453,   454,   455,   456,   457,   458,
1597 <     459,   460,   461,   462,   463,   465,   464,   467,   466,   468,
1598 <     468,   469,   470,   470,   471,   471,   471,   471,   472,   473,
1599 <     475,   474,   476,   476,   477,   477,   477,   478,   479,   480,
1600 <     481,   481,   482,   482,   483,   485,   484,   487,   486,   488,
1601 <     488,   489,   490,   490,   491,   491,   491,   491,   492,   493,
1602 <     494,   495,   495,   496,   496,   496,   496,   496,   496,   496,
1603 <     496,   496,   496,   496,   496,   496,   496,   496,   496,   496,
1604 <     496,   496,   496,   496,   496,   496,   496,   496,   496,   496,
1605 <     496,   496,   496,   496,   496,   496,   496,   496,   496,   496,
1606 <     496,   496,   496,   496,   496,   496,   496,   496,   496,   496,
1607 <     496,   496,   496,   496,   496,   496,   496,   496,   496,   496,
1608 <     497,   498,   499,   500,   501,   502,   503,   504,   505,   506,
1609 <     507,   508,   509,   510,   511,   512,   513,   514,   515,   516,
1610 <     517,   518,   519,   520,   521,   522,   523,   524,   524,   525,
1611 <     525,   526,   527,   528,   529,   530,   531,   532,   533,   534,
1612 <     535,   536,   537,   538,   539,   540,   541,   542,   543,   544,
1688 <     545,   547,   546,   548,   548,   549,   549,   549,   549,   549,
1689 <     549,   549,   549,   549,   549,   549,   549,   549,   549,   549,
1690 <     549,   549,   549,   549,   551,   550,   552,   552,   553,   553,
1691 <     553,   553,   553,   553,   553,   553,   553,   553,   553,   553,
1692 <     553,   553,   553,   553,   553,   553,   553,   554,   555,   556,
1693 <     557,   558,   560,   559,   561,   561,   562,   562,   562,   562,
1694 <     562,   562,   562,   563,   564,   566,   565,   567,   567,   568,
1695 <     568,   569,   570,   572,   571,   573,   573,   574,   574,   575,
1696 <     576,   576,   577,   577,   577,   577,   577,   577,   577,   577,
1697 <     577,   577,   577,   577,   577,   577,   577,   577,   577,   577,
1698 <     577,   578,   579,   580,   581,   582,   583,   584,   585,   586,
1699 <     587,   588,   589,   590,   591,   592,   593,   594,   595,   596,
1700 <     597,   597,   598,   598,   598,   598,   598,   598,   598,   598,
1701 <     599,   600,   601,   602,   603,   604,   605
1563 >     299,   300,   301,   302,   303,   304,   305,   306,   308,   307,
1564 >     309,   309,   310,   310,   310,   310,   310,   310,   310,   310,
1565 >     310,   310,   310,   310,   310,   310,   310,   310,   310,   310,
1566 >     310,   310,   310,   312,   311,   313,   313,   314,   314,   314,
1567 >     314,   314,   314,   314,   314,   314,   314,   314,   314,   314,
1568 >     314,   314,   314,   314,   314,   314,   314,   314,   314,   314,
1569 >     316,   315,   317,   317,   318,   318,   318,   318,   318,   318,
1570 >     318,   318,   318,   318,   318,   318,   318,   318,   318,   318,
1571 >     318,   319,   320,   321,   322,   323,   324,   325,   326,   327,
1572 >     328,   329,   330,   331,   332,   333,   335,   334,   336,   336,
1573 >     337,   337,   339,   338,   341,   340,   342,   342,   343,   343,
1574 >     343,   344,   344,   345,   345,   345,   345,   345,   347,   346,
1575 >     348,   348,   349,   349,   350,   351,   353,   352,   354,   354,
1576 >     355,   355,   355,   355,   355,   355,   355,   355,   355,   356,
1577 >     357,   358,   359,   361,   360,   362,   362,   363,   363,   363,
1578 >     363,   363,   363,   363,   363,   363,   363,   364,   365,   366,
1579 >     368,   367,   369,   369,   370,   370,   370,   370,   371,   372,
1580 >     373,   374,   375,   375,   376,   376,   377,   379,   378,   380,
1581 >     380,   381,   381,   381,   381,   382,   383,   385,   384,   386,
1582 >     386,   387,   387,   387,   387,   387,   387,   387,   387,   387,
1583 >     387,   389,   388,   390,   390,   391,   391,   391,   392,   394,
1584 >     393,   395,   395,   396,   396,   396,   396,   396,   396,   396,
1585 >     396,   396,   396,   398,   397,   399,   399,   400,   400,   400,
1586 >     400,   400,   400,   400,   400,   400,   400,   400,   400,   400,
1587 >     400,   400,   401,   402,   403,   404,   405,   406,   407,   408,
1588 >     408,   410,   409,   411,   411,   412,   412,   413,   414,   415,
1589 >     416,   417,   419,   418,   420,   420,   421,   421,   421,   422,
1590 >     423,   425,   424,   426,   426,   427,   427,   427,   428,   429,
1591 >     430,   431,   431,   432,   432,   433,   435,   434,   436,   436,
1592 >     437,   437,   437,   438,   439,   440,   441,   441,   442,   442,
1593 >     442,   442,   442,   442,   442,   442,   442,   442,   442,   442,
1594 >     442,   442,   442,   442,   442,   442,   442,   442,   442,   442,
1595 >     442,   442,   442,   442,   442,   442,   442,   442,   442,   442,
1596 >     442,   442,   442,   442,   442,   442,   442,   442,   442,   442,
1597 >     442,   442,   442,   442,   442,   442,   442,   442,   443,   444,
1598 >     445,   446,   447,   448,   449,   450,   451,   452,   453,   454,
1599 >     455,   456,   457,   458,   459,   460,   461,   462,   463,   464,
1600 >     465,   466,   467,   468,   469,   469,   470,   470,   471,   472,
1601 >     473,   474,   475,   476,   477,   478,   479,   480,   481,   482,
1602 >     483,   484,   485,   486,   488,   487,   489,   489,   490,   490,
1603 >     490,   490,   490,   490,   490,   490,   490,   490,   490,   490,
1604 >     490,   490,   490,   490,   490,   490,   490,   490,   490,   492,
1605 >     491,   493,   493,   494,   494,   494,   494,   494,   494,   494,
1606 >     494,   494,   494,   494,   494,   494,   494,   494,   494,   494,
1607 >     494,   494,   494,   494,   495,   496,   497,   498,   499,   499,
1608 >     500,   500,   500,   500,   500,   500,   500,   500,   500,   500,
1609 >     500,   500,   500,   501,   502,   503,   504,   505,   506,   507,
1610 >     508,   509,   510,   511,   512,   513,   514,   514,   515,   515,
1611 >     515,   515,   515,   515,   515,   515,   515,   516,   517,   518,
1612 >     519,   520,   521,   522,   523
1613   };
1614  
1615   /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */
# Line 1706 | Line 1617 | static const yytype_uint8 yyr2[] =
1617   {
1618         0,     2,     0,     2,     1,     1,     1,     1,     1,     1,
1619         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1620 <       1,     1,     1,     1,     2,     2,     0,     1,     2,     3,
1621 <       3,     3,     3,     3,     0,     1,     2,     3,     3,     3,
1622 <       5,     2,     1,     1,     1,     2,     4,     4,     5,     2,
1620 >       1,     1,     1,     1,     1,     2,     2,     0,     1,     2,
1621 >       3,     3,     3,     3,     3,     3,     3,     0,     1,     2,
1622 >       3,     3,     3,     5,     2,     1,     1,     1,     2,     4,
1623 >       4,     5,     2,     1,     1,     1,     1,     1,     1,     1,
1624         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1625 <       1,     1,     2,     4,     4,     4,     4,     4,     4,     4,
1626 <       4,     4,     4,     4,     5,     2,     1,     1,     1,     1,
1627 <       2,     4,     4,     4,     5,     2,     1,     1,     1,     1,
1625 >       1,     2,     4,     4,     3,     1,     1,     1,     3,     1,
1626 >       1,     1,     4,     4,     4,     4,     4,     4,     4,     4,
1627 >       4,     4,     4,     4,     4,     4,     4,     5,     2,     1,
1628 >       1,     1,     1,     2,     4,     4,     4,     0,     6,     2,
1629 >       1,     1,     1,     2,     4,     4,     5,     2,     1,     1,
1630 >       1,     2,     4,     0,     6,     2,     1,     1,     1,     1,
1631 >       2,     4,     4,     4,     0,     5,     3,     1,     1,     1,
1632 >       1,     1,     1,     1,     1,     0,     6,     2,     1,     1,
1633         1,     1,     1,     1,     1,     1,     1,     1,     1,     2,
1634 <       4,     4,     4,     4,     4,     4,     4,     4,     4,     4,
1635 <       4,     4,     4,     4,     4,     4,     4,     4,     0,     7,
1719 <       0,     1,     2,     1,     1,     1,     1,     1,     1,     1,
1720 <       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1721 <       1,     1,     1,     1,     1,     1,     2,     4,     1,     4,
1722 <       4,     4,     4,     4,     0,     5,     3,     1,     1,     1,
1723 <       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1724 <       1,     1,     1,     1,     1,     1,     1,     4,     4,     4,
1725 <       4,     4,     4,     4,     4,     4,     4,     4,     4,     4,
1726 <       4,     0,     5,     3,     1,     0,     3,     0,     2,     1,
1634 >       4,     4,     4,     4,     4,     4,     4,     4,     0,     5,
1635 >       3,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1636         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1637 <       1,     1,     1,     1,     1,     0,     7,     0,     1,     2,
1637 >       1,     1,     1,     0,     5,     3,     1,     3,     1,     3,
1638 >       1,     3,     1,     1,     1,     1,     1,     1,     1,     1,
1639         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1640 <       1,     1,     1,     1,     2,     4,     1,     4,     4,     4,
1731 <       4,     4,     4,     4,     4,     4,     4,     4,     4,     0,
1732 <       6,     0,     5,     3,     1,     1,     1,     1,     2,     1,
1733 <       1,     1,     1,     1,     2,     0,     5,     3,     1,     1,
1734 <       3,     4,     4,     0,     6,     2,     1,     1,     1,     1,
1640 >       0,     6,     2,     1,     1,     1,     1,     1,     1,     1,
1641         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1642 <       1,     1,     1,     2,     4,     4,     4,     4,     4,     0,
1643 <       5,     3,     1,     0,     3,     0,     2,     1,     1,     1,
1642 >       2,     4,     4,     4,     4,     4,     4,     4,     4,     4,
1643 >       4,     4,     4,     4,     4,     4,     0,     5,     3,     1,
1644 >       1,     1,     0,     6,     0,     5,     3,     1,     1,     1,
1645 >       1,     2,     1,     1,     1,     1,     1,     2,     0,     5,
1646 >       3,     1,     1,     3,     4,     4,     0,     6,     2,     1,
1647 >       1,     1,     1,     1,     1,     1,     1,     1,     2,     4,
1648 >       4,     4,     4,     0,     5,     3,     1,     1,     1,     1,
1649         1,     1,     1,     1,     1,     1,     1,     4,     4,     4,
1650 <       4,     4,     4,     4,     4,     4,     4,     0,     6,     2,
1651 <       1,     1,     1,     1,     2,     4,     4,     4,     0,     6,
1652 <       2,     1,     1,     1,     1,     2,     4,     4,     0,     5,
1742 <       3,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1743 <       1,     1,     1,     0,     6,     2,     1,     1,     1,     2,
1744 <       4,     0,     5,     3,     1,     1,     1,     1,     1,     1,
1745 <       1,     1,     1,     1,     1,     1,     0,     7,     0,     1,
1746 <       2,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1650 >       0,     6,     2,     1,     1,     1,     1,     2,     4,     4,
1651 >       4,     5,     2,     1,     1,     1,     4,     0,     6,     2,
1652 >       1,     1,     1,     1,     2,     4,     4,     0,     5,     3,
1653         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1654 <       1,     2,     4,     1,     4,     4,     4,     4,     4,     4,
1655 <       4,     4,     0,     5,     3,     1,     0,     3,     0,     2,
1656 <       1,     1,     1,     1,     1,     4,     4,     4,     4,     4,
1751 <       4,     4,     4,     4,     4,     0,     6,     0,     5,     3,
1752 <       1,     1,     2,     1,     1,     1,     1,     1,     4,     4,
1753 <       0,     6,     2,     1,     1,     1,     1,     4,     4,     5,
1754 <       2,     1,     1,     1,     4,     0,     6,     0,     5,     3,
1755 <       1,     1,     2,     1,     1,     1,     1,     1,     4,     4,
1756 <       5,     2,     1,     1,     1,     1,     1,     1,     1,     1,
1654 >       1,     0,     6,     2,     1,     1,     1,     2,     4,     0,
1655 >       5,     3,     1,     1,     1,     1,     1,     1,     1,     1,
1656 >       1,     1,     1,     0,     6,     2,     1,     1,     1,     1,
1657         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1658 +       1,     2,     4,     4,     4,     4,     4,     4,     4,     4,
1659 +       4,     0,     5,     3,     1,     1,     1,     4,     4,     4,
1660 +       4,     4,     0,     6,     2,     1,     1,     1,     1,     4,
1661 +       4,     0,     6,     2,     1,     1,     1,     1,     4,     4,
1662 +       5,     2,     1,     1,     1,     4,     0,     6,     2,     1,
1663 +       1,     1,     1,     4,     4,     5,     2,     1,     1,     1,
1664         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1665         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1666         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1667         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1668 +       1,     1,     1,     1,     1,     1,     1,     1,     4,     4,
1669         4,     4,     4,     4,     4,     4,     4,     4,     4,     4,
1670         4,     4,     4,     4,     4,     4,     4,     4,     4,     4,
1671         4,     4,     4,     4,     4,     4,     4,     4,     4,     4,
1672         4,     4,     4,     4,     4,     4,     4,     4,     4,     4,
1673 <       4,     4,     4,     4,     4,     4,     4,     4,     4,     4,
1767 <       4,     0,     5,     3,     1,     1,     1,     1,     1,     1,
1673 >       4,     4,     4,     4,     0,     5,     3,     1,     1,     1,
1674         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1675 <       1,     1,     1,     1,     0,     5,     3,     1,     1,     1,
1675 >       1,     1,     1,     1,     1,     1,     1,     1,     1,     0,
1676 >       5,     3,     1,     1,     1,     1,     1,     1,     1,     1,
1677         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1678 <       1,     1,     1,     1,     1,     1,     1,     4,     4,     4,
1772 <       4,     4,     0,     6,     2,     1,     1,     1,     1,     1,
1773 <       1,     1,     1,     4,     4,     0,     5,     3,     1,     1,
1774 <       1,     4,     4,     0,     5,     3,     1,     1,     1,     5,
1775 <       2,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1678 >       1,     1,     1,     1,     4,     4,     4,     5,     2,     1,
1679         1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1680 <       1,     4,     4,     4,     4,     4,     4,     4,     4,     4,
1681 <       4,     4,     4,     4,     4,     4,     4,     4,     4,     5,
1682 <       2,     1,     1,     1,     1,     1,     1,     1,     1,     1,
1683 <       4,     4,     4,     4,     4,     4,     4
1680 >       1,     1,     1,     4,     4,     4,     4,     4,     4,     4,
1681 >       4,     4,     4,     4,     4,     5,     2,     1,     1,     1,
1682 >       1,     1,     1,     1,     1,     1,     1,     4,     4,     4,
1683 >       4,     4,     4,     4,     4
1684   };
1685  
1686 < /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
1687 <   STATE-NUM when YYTABLE doesn't specify something else to do.  Zero
1686 > /* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM.
1687 >   Performed when YYTABLE doesn't specify something else to do.  Zero
1688     means the default is an error.  */
1689   static const yytype_uint16 yydefact[] =
1690   {
1691 <       2,     0,     1,     0,     0,     0,   215,   386,   460,     0,
1692 <     475,     0,   652,   273,   445,   249,     0,     0,   118,   327,
1693 <       0,     0,   338,   363,     3,    23,    11,     4,     5,     6,
1694 <       8,     9,    10,    13,    14,    15,    16,    17,    18,    19,
1695 <      22,    20,    21,     7,    12,    24,    25,     0,     0,   217,
1793 <     388,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1794 <       0,   120,     0,     0,     0,     0,     0,     0,     0,     0,
1795 <       0,     0,    76,    77,    79,    78,   700,     0,     0,     0,
1691 >       2,     0,     1,     0,     0,     0,   220,   383,   431,     0,
1692 >     446,     0,   286,   422,   262,     0,   107,   145,   320,     0,
1693 >       0,   361,     0,     0,   337,     3,    23,    11,     4,    24,
1694 >       5,     6,     8,     9,    10,    13,    14,    15,    16,    17,
1695 >      18,    19,    20,    22,    21,     7,    12,    25,    26,     0,
1696         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1797       0,     0,     0,     0,     0,     0,   681,   699,   694,   682,
1798     683,   684,   685,   687,   688,   689,   690,   686,   691,   692,
1799     693,   695,   696,   697,   698,   236,     0,   218,   413,     0,
1800     389,     0,   473,     0,     0,   471,   472,     0,   549,     0,
1697         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1698 +       0,     0,     0,     0,     0,    99,   100,   102,   101,   622,
1699         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1700 +       0,     0,     0,   609,   621,   611,   612,   613,   614,   610,
1701 +     615,   616,   617,   618,   619,   620,     0,     0,     0,   444,
1702 +       0,     0,   442,   443,     0,   507,     0,     0,     0,     0,
1703         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1804       0,     0,   624,     0,   601,     0,     0,     0,     0,     0,
1704         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1705 <       0,     0,     0,     0,     0,     0,   492,   548,   543,   544,
1807 <     541,   545,   546,   542,   503,   493,   494,   532,   495,   496,
1808 <     497,   498,   499,   500,   501,   502,   537,   504,   505,   506,
1809 <     507,   547,   509,   514,   510,   512,   511,   526,   527,   513,
1810 <     515,   516,   517,   518,   520,   519,   508,   522,   531,   533,
1811 <     534,   523,   524,   539,   540,   536,   525,   521,   529,   530,
1812 <     528,   535,   538,     0,     0,     0,     0,     0,     0,     0,
1705 >       0,     0,     0,   579,     0,   554,     0,     0,     0,     0,
1706         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1707 <       0,    86,    87,    88,    91,    98,    92,    96,    93,    94,
1708 <      97,    95,    89,    90,     0,     0,     0,     0,    42,    43,
1709 <      44,   148,     0,   121,     0,   729,     0,     0,     0,     0,
1710 <       0,     0,     0,     0,   721,   722,   723,   727,   724,   726,
1711 <     725,   728,     0,     0,     0,     0,     0,     0,     0,     0,
1712 <       0,     0,     0,     0,     0,    50,    61,    58,    51,    60,
1713 <      54,    55,    56,    52,    59,    57,    53,     0,     0,    80,
1714 <       0,     0,     0,     0,    75,     0,     0,     0,     0,     0,
1707 >       0,     0,     0,     0,     0,     0,   457,   504,   506,   498,
1708 >     499,   500,   501,   502,   497,   468,   458,   459,   460,   461,
1709 >     462,   463,   464,   465,   466,   467,   494,   469,   470,   503,
1710 >     472,   477,   478,   473,   475,   474,   488,   489,   476,   479,
1711 >     480,   481,   482,   471,   484,   485,   486,   505,   495,   496,
1712 >     493,   487,   483,   491,   492,   490,     0,     0,     0,     0,
1713 >       0,     0,     0,    45,    46,    47,     0,     0,     0,   646,
1714 >       0,     0,     0,     0,     0,     0,     0,     0,     0,   637,
1715 >     638,   639,   640,   641,   644,   642,   643,   645,     0,     0,
1716         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1717 <       0,     0,     0,     0,   680,     0,     0,   466,     0,     0,
1718 <       0,   463,   464,   465,     0,     0,   470,   487,     0,     0,
1719 <     477,   486,     0,   483,   484,   485,     0,     0,     0,     0,
1717 >       0,     0,     0,     0,     0,     0,     0,    53,    68,    69,
1718 >      67,    64,    63,    70,    54,    66,    57,    58,    59,    55,
1719 >      65,    60,    61,    62,    56,     0,     0,     0,     0,   118,
1720 >     119,   120,     0,   335,     0,     0,   333,   334,     0,   103,
1721 >       0,     0,     0,     0,    98,     0,     0,     0,     0,     0,
1722 >       0,     0,     0,     0,     0,     0,     0,     0,   608,     0,
1723 >       0,     0,     0,   256,     0,     0,     0,     0,     0,     0,
1724 >       0,     0,     0,     0,     0,     0,     0,   223,   224,   227,
1725 >     229,   230,   231,   232,   233,   234,   235,   236,   225,   226,
1726 >     228,   237,   238,   239,     0,     0,     0,     0,     0,     0,
1727 >       0,   411,     0,     0,     0,     0,     0,     0,     0,     0,
1728 >     386,   387,   388,   389,   390,   391,   392,   394,   393,   396,
1729 >     400,   397,   398,   399,   395,   437,     0,     0,     0,   434,
1730 >     435,   436,     0,     0,   441,   452,     0,     0,     0,   449,
1731 >     450,   451,     0,     0,     0,     0,     0,     0,     0,     0,
1732         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1733         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1734         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1735         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1736 +       0,     0,   456,     0,     0,     0,   303,     0,     0,     0,
1737 +       0,     0,     0,   289,   290,   291,   292,   297,   293,   294,
1738 +     295,   296,   428,     0,     0,     0,   425,   426,   427,     0,
1739 +       0,     0,   264,     0,   274,     0,   272,   273,   275,   276,
1740 +      48,     0,     0,     0,    44,     0,     0,     0,     0,   110,
1741 +     111,   112,     0,     0,     0,   193,     0,     0,     0,     0,
1742 +       0,   168,     0,     0,   148,   149,   150,   151,   154,   155,
1743 +     156,   157,   153,   152,   158,     0,     0,     0,     0,     0,
1744 +     323,   324,   325,   326,     0,     0,     0,     0,     0,     0,
1745 +       0,     0,     0,   636,    71,     0,     0,     0,     0,     0,
1746         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1747 <       0,     0,     0,   491,   662,   673,     0,     0,   665,     0,
1748 <       0,     0,   655,   656,   657,   658,   659,   660,   661,     0,
1749 <       0,     0,     0,     0,   299,     0,     0,     0,     0,     0,
1750 <       0,     0,     0,     0,     0,     0,     0,   276,   277,   278,
1751 <     287,   279,   292,   280,   281,   282,   283,   290,   284,   285,
1836 <     286,   288,   289,   291,   457,     0,   447,     0,   456,     0,
1837 <     453,   454,   455,     0,   251,     0,     0,     0,   261,     0,
1838 <     259,   260,   262,   263,    99,     0,     0,     0,     0,     0,
1839 <       0,     0,     0,     0,     0,     0,     0,     0,    85,    45,
1840 <       0,     0,     0,    41,     0,     0,     0,     0,     0,     0,
1841 <     330,   331,   332,   333,     0,     0,     0,     0,     0,     0,
1842 <       0,     0,   720,    62,     0,     0,     0,     0,     0,     0,
1843 <       0,     0,     0,     0,     0,     0,    49,     0,     0,   348,
1844 <       0,     0,   341,   342,   343,   344,     0,     0,   371,     0,
1845 <     366,   367,   368,     0,     0,     0,    74,     0,     0,     0,
1846 <       0,     0,    26,     0,     0,     0,     0,     0,     0,     0,
1847 <       0,     0,     0,     0,     0,     0,   679,     0,     0,     0,
1747 >       0,     0,     0,    52,     0,     0,   369,     0,   364,   365,
1748 >     366,   121,     0,     0,   117,     0,     0,     0,   332,     0,
1749 >       0,   347,     0,     0,   340,   341,   342,   343,     0,     0,
1750 >       0,    97,     0,     0,     0,     0,    27,     0,     0,     0,
1751 >       0,     0,     0,     0,     0,   607,   240,     0,     0,     0,
1752         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1753 <       0,     0,   220,   221,   224,   225,   227,   228,   229,   230,
1850 <     231,   232,   233,   222,   223,   226,     0,     0,     0,     0,
1851 <       0,     0,     0,     0,     0,     0,   422,     0,     0,     0,
1852 <       0,     0,     0,     0,     0,     0,     0,   391,   392,   393,
1853 <     394,   395,   396,   398,   397,   399,   400,   408,   405,   407,
1854 <     406,   404,   410,   401,   402,   403,   409,     0,     0,     0,
1855 <     462,     0,   469,     0,     0,     0,     0,   482,     0,     0,
1753 >       0,     0,     0,     0,   222,   401,     0,     0,     0,     0,
1754         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1755 +       0,   385,     0,     0,     0,   433,     0,   440,     0,     0,
1756 +       0,   448,     0,     0,     0,     0,     0,     0,     0,     0,
1757         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1758         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1759         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1760         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1761 <      34,     0,     0,     0,     0,     0,     0,   490,     0,     0,
1762 <       0,     0,     0,     0,     0,   654,   293,     0,     0,     0,
1761 >       0,     0,     0,   455,   298,     0,     0,     0,     0,     0,
1762 >       0,     0,     0,     0,   288,     0,     0,     0,   424,   277,
1763 >       0,     0,     0,     0,     0,   271,     0,     0,    43,   113,
1764 >       0,     0,     0,   109,   159,     0,     0,     0,     0,     0,
1765 >       0,     0,     0,     0,     0,     0,   147,   327,     0,     0,
1766 >       0,     0,   322,     0,     0,     0,     0,     0,     0,     0,
1767 >       0,   635,     0,     0,     0,     0,     0,     0,     0,     0,
1768 >       0,     0,     0,     0,     0,    76,    77,     0,    75,    80,
1769 >      81,     0,    79,     0,     0,    51,   367,     0,     0,     0,
1770 >     363,     0,   116,     0,     0,   331,   344,     0,     0,     0,
1771 >       0,   339,   106,   105,   104,   630,   629,   623,   633,    27,
1772 >      27,    27,    27,    27,    27,    27,    29,    28,   634,   624,
1773 >     625,   628,   627,   626,   631,   632,     0,     0,     0,     0,
1774         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1775 <       0,     0,     0,     0,   275,     0,     0,     0,     0,   452,
1776 <     264,     0,     0,     0,     0,     0,   258,     0,     0,     0,
1777 <       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1778 <       0,     0,     0,     0,     0,    84,     0,     0,    40,     0,
1779 <       0,     0,     0,     0,   191,     0,     0,     0,     0,     0,
1780 <       0,     0,     0,     0,     0,     0,     0,     0,   154,     0,
1781 <       0,     0,     0,   123,   124,   125,   126,   143,   144,   130,
1782 <     129,   131,   132,   138,   133,   134,   135,   136,   137,   139,
1783 <     140,   141,   127,   128,   142,   145,   334,     0,     0,     0,
1784 <       0,   329,     0,     0,     0,     0,     0,     0,     0,   719,
1785 <       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1786 <       0,    48,   345,     0,     0,     0,     0,   340,   369,     0,
1787 <       0,     0,   365,    83,    82,    81,   716,   713,   712,   701,
1788 <     703,    26,    26,    26,    26,    26,    28,    27,   707,   708,
1789 <     711,   709,   714,   715,   717,   718,   710,   702,   704,   705,
1790 <     706,   234,     0,     0,     0,     0,     0,     0,     0,     0,
1791 <       0,     0,     0,     0,     0,     0,   219,   411,     0,     0,
1792 <       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1793 <       0,     0,     0,     0,     0,     0,     0,     0,   390,     0,
1794 <       0,   461,   474,     0,     0,     0,   476,   562,   566,   553,
1795 <     582,   595,   594,   649,   599,   560,   651,   591,   597,   561,
1796 <     551,   552,   569,   558,   590,   559,   572,   557,   571,   570,
1797 <     565,   564,   563,   592,   550,   589,   647,   648,   586,   583,
1798 <     628,   644,   645,   629,   630,   631,   632,   639,   633,   642,
1799 <     646,   635,   640,   636,   641,   634,   638,   637,   643,     0,
1800 <     627,   588,   605,   621,   622,   606,   607,   608,   609,   616,
1801 <     610,   619,   623,   612,   617,   613,   618,   611,   615,   614,
1802 <     620,     0,   604,   581,   584,   598,   555,   593,   556,   585,
1803 <     574,   579,   580,   577,   578,   575,   576,   568,   567,    34,
1804 <      34,    34,    36,    35,   650,   600,   587,   596,   554,   573,
1805 <       0,     0,     0,     0,     0,     0,   653,     0,     0,     0,
1806 <       0,   305,     0,     0,     0,     0,     0,     0,     0,     0,
1807 <       0,     0,     0,   274,     0,     0,     0,   446,     0,     0,
1808 <       0,   269,   265,   268,   250,   103,   109,   107,   106,   108,
1809 <     104,   105,   102,   110,   116,   111,   115,   113,   114,   112,
1810 <     101,   100,   117,    46,    47,   146,     0,     0,     0,     0,
1811 <       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1812 <       0,     0,     0,     0,     0,     0,     0,     0,     0,   122,
1813 <       0,     0,     0,   328,   735,   730,   734,   732,   736,   731,
1814 <     733,    67,    73,    65,    69,    68,    64,    63,    66,    72,
1815 <      70,    71,     0,     0,     0,   339,     0,     0,   364,    29,
1816 <      30,    31,    32,    33,     0,     0,     0,     0,     0,     0,
1817 <       0,     0,     0,     0,     0,     0,     0,   216,     0,     0,
1818 <       0,     0,     0,     0,     0,     0,     0,     0,   428,     0,
1819 <       0,     0,     0,     0,     0,     0,     0,     0,   387,   467,
1909 <     468,   488,   489,   481,     0,   480,   625,     0,   602,     0,
1910 <      37,    38,    39,   678,   677,     0,   676,   664,   663,   670,
1911 <     669,     0,   668,   672,   671,   320,   297,   298,   319,   303,
1912 <       0,   302,     0,   322,   318,   317,   326,   321,   295,   325,
1913 <     324,   323,   296,   294,   459,   451,     0,   450,   458,   256,
1914 <     257,   255,     0,   254,   272,   271,     0,     0,     0,     0,
1915 <       0,     0,     0,   197,     0,     0,     0,     0,     0,     0,
1916 <       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
1917 <       0,   119,   336,   337,   335,   346,   352,   358,   362,   361,
1918 <     360,   357,   353,   356,   359,   354,   355,     0,   351,   347,
1919 <     370,   375,   381,   385,   384,   383,   380,   376,   379,   382,
1920 <     377,   378,     0,   374,   246,   247,   240,   242,   244,   243,
1921 <     241,   235,   248,   239,   237,   238,   245,   417,   419,   420,
1922 <     439,   444,   443,   438,   437,   436,   421,   426,     0,   425,
1923 <       0,   414,   441,   442,   412,   418,   435,   416,   440,   415,
1924 <     478,     0,   626,   603,   674,     0,   666,     0,     0,   300,
1925 <     305,   311,   312,   308,   314,   310,   309,   316,   313,   315,
1926 <     307,   306,   448,     0,   252,     0,   270,   267,   266,   187,
1927 <     153,   185,   151,   195,     0,   194,     0,   183,   177,   188,
1928 <     189,   180,   147,   184,   150,   186,   178,   179,   152,   190,
1929 <     158,   174,   175,   159,   160,   161,   162,   169,   163,   172,
1930 <     176,   165,   170,   166,   171,   164,   168,   167,   173,     0,
1931 <     157,   182,   149,   181,   349,     0,   372,     0,     0,   423,
1932 <     428,   432,   433,   430,   431,   434,   429,   479,   675,   667,
1933 <     304,   301,   449,   253,     0,   192,   197,   207,   205,   214,
1934 <     204,   199,   208,   212,   201,   209,   211,   206,   200,   213,
1935 <     210,   202,   203,   198,   155,     0,   350,   373,   427,   424,
1936 <     196,   193,   156
1775 >      37,     0,     0,   221,     0,     0,     0,     0,     0,     0,
1776 >       0,     0,     0,     0,     0,     0,     0,     0,     0,   384,
1777 >       0,     0,   432,   445,     0,     0,   447,   520,   524,   539,
1778 >     509,   606,   552,   546,   549,   519,   511,   510,   513,   514,
1779 >     512,   527,   517,   518,   528,   516,   523,   522,   521,   547,
1780 >     508,   604,   605,   543,   589,   583,   600,   584,   585,   586,
1781 >     594,   603,   587,   597,   601,   590,   602,   595,   591,   596,
1782 >     588,   599,   593,   592,   598,     0,   582,   545,   563,   558,
1783 >     575,   559,   560,   561,   569,   578,   562,   572,   576,   565,
1784 >     577,   570,   566,   571,   564,   574,   568,   567,   573,     0,
1785 >     557,   540,   538,   541,   551,   542,   530,   536,   537,   534,
1786 >     535,   531,   532,   533,   550,   553,   515,   544,   526,   525,
1787 >     548,   529,     0,     0,     0,     0,     0,     0,     0,     0,
1788 >     287,     0,     0,   423,     0,     0,     0,   282,   278,   281,
1789 >     263,    49,    50,     0,     0,   108,     0,     0,     0,     0,
1790 >       0,     0,     0,     0,     0,     0,   146,     0,     0,     0,
1791 >     321,   648,   647,   653,   651,   654,   649,   650,   652,    88,
1792 >      96,    87,    94,    95,    86,    90,    89,    83,    82,    84,
1793 >      93,    85,    72,     0,    73,     0,    91,    92,     0,     0,
1794 >     362,   122,     0,     0,     0,   134,     0,   126,   127,   129,
1795 >     128,   336,     0,     0,     0,   338,    30,    31,    32,    33,
1796 >      34,    35,    36,   251,   252,   244,   261,   260,     0,   259,
1797 >     246,   248,   255,   247,   245,   254,   241,   253,   243,   242,
1798 >      37,    37,    37,    39,    38,   249,   250,   406,   409,   410,
1799 >     420,   417,   403,   418,   415,   416,     0,   414,   419,   402,
1800 >     408,   405,   407,   421,   404,   438,   439,   453,   454,   580,
1801 >       0,   555,     0,   301,   302,   311,   308,   313,   309,   310,
1802 >     316,   312,   314,   307,   315,     0,   306,   300,   319,   318,
1803 >     317,   299,   430,   429,   285,   284,   269,   270,   268,     0,
1804 >     267,     0,     0,     0,   114,   115,   167,   163,   212,   200,
1805 >     209,   208,   198,   203,   219,   211,   217,   202,   205,   214,
1806 >     216,   213,   210,   218,   206,   215,   204,   207,     0,   196,
1807 >     160,   162,   164,   165,   166,   177,   172,   189,   173,   174,
1808 >     175,   183,   192,   176,   186,   190,   179,   191,   184,   180,
1809 >     185,   178,   188,   182,   181,   187,     0,   171,   161,   330,
1810 >     328,   329,    74,    78,   368,   373,   379,   382,   375,   381,
1811 >     376,   380,   378,   374,   377,     0,   372,   130,     0,     0,
1812 >       0,     0,   125,   345,   351,   357,   360,   353,   359,   354,
1813 >     358,   356,   352,   355,     0,   350,   346,   257,     0,    40,
1814 >      41,    42,   412,     0,   581,   556,   304,     0,   265,     0,
1815 >     283,   280,   279,     0,     0,     0,   194,     0,   169,     0,
1816 >     370,     0,     0,     0,     0,     0,   124,   348,     0,   258,
1817 >     413,   305,   266,   199,   197,   201,   195,   170,   371,   131,
1818 >     133,   132,   140,   143,   142,   139,   144,   141,   138,     0,
1819 >     137,   349,   135,     0,   136
1820   };
1821  
1822   /* YYDEFGOTO[NTERM-NUM].  */
1823   static const yytype_int16 yydefgoto[] =
1824   {
1825 <      -1,     1,    24,   896,   897,  1052,  1053,    25,   277,   278,
1826 <     279,   280,    26,   314,   315,   316,   317,   318,   319,   320,
1827 <     321,   322,   323,   324,   325,   326,    27,    71,    72,    73,
1828 <      74,    75,    28,   260,   261,   262,   263,   264,   265,   266,
1829 <     267,   268,   269,   270,   271,   272,   273,    29,    61,   282,
1830 <     822,   823,   824,   283,   825,   826,   827,   828,   829,   830,
1831 <    1134,  1429,  1430,   831,   832,   833,   834,   835,   836,   837,
1832 <     838,   839,   840,   841,   842,   843,   844,   845,  1120,  1394,
1833 <    1395,  1454,  1396,  1473,    30,    49,   116,   611,   612,   613,
1834 <     117,   614,   615,   616,   617,   618,   619,   620,   621,   622,
1835 <     623,   624,   625,    31,    58,   498,   771,  1262,  1263,   499,
1836 <     500,   501,  1268,  1092,  1093,   502,   503,    32,    56,   466,
1837 <     467,   468,   469,   470,   471,   472,   473,   751,  1240,  1241,
1838 <    1368,  1242,  1381,   474,   475,   476,   477,   478,   479,   480,
1839 <     481,   482,   483,    33,    62,   529,   530,   531,   532,   533,
1840 <      34,    65,   561,   562,   563,   564,   565,   874,  1307,  1308,
1841 <      35,    66,   569,   570,   571,   572,   880,  1322,  1323,    36,
1842 <      50,   119,   646,   647,   648,   120,   649,   650,   651,   652,
1843 <     653,   654,   655,   656,   937,  1348,  1349,  1438,  1350,  1446,
1844 <     657,   658,   659,   660,   661,   662,   663,   664,   665,   666,
1845 <      37,    57,   488,   766,  1256,  1257,   489,   490,   491,   492,
1846 <      38,    51,   360,   361,   362,   363,    39,   124,   125,   126,
1847 <      40,    53,   371,   675,  1214,  1215,   372,   373,   374,   375,
1848 <      41,   185,   186,   187,   188,   189,   190,   191,   192,   193,
1849 <     194,   195,   196,   197,   198,   199,   200,   201,   202,   203,
1850 <     204,   205,   206,   207,   208,   209,   210,   211,   212,   213,
1851 <     214,   215,   216,   217,   218,   219,   220,   221,   222,   223,
1852 <     224,   225,   226,   227,   228,   229,   230,   231,   232,   233,
1853 <     234,   235,   236,   411,  1031,  1032,   237,   409,  1009,  1010,
1854 <     238,   239,   240,   241,   242,    42,    55,   441,   442,   443,
1972 <     444,   445,   741,  1231,  1232,   446,   447,   448,   738,  1225,
1973 <    1226,    43,    95,    96,    97,    98,    99,   100,   101,   102,
1974 <     103,   104,   105,   106,   107,   108,   109,   110,   111,   112,
1975 <     113,   114,    44,   293,   294,   295,   296,   297,   298,   299,
1976 <     300,   301
1825 >      -1,     1,    25,   816,   817,  1073,  1074,    26,   222,   223,
1826 >     224,   225,    27,   266,   267,   268,   269,   777,   778,   781,
1827 >     782,   270,   271,   272,   273,   274,   275,   276,   277,   278,
1828 >     279,   280,   281,   282,   283,   284,    28,    74,    75,    76,
1829 >      77,    78,    29,    61,   498,   499,   500,   501,    30,   288,
1830 >     289,   290,   291,   292,  1036,  1037,  1038,  1039,  1040,  1210,
1831 >    1279,  1280,    31,    62,   513,   514,   515,   516,   517,   518,
1832 >     519,   520,   521,   522,   523,   743,  1186,  1187,   524,   737,
1833 >    1158,  1159,    32,    51,   336,   337,   338,   339,   340,   341,
1834 >     342,   343,   344,   345,   346,   347,   348,   349,   350,   351,
1835 >     352,   353,   610,  1058,  1059,    33,    59,   484,   722,  1129,
1836 >    1130,   485,   486,   487,  1133,   978,   979,   488,   489,    34,
1837 >      57,   462,   463,   464,   465,   466,   467,   468,   707,  1115,
1838 >    1116,   469,   470,   471,    35,    63,   529,   530,   531,   532,
1839 >     533,    36,   295,   296,   297,    37,    69,   583,   584,   585,
1840 >     586,   587,   798,  1224,  1225,    38,    66,   567,   568,   569,
1841 >     570,   788,  1205,  1206,    39,    52,   369,   370,   371,   372,
1842 >     373,   374,   375,   376,   377,   378,   379,   632,  1086,  1087,
1843 >     380,   381,   382,   383,   384,    40,    58,   475,   476,   477,
1844 >     478,    41,    53,   388,   389,   390,   391,    42,   111,   112,
1845 >     113,    43,    55,   398,   399,   400,   401,    44,   165,   166,
1846 >     167,   168,   169,   170,   171,   172,   173,   174,   175,   176,
1847 >     177,   178,   179,   180,   181,   182,   183,   184,   185,   186,
1848 >     187,   188,   189,   190,   191,   192,   193,   194,   195,   196,
1849 >     197,   198,   199,   200,   201,   202,   203,   204,   205,   206,
1850 >     207,   208,   209,   210,   211,   431,   939,   940,   212,   429,
1851 >     915,   916,   213,   214,   215,    45,    92,    93,    94,    95,
1852 >      96,    97,    98,    99,   100,   101,   102,   103,   104,   105,
1853 >      46,   238,   239,   240,   241,   242,   243,   244,   245,   246,
1854 >     247
1855   };
1856  
1857   /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
1858     STATE-NUM.  */
1859 < #define YYPACT_NINF -811
1859 > #define YYPACT_NINF -755
1860   static const yytype_int16 yypact[] =
1861   {
1862 <    -811,   895,  -811,  -145,  -238,  -216,  -811,  -811,  -811,  -214,
1863 <    -811,  -204,  -811,  -811,  -811,  -811,  -196,  -190,  -811,  -811,
1864 <    -169,  -167,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1865 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1866 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,   349,   821,  -127,
1867 <    -119,  -153,    11,  -143,   548,  -139,  -124,  -116,  -112,   553,
1868 <      26,     1,  -110,     8,   212,  -103,   -81,   -64,   -65,   -60,
1869 <     -57,     4,  -811,  -811,  -811,  -811,  -811,   -55,   -53,   -41,
1870 <     -33,   -29,   -28,   -25,   -17,   -15,   -12,   -10,    -9,    -1,
1871 <      29,    30,    35,    39,    43,   276,  -811,  -811,  -811,  -811,
1872 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1873 <    -811,  -811,  -811,  -811,  -811,  -811,    51,  -811,  -811,    52,
1874 <    -811,   103,  -811,    55,    42,  -811,  -811,   186,  -811,    58,
1875 <      63,    65,    68,    69,    70,    84,    85,    86,    91,    93,
1876 <      96,    98,   101,   104,   108,   109,   111,   114,   115,   123,
1877 <     126,   131,   133,   134,   136,   138,   139,   140,   141,   144,
1878 <     148,   156,  -811,   157,  -811,   173,   174,   180,   182,   184,
1879 <     187,   190,   191,   192,   193,   195,   198,   203,   206,   207,
1880 <     211,   214,   215,   218,   219,    23,  -811,  -811,  -811,  -811,
1881 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1882 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1883 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1884 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1885 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1886 <    -811,  -811,  -811,   341,   650,    62,   153,   -23,   220,   221,
1887 <     232,   234,   237,   239,   240,   242,   243,   244,   246,   247,
1888 <     367,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1889 <    -811,  -811,  -811,  -811,    31,   249,   250,     7,  -811,  -811,
1890 <    -811,  -811,    53,  -811,    24,  -811,   251,   253,   254,   255,
1891 <     257,   258,   259,   202,  -811,  -811,  -811,  -811,  -811,  -811,
1892 <    -811,  -811,    45,   260,   262,   266,   268,   271,   272,   273,
1893 <     281,   282,   283,   286,   292,  -811,  -811,  -811,  -811,  -811,
1894 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,    10,    12,  -811,
1895 <     204,   209,   227,    82,  -811,   217,   315,   331,   307,   335,
1896 <     418,   418,   420,   422,   363,   366,   428,   418,   369,   370,
1897 <     372,   373,   374,   304,  -811,   823,   794,  -811,   309,   310,
1898 <      78,  -811,  -811,  -811,   423,   314,  -811,  -811,   313,   322,
1899 <    -811,  -811,     2,  -811,  -811,  -811,   381,   418,   390,   418,
1900 <     456,   439,   463,   401,   402,   406,   470,   449,   426,   490,
1901 <     491,   493,   432,   418,   433,   434,   500,   479,   443,   507,
1902 <     509,   418,   510,   513,   492,   515,   516,   454,   457,   393,
1903 <     461,   397,   418,   418,   466,   418,   497,   473,   475,   476,
1904 <      15,    28,   477,   478,   418,   418,   542,   418,   481,   483,
1905 <     485,   486,   424,  -811,  -811,  -811,   429,   436,  -811,   440,
1906 <     441,    79,  -811,  -811,  -811,  -811,  -811,  -811,  -811,   425,
1907 <     444,   445,   446,   450,  -811,   452,   453,   455,   458,   459,
1908 <     460,   465,   468,   471,   472,   474,    97,  -811,  -811,  -811,
1909 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1910 <    -811,  -811,  -811,  -811,  -811,   482,  -811,   487,  -811,   102,
1911 <    -811,  -811,  -811,   427,  -811,   488,   489,   504,  -811,    14,
1912 <    -811,  -811,  -811,  -811,  -811,   533,   539,   561,   563,   568,
1913 <     570,   573,   577,   540,   582,   583,   557,   495,  -811,  -811,
1914 <     600,   612,   511,  -811,   630,   517,   506,   512,   518,    18,
1915 <    -811,  -811,  -811,  -811,   576,   581,   587,   614,   588,   589,
1916 <     418,   519,  -811,  -811,   631,   596,   648,   652,   655,   656,
1917 <     657,   658,   681,   660,   661,   558,  -811,   559,   564,  -811,
1918 <     565,   120,  -811,  -811,  -811,  -811,   569,   567,  -811,   129,
1919 <    -811,  -811,  -811,   571,   572,   574,  -811,   578,   579,   584,
1920 <     586,   591,   365,   593,   595,   598,   601,   603,   605,   607,
1921 <     608,   609,   611,   615,   616,   619,  -811,   621,   580,   597,
1922 <     620,   622,   623,   625,   626,   627,   628,   629,   636,   637,
1923 <     639,   298,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1924 <    -811,  -811,  -811,  -811,  -811,  -811,   624,   640,   641,   642,
1925 <     643,   644,   645,   646,   647,   649,  -811,   651,   653,   663,
1926 <     664,   665,   668,   673,   676,   677,   269,  -811,  -811,  -811,
1927 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1928 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,   686,   718,   633,
1929 <    -811,   634,  -811,   755,   757,   678,   659,  -811,   682,   683,
1930 <     684,   685,   687,   692,   693,   694,   696,   697,   698,   706,
1931 <     709,   710,   712,   714,   715,   719,   720,   721,   722,   723,
1932 <     724,   725,   726,   729,   730,   731,   732,   733,   734,   735,
1933 <     736,   798,   737,   878,   739,   747,   750,   754,   758,   759,
1934 <     760,   761,   762,   763,   764,   765,   769,   773,   777,   779,
1935 <      44,   780,   781,   782,   783,   784,   785,  -811,   752,   418,
1936 <     727,   787,   767,   890,   788,  -811,  -811,   850,   896,   854,
1937 <     856,   791,   858,   859,   860,   861,   862,   904,   690,   905,
1938 <     906,   866,   908,   805,  -811,   911,   806,   912,   810,  -811,
1939 <    -811,   811,   921,   922,   699,   819,  -811,   827,   830,   834,
1940 <     835,   837,   838,   839,   840,   841,   842,   843,   844,   845,
1941 <     849,   853,   857,   864,   867,  -811,   871,   872,  -811,   874,
1942 <     851,   873,   875,   876,  -811,   877,   879,   883,   887,   888,
1943 <     891,   893,   894,   897,   898,   899,   900,   901,  -811,   902,
1944 <     903,   907,   105,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1945 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1946 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,   960,   979,   981,
1947 <     881,  -811,   909,   913,   914,   916,   917,   918,   919,  -811,
1948 <     920,   923,   924,   925,   926,   927,   928,   929,   930,   931,
1949 <     932,  -811,  -811,   997,   933,  1002,   934,  -811,  -811,  1003,
1950 <     935,   937,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1951 <    -811,   418,   418,   418,   418,   418,  -811,  -811,  -811,  -811,
1952 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1953 <    -811,  -811,   703,  1033,   418,  1034,  1037,  1038,  1041,  1025,
1954 <    1048,  1059,   418,   418,   542,   939,  -811,  -811,  1039,   -26,
1955 <    1004,  1044,  1046,  1006,  1007,  1008,  1050,   944,  1052,  1053,
1956 <    1054,  1055,  1078,  1057,  1058,  1018,  1060,   957,  -811,   958,
1957 <     959,  -811,  -811,   961,   962,  1062,  -811,  -811,  -811,  -811,
1958 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1959 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1960 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1961 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1962 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -249,
1963 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1964 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1965 <    -811,  -243,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1966 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,   542,
1967 <     542,   542,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1968 <      -7,   964,   965,    -5,   966,   967,  -811,   968,   969,   970,
1969 <     971,  1087,   972,   973,   974,   975,   976,   977,   978,   980,
1970 <     982,   983,   984,  -811,   985,  1080,   986,  -811,    -4,   987,
1971 <     988,   713,   152,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1972 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1973 <    -811,  -811,  -811,  -811,  -811,  -811,  1042,  1093,  1056,  1061,
1974 <     989,  1063,  1064,  1065,  1066,  1067,  1094,  1068,  1095,  1069,
1975 <    1070,  1071,  1098,  1072,   992,  1073,  1100,  1074,   999,  -811,
1976 <    1012,  1013,  1014,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1977 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1978 <    -811,  -811,  1015,   241,  1016,  -811,  1017,   362,  -811,  -811,
1979 <    -811,  -811,  -811,  -811,  1019,  1020,  1021,  1022,  1023,  1024,
1980 <    1026,  1027,  1028,  1029,  1030,  1031,  1032,  -811,  1035,  1036,
1981 <    1040,  1043,  1045,  1047,  1049,  1051,  1075,  1076,  1124,  1077,
1982 <    1079,  1081,  1082,  1083,  1084,  1085,  1086,  1088,  -811,  -811,
1983 <    -811,  -811,  -811,  -811,  -242,  -811,  -811,   798,  -811,   878,
1984 <    -811,  -811,  -811,  -811,  -811,  -241,  -811,  -811,  -811,  -811,
1985 <    -811,  -233,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1986 <    -230,  -811,   419,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
1987 <    -811,  -811,  -811,  -811,  -811,  -811,  -225,  -811,  -811,  -811,
1988 <    -811,  -811,  -215,  -811,  -811,  -811,  1144,   699,  1089,  1090,
1989 <    1091,  1092,  1096,  1152,  1097,  1099,  1101,  1102,  1103,  1104,
1990 <    1105,  1106,  1107,  1108,  1109,  1110,  1111,   915,  1112,  1113,
2113 <    1114,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2114 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -209,  -811,  -811,
2115 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2116 <    -811,  -811,  -182,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2117 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2118 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -181,  -811,
2119 <     151,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2120 <    -811,  1062,  -811,  -811,  -811,    -7,  -811,    -5,   419,  -811,
2121 <    1087,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2122 <    -811,  -811,  -811,  1080,  -811,    -4,  -811,  -811,  -811,  -811,
2123 <    -811,  -811,  -811,  -811,  -170,  -811,   708,  -811,  -811,  -811,
2124 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2125 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2126 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -162,
2127 <    -811,  -811,  -811,  -811,  -811,   241,  -811,   362,   151,  -811,
2128 <    1124,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2129 <    -811,  -811,  -811,  -811,   708,  -811,  1152,  -811,  -811,  -811,
2130 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2131 <    -811,  -811,  -811,  -811,  -811,   915,  -811,  -811,  -811,  -811,
2132 <    -811,  -811,  -811
1862 >    -755,   716,  -755,  -198,  -223,  -208,  -755,  -755,  -755,  -186,
1863 >    -755,  -184,  -755,  -755,  -755,  -179,  -755,  -755,  -755,  -168,
1864 >    -154,  -755,  -146,  -123,  -755,  -755,  -755,  -755,  -755,  -755,
1865 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1866 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,   282,
1867 >     923,   -84,   -59,   -46,   130,   -45,   414,   -39,   -26,   -19,
1868 >      79,   -18,   -11,    21,   503,   408,    40,    39,    53,    41,
1869 >     -14,    -1,    64,    66,     7,  -755,  -755,  -755,  -755,  -755,
1870 >      81,    82,    96,   100,   102,   104,   105,   117,   119,   121,
1871 >     127,   128,    13,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1872 >    -755,  -755,  -755,  -755,  -755,  -755,   706,   577,    61,  -755,
1873 >     131,    10,  -755,  -755,    36,  -755,   132,   133,   135,   139,
1874 >     141,   142,   143,   144,   146,   148,   151,   153,   157,   158,
1875 >     160,   162,   164,   165,   166,   168,   170,   180,   182,   183,
1876 >     187,   188,   189,  -755,   192,  -755,   193,   195,   197,   198,
1877 >     199,   200,   201,   202,   206,   207,   208,   209,   212,   213,
1878 >     216,   217,   219,   221,   222,   108,  -755,  -755,  -755,  -755,
1879 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1880 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1881 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1882 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1883 >    -755,  -755,  -755,  -755,  -755,  -755,   353,     8,   292,    29,
1884 >     223,   227,    24,  -755,  -755,  -755,    22,   546,    47,  -755,
1885 >     231,   236,   237,   240,   246,   248,   251,   253,    15,  -755,
1886 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,    60,   254,
1887 >     255,   257,   259,   260,   262,   263,   265,   266,   272,   288,
1888 >     291,   293,   294,   303,   305,   306,     9,  -755,  -755,  -755,
1889 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1890 >    -755,  -755,  -755,  -755,  -755,     4,    65,   307,    19,  -755,
1891 >    -755,  -755,   155,  -755,   308,    23,  -755,  -755,    62,  -755,
1892 >     215,   352,   365,   270,  -755,   252,   431,   333,   436,   437,
1893 >     437,   437,   438,   440,   443,   349,   355,   335,  -755,   339,
1894 >     337,   344,   346,  -755,   351,   354,   357,   359,   360,   362,
1895 >     366,   367,   368,   369,   370,   372,   258,  -755,  -755,  -755,
1896 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1897 >    -755,  -755,  -755,  -755,   356,   373,   377,   378,   381,   382,
1898 >     383,  -755,   384,   385,   386,   387,   388,   390,   391,   326,
1899 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1900 >    -755,  -755,  -755,  -755,  -755,  -755,   392,   393,    69,  -755,
1901 >    -755,  -755,   462,   397,  -755,  -755,   406,   407,    48,  -755,
1902 >    -755,  -755,   417,   437,   437,   428,   487,   432,   533,   520,
1903 >     435,   437,   439,   538,   539,   437,   540,   441,   445,   446,
1904 >     437,   545,   549,   437,   550,   551,   552,   553,   452,   433,
1905 >     455,   442,   456,   437,   437,   457,   458,   459,    58,    95,
1906 >     460,   461,   464,   554,   437,   466,   468,   437,   437,   469,
1907 >     471,   463,  -755,   465,   453,   454,  -755,   472,   473,   474,
1908 >     476,   480,   163,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1909 >    -755,  -755,  -755,   481,   482,    50,  -755,  -755,  -755,   467,
1910 >     484,   485,  -755,   488,  -755,    25,  -755,  -755,  -755,  -755,
1911 >    -755,   559,   562,   496,  -755,   497,   499,   501,    18,  -755,
1912 >    -755,  -755,   508,   506,   507,  -755,   509,   511,   512,   514,
1913 >     515,  -755,   516,    14,  -755,  -755,  -755,  -755,  -755,  -755,
1914 >    -755,  -755,  -755,  -755,  -755,   521,   519,   523,   526,    11,
1915 >    -755,  -755,  -755,  -755,   477,   478,   479,   563,   483,   528,
1916 >     547,   437,   531,  -755,  -755,   572,   555,   603,   651,   652,
1917 >     638,   639,   641,   643,   644,   647,   663,   649,   -99,   -42,
1918 >     653,   654,   548,  -755,   557,   544,  -755,    73,  -755,  -755,
1919 >    -755,  -755,   569,   558,  -755,   564,   657,   570,  -755,   574,
1920 >     556,  -755,   566,    27,  -755,  -755,  -755,  -755,   575,   576,
1921 >     578,  -755,   579,   580,   582,   583,   267,   584,   587,   590,
1922 >     591,   592,   593,   597,   605,  -755,  -755,   673,   674,   437,
1923 >     604,   734,   736,   437,   737,   738,   437,   727,   747,   749,
1924 >     437,   751,   751,   636,  -755,  -755,   750,   129,   752,   667,
1925 >     755,   758,   640,   762,   764,   781,   767,   769,   771,   775,
1926 >     672,  -755,   777,   778,   676,  -755,   677,  -755,   790,   793,
1927 >     693,  -755,   694,   696,   701,   704,   705,   708,   709,   710,
1928 >     714,   715,   717,   722,   723,   725,   728,   729,   730,   731,
1929 >     732,   733,   735,   739,   740,   741,   742,   743,   744,   660,
1930 >     745,   703,   748,   753,   754,   756,   757,   759,   760,   770,
1931 >     772,   773,   780,   782,   783,   784,   785,   788,   789,   791,
1932 >     792,   794,   795,  -755,  -755,   807,   763,   713,   810,   853,
1933 >     841,   842,   851,   796,  -755,   854,   855,   797,  -755,  -755,
1934 >     856,   859,   761,   868,   798,  -755,   799,   802,  -755,  -755,
1935 >     862,   873,   803,  -755,  -755,   875,   804,   774,   882,   885,
1936 >     894,   897,   821,   805,   909,   806,  -755,  -755,   911,   913,
1937 >     914,   811,  -755,   812,   813,   814,   815,   816,   817,   818,
1938 >     819,  -755,   820,   822,   823,   824,   825,   826,   827,   828,
1939 >     829,   830,   831,   832,   833,  -755,  -755,  -209,  -755,  -755,
1940 >    -755,  -189,  -755,   834,   835,  -755,  -755,   925,   836,   837,
1941 >    -755,   838,  -755,    26,   840,  -755,  -755,   940,   839,   945,
1942 >     843,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,   437,
1943 >     437,   437,   437,   437,   437,   437,  -755,  -755,  -755,  -755,
1944 >    -755,  -755,  -755,  -755,  -755,  -755,   844,   845,   846,   -34,
1945 >     847,   848,   849,   850,   852,   857,   858,   860,   861,   863,
1946 >     289,   864,   865,  -755,   866,   867,   869,   870,   871,   872,
1947 >     874,     5,   876,   877,   878,   879,   880,   881,   883,  -755,
1948 >     884,   886,  -755,  -755,   887,   888,  -755,  -755,  -755,  -755,
1949 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1950 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1951 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1952 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1953 >    -755,  -755,  -755,  -755,  -755,  -174,  -755,  -755,  -755,  -755,
1954 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1955 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -172,
1956 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1957 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1958 >    -755,  -755,   889,   890,   245,   891,   892,   893,   895,   896,
1959 >    -755,   898,   899,  -755,   900,   901,   -16,   904,   902,  -755,
1960 >    -755,  -755,  -755,   903,   905,  -755,   907,   908,   524,   910,
1961 >     912,   915,   916,   917,   746,   918,  -755,   919,   920,   921,
1962 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1963 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1964 >    -755,  -755,  -755,   -99,  -755,   -42,  -755,  -755,   922,   632,
1965 >    -755,  -755,   924,   906,   926,  -755,    57,  -755,  -755,  -755,
1966 >    -755,  -755,   927,   787,   928,  -755,  -755,  -755,  -755,  -755,
1967 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -171,  -755,
1968 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1969 >     751,   751,   751,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1970 >    -755,  -755,  -755,  -755,  -755,  -755,  -155,  -755,  -755,  -755,
1971 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1972 >     660,  -755,   703,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1973 >    -755,  -755,  -755,  -755,  -755,   -50,  -755,  -755,  -755,  -755,
1974 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,   -49,
1975 >    -755,   970,   868,   930,  -755,  -755,  -755,  -755,  -755,   929,
1976 >    -755,  -755,   931,  -755,  -755,  -755,  -755,   932,  -755,  -755,
1977 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,   -23,  -755,
1978 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1979 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1980 >    -755,  -755,  -755,  -755,  -755,  -755,   -15,  -755,  -755,  -755,
1981 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1982 >    -755,  -755,  -755,  -755,  -755,     0,  -755,  -755,   957,  -101,
1983 >     935,   933,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1984 >    -755,  -755,  -755,  -755,    30,  -755,  -755,  -755,   -34,  -755,
1985 >    -755,  -755,  -755,     5,  -755,  -755,  -755,   245,  -755,   -16,
1986 >    -755,  -755,  -755,   952,   953,   954,  -755,   524,  -755,   746,
1987 >    -755,   632,   939,   941,   942,   297,  -755,  -755,   787,  -755,
1988 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1989 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,    55,
1990 >    -755,  -755,  -755,   297,  -755
1991   };
1992  
1993   /* YYPGOTO[NTERM-NUM].  */
1994   static const yytype_int16 yypgoto[] =
1995   {
1996 <    -811,  -811,  -811,  -402,  -340,  -810,  -424,  -811,  -811,  1115,
1997 <    -811,  -811,  -811,  -811,   991,  -811,  -811,  -811,  -811,  -811,
1998 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  1221,  -811,
1999 <    -811,  -811,  -811,  -811,  1116,  -811,  -811,  -811,  -811,  -811,
2000 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2001 <    -811,   494,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2002 <    -811,  -811,  -179,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2003 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2004 <    -163,  -811,  -811,  -157,  -811,  -811,  -811,  -811,   689,  -811,
2005 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2006 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,   -87,  -811,
2007 <     802,  -811,  -811,  -811,    36,  -811,  -811,  -811,  -811,  -811,
2008 <     846,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,   -63,
2009 <    -811,  -811,   -59,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2010 <    -811,  -811,  -811,  -811,  -811,  -811,   786,  -811,  -811,  -811,
2011 <    -811,  -811,  -811,   753,  -811,  -811,  -811,  -811,  -811,  -122,
2012 <    -811,  -811,  -811,   742,  -811,  -811,  -811,  -811,  -120,  -811,
2013 <    -811,  -811,  -811,   672,  -811,  -811,  -811,  -811,  -811,  -811,
2014 <    -811,  -811,  -811,  -811,  -811,  -811,  -121,  -811,  -811,  -118,
2015 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2016 <    -811,  -811,  -811,  -811,  -811,   -62,  -811,   833,  -811,  -811,
2017 <    -811,  -811,  -811,   963,  -811,  -811,  -811,  -811,  1200,  -811,
2018 <    -811,  -811,  -811,  -811,  -811,   -36,  -811,   954,  -811,  -811,
2019 <    -811,  -811,  1142,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2020 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2021 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2022 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2023 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2024 <    -811,  -811,  -811,  -811,  -811,   110,  -811,  -811,  -811,   113,
2025 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,   892,  -811,
2168 <    -811,  -811,  -811,  -811,   -39,  -811,  -811,  -811,  -811,  -811,
2169 <     -34,  -811,  -811,  1237,  -811,  -811,  -811,  -811,  -811,  -811,
2170 <    -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,  -811,
2171 <    -811,  -811,  -811,  -811,  1117,  -811,  -811,  -811,  -811,  -811,
2172 <    -811,  -811
1996 >    -755,  -755,  -755,  -298,  -307,  -754,  -621,  -755,  -755,   936,
1997 >    -755,  -755,  -755,  -755,   934,  -755,  -755,  -755,    63,  -755,
1998 >      70,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
1999 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  1015,  -755,
2000 >    -755,  -755,  -755,  -755,  -755,   602,  -755,  -755,  -755,  -755,
2001 >     937,  -755,  -755,  -755,  -755,    76,  -755,  -755,  -755,  -755,
2002 >    -755,  -181,  -755,  -755,  -755,   596,  -755,  -755,  -755,  -755,
2003 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -125,  -755,  -755,
2004 >    -755,  -118,  -755,  -755,  -755,   938,  -755,  -755,  -755,  -755,
2005 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
2006 >    -755,  -755,  -755,  -755,   -97,  -755,  -755,  -755,  -755,  -755,
2007 >     -98,  -755,   655,  -755,  -755,  -755,     6,  -755,  -755,  -755,
2008 >    -755,  -755,   688,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
2009 >     -85,  -755,  -755,  -755,  -755,  -755,  -755,   624,  -755,  -755,
2010 >    -755,  -755,  -755,   943,  -755,  -755,  -755,  -755,   588,  -755,
2011 >    -755,  -755,  -755,  -755,   -96,  -755,  -755,  -755,   600,  -755,
2012 >    -755,  -755,  -755,   -92,  -755,  -755,  -755,   801,  -755,  -755,
2013 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,   -61,
2014 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,   698,  -755,
2015 >    -755,  -755,  -755,  -755,   786,  -755,  -755,  -755,  -755,  1064,
2016 >    -755,  -755,  -755,  -755,   779,  -755,  -755,  -755,  -755,  1011,
2017 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
2018 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
2019 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
2020 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
2021 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,    77,  -755,  -755,
2022 >    -755,    78,  -755,  -755,  -755,  -755,  -755,  1088,  -755,  -755,
2023 >    -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
2024 >    -755,  -755,   944,  -755,  -755,  -755,  -755,  -755,  -755,  -755,
2025 >    -755
2026   };
2027  
2028   /* YYTABLE[YYPACT[STATE-NUM]].  What to do in state STATE-NUM.  If
2029     positive, shift that token.  If negative, reduce the rule which
2030 <   number is the opposite.  If zero, do what YYDEFACT says.
2031 <   If YYTABLE_NINF, syntax error.  */
2032 < #define YYTABLE_NINF -1
2180 < static const yytype_uint16 yytable[] =
2030 >   number is the opposite.  If YYTABLE_NINF, syntax error.  */
2031 > #define YYTABLE_NINF -124
2032 > static const yytype_int16 yytable[] =
2033   {
2034 <     583,   584,   731,   367,  1223,    67,  1229,   590,   274,   285,
2035 <    1216,   557,   122,   566,  1217,   493,  1218,  1360,  1364,   525,
2036 <    1219,  1361,  1365,    47,   128,   525,  1366,   274,   115,  1369,
2037 <    1367,   129,   130,  1370,  1382,   131,   118,   679,  1383,   681,
2038 <     526,    68,   132,   122,  1384,    48,   526,    52,  1385,   286,
2039 <    1434,   133,    69,   695,  1435,   134,   135,    54,  1049,  1050,
2040 <    1051,   703,   136,   484,   287,    59,   137,   138,   139,   494,
2041 <     140,    60,   714,   715,  1259,   717,   141,  1436,  1439,   357,
2042 <     434,  1437,  1440,   435,   728,   729,   288,   732,   289,  1455,
2043 <     290,   291,    63,  1456,    64,   142,   143,  1474,   449,   495,
2044 <     144,  1475,   123,   484,   357,   496,   799,   145,   121,   292,
2045 <     800,   146,   147,   148,    45,    46,   149,   450,   127,   150,
2046 <     151,   557,   243,   451,   368,   436,    70,   275,   437,   152,
2047 <     566,   801,   558,   123,   567,   153,   154,   244,   155,   156,
2048 <     157,   158,   159,   802,   527,   245,   275,   452,   453,   246,
2049 <     527,   284,   454,   160,   493,   803,   281,   276,   327,   369,
2050 <     804,  1441,   161,  1442,   162,   163,   455,   164,   497,   358,
2051 <     165,   166,   805,   456,   167,   528,   276,   730,  1443,   806,
2052 <     328,   528,  1444,   438,   807,   168,   808,   367,   370,  1189,
2053 <    1190,  1224,   457,  1230,   358,   329,   559,   330,   568,   809,
2054 <     858,   439,   331,   285,   169,   332,   170,   335,   494,   336,
2055 <     171,   722,   723,   302,   172,   173,   174,   175,   176,   485,
2056 <     458,   337,   177,   178,   724,   725,  1260,   810,   459,   338,
2057 <    1261,   179,   811,   339,   340,   359,   504,   341,   495,  1220,
2058 <    1221,  1222,   558,   286,   496,   342,   460,   343,   486,   303,
2059 <     344,   567,   345,   346,   812,   461,   462,   560,   287,   485,
2060 <     359,   347,   676,   180,   333,   181,   813,   522,   814,   815,
2061 <     626,   182,   627,   816,   775,   628,   183,    76,   850,   629,
2062 <     288,   184,   289,   432,   290,   291,   463,   464,   486,    77,
2063 <     519,   348,   349,   302,   630,   631,   632,   350,   304,   597,
2064 <     633,   351,   365,   292,   543,   352,   559,   497,   368,   487,
2065 <      78,    79,   355,   356,   524,   568,    80,   364,    81,   634,
2066 <     376,   598,   599,   635,   636,   377,   440,   378,   600,   303,
2067 <     379,   380,   381,   817,   305,  1296,   306,   307,   669,   744,
2068 <     818,   576,   434,   369,   465,   435,   382,   383,   384,   487,
2069 <      67,   819,   820,   385,   637,   386,   638,   763,   387,   573,
2070 <     388,   821,   768,   389,   574,  1138,   390,   560,   247,   639,
2071 <     391,   392,   370,   393,    82,    83,   394,   395,   304,   308,
2072 <     876,   309,   575,    84,    85,   396,    68,   436,   397,   881,
2073 <     437,   640,  1445,   398,   310,   399,   400,    69,   401,  1061,
2074 <     402,   403,   404,   405,    86,    87,   406,   601,   602,   603,
2075 <     407,  1297,   604,   577,   305,  1267,   306,   307,   408,   410,
2076 <     605,    88,    89,   641,   248,   249,   250,   251,   252,   253,
2077 <     254,   255,    90,   606,   607,   412,   413,   642,   311,  1371,
2078 <    1372,    91,   414,  1298,   415,   438,   416,   643,   578,   417,
2079 <     608,   609,   418,   419,   420,   421,  1311,   422,  1299,   308,
2080 <     423,   309,   541,   439,   579,   424,   312,   313,   425,   426,
2081 <    1373,    70,   256,   427,   310,   610,   428,   429,  1300,  1301,
2082 <     430,   431,   505,   506,  1302,  1303,  1304,  1305,  1374,  1169,
2083 <    1170,  1171,  1172,  1173,   507,  1375,   508,  1306,   582,   509,
2084 <    1186,   510,   511,   580,   512,   513,   514,   257,   515,   516,
2085 <     644,   520,   521,   534,  1376,   535,   536,   537,   311,   538,
2086 <     539,   540,   544,   645,   545,    92,    93,    94,   546,   947,
2087 <     547,   581,  1312,   548,   549,   550,   353,   891,   892,   893,
2088 <     894,   895,  1377,   551,   552,   553,   312,   313,   554,   128,
2089 <    1378,   582,   555,   585,   247,   586,   129,   130,   925,   587,
2090 <     131,   589,   588,   596,  1313,   591,   592,   132,   593,   594,
2091 <     595,   667,   668,   672,  1176,   673,   133,   678,   671,  1314,
2092 <     134,   135,  1184,  1185,   674,   258,   680,   136,   440,   682,
2093 <    1379,   137,   138,   139,   683,   140,   684,   685,   686,  1315,
2094 <    1316,   141,   687,   688,   689,  1317,  1318,  1319,  1320,  1380,
2095 <     248,   249,   250,   251,   252,   253,   254,   255,  1321,   259,
2096 <     142,   143,   690,   691,   692,   144,   693,   517,   694,   696,
2097 <     697,   799,   145,   698,   699,   800,   146,   147,   148,   700,
2098 <     701,   149,   702,   704,   150,   151,   705,   706,   707,   708,
2099 <     709,   449,   718,   710,   152,   711,   801,   712,   256,   713,
2100 <     153,   154,   716,   155,   156,   157,   158,   159,   802,   719,
2101 <     450,   720,   721,   726,   727,   730,   451,   733,   160,   734,
2102 <     803,   735,   736,   737,   746,   804,   770,   161,   777,   162,
2103 <     163,   739,   164,   257,   778,   165,   166,   805,   740,   167,
2104 <     452,   453,   742,   743,   806,   454,   747,   748,   749,   807,
2105 <     168,   808,   750,  1457,   752,   753,   779,   754,   780,   455,
2106 <     755,   756,   757,   781,   809,   782,   456,   758,   783,   169,
2107 <     759,   170,   784,   760,   761,   171,   762,   792,   793,   172,
2108 <     173,   174,   175,   176,   765,   457,  1458,   177,   178,   767,
2109 <     772,   773,   810,   794,   795,   796,   179,   811,  1459,   785,
2110 <     786,   787,   788,   789,   790,   791,   774,   797,   847,   855,
2111 <     798,   258,   852,   458,   848,  1460,   846,   853,   859,   812,
2112 <     849,   459,  1461,   854,   856,   857,   860,  1462,   180,  1463,
2113 <     181,   813,   861,   814,   815,   626,   182,   627,   816,   460,
2114 <     628,   183,  1464,   862,   629,   259,   184,   863,   461,   462,
2115 <     864,   865,   866,   867,   868,   869,   870,   871,   872,   630,
2116 <     631,   632,    76,  1078,   597,   633,   873,   875,   878,   879,
2117 <     883,   884,  1091,   885,    77,  1465,  1174,   886,   887,   463,
2118 <     464,   949,   912,   888,   634,   889,   598,   599,   635,   636,
2119 <     890,  1466,   898,   600,   899,    78,    79,   900,   817,   913,
2120 <     901,    80,   902,    81,   903,   818,   904,   905,   906,  1467,
2121 <     907,  1468,  1469,   950,   908,   909,   819,   820,   910,   637,
2122 <     911,   638,   914,   927,   915,   916,   821,   917,   918,   919,
2123 <     920,   921,   951,   952,   639,     2,     3,   465,   922,   923,
2124 <       4,   924,   928,   929,   930,   931,   932,   933,   934,   935,
2125 <     953,   936,   954,   938,  1266,   939,   640,     5,   956,    82,
2126 <      83,     6,  1064,  1062,     7,   940,   941,   942,    84,    85,
2127 <     943,     8,   601,   602,   603,   944,  1470,   604,   945,   946,
2128 <     955,   957,   958,   959,   960,   605,   961,     9,   641,    86,
2129 <      87,   962,   963,   964,  1471,   965,   966,   967,   606,   607,
2130 <      10,    11,   642,    12,  1472,   968,    88,    89,   969,   970,
2131 <      13,   971,   643,   972,   973,   608,   609,    90,   974,   975,
2132 <     976,   977,   978,   979,   980,   981,    91,    14,   982,   983,
2133 <     984,   985,   986,   987,   988,   989,  1011,    15,  1033,    16,
2134 <     610,   990,   991,   992,   993,   994,  1034,   995,   996,  1035,
2135 <     997,   998,   999,  1036,  1060,  1000,    17,  1037,  1038,  1039,
2136 <    1040,  1041,  1042,  1043,  1044,  1001,  1002,  1003,  1045,  1004,
2137 <    1005,  1006,  1046,    18,  1007,   644,  1047,  1008,  1048,  1054,
2138 <    1055,  1056,  1057,  1058,  1059,  1065,  1067,  1066,   645,  1063,
2139 <    1069,  1068,  1070,  1071,  1072,  1073,  1074,  1075,  1076,  1077,
2140 <    1079,  1080,  1081,  1082,  1083,    19,  1084,  1086,  1085,  1087,
2141 <      92,    93,    94,  1088,    20,    21,  1089,  1090,  1094,    22,
2142 <      23,  1012,  1013,  1014,  1015,  1016,  1095,  1017,  1018,  1096,
2143 <    1019,  1020,  1021,  1097,  1098,  1022,  1099,  1100,  1101,  1102,
2144 <    1103,  1104,  1105,  1106,  1107,  1023,  1024,  1025,  1108,  1026,
2145 <    1027,  1028,  1109,  1116,  1029,  1140,  1110,  1030,  1410,  1411,
2146 <    1412,  1413,  1414,  1111,  1415,  1416,  1112,  1417,  1418,  1419,
2147 <    1113,  1114,  1420,  1115,  1141,  1117,  1142,  1118,  1119,  1121,
2148 <    1143,  1122,  1421,  1422,  1423,  1123,  1424,  1425,  1426,  1124,
2149 <    1125,  1427,  1162,  1126,  1428,  1127,  1128,  1164,  1166,  1129,
2150 <    1130,  1131,  1132,  1133,  1135,  1136,  1175,  1177,  1144,  1137,
2151 <    1178,  1179,  1145,  1146,  1180,  1147,  1148,  1149,  1150,  1151,
2152 <    1181,  1182,  1152,  1153,  1154,  1155,  1156,  1157,  1158,  1159,
2153 <    1160,  1161,  1183,  1165,  1188,  1163,  1168,  1167,  1187,  1192,
2154 <    1191,  1193,  1194,  1195,  1196,  1197,  1198,  1199,  1200,  1201,
2303 <    1202,  1203,  1204,  1205,  1206,  1207,  1208,  1209,  1210,  1239,
2304 <    1211,  1212,  1213,  1227,  1228,  1233,  1234,  1235,  1236,  1237,
2305 <    1238,  1243,  1244,  1245,  1246,  1247,  1248,  1249,  1269,  1250,
2306 <    1255,  1251,  1252,  1253,  1254,  1258,  1264,  1265,  1270,  1279,
2307 <    1281,  1273,  1271,  1285,  1287,  1289,  1347,  1272,  1291,  1274,
2308 <    1275,  1276,  1277,  1278,  1280,  1282,  1283,  1284,  1286,  1288,
2309 <    1290,  1292,  1293,  1294,  1295,  1309,  1310,  1386,  1324,  1325,
2310 <    1326,  1327,  1328,  1329,  1393,  1330,  1331,  1332,  1333,  1334,
2311 <    1335,  1336,   334,  1481,  1337,  1338,  1482,  1480,  1453,  1339,
2312 <     926,   776,  1340,  1387,  1341,   556,  1342,  1451,  1343,  1450,
2313 <    1344,   882,   764,  1476,   877,   851,  1139,  1477,   948,  1479,
2314 <    1478,  1452,   769,   670,   366,  1447,   677,   433,  1449,  1363,
2315 <    1362,  1448,   354,   745,  1345,  1346,  1351,     0,  1352,     0,
2316 <    1353,  1354,  1355,  1356,  1357,  1358,     0,  1359,  1388,  1389,
2317 <    1390,  1391,     0,     0,     0,  1392,  1397,     0,  1398,     0,
2318 <    1399,  1400,  1401,  1402,  1403,  1404,  1405,  1406,  1407,  1408,
2319 <    1409,  1431,  1432,  1433,     0,     0,   518,     0,     0,     0,
2034 >     841,   842,   597,   598,   599,   564,    49,   840,    70,   472,
2035 >     248,   109,   525,  1084,    79,   502,   229,  1056,  1022,   495,
2036 >     286,    50,  1023,   495,   293,   219,   479,  1032,   579,    47,
2037 >      48,   503,    71,  1126,   249,    80,    81,   395,  1024,    72,
2038 >     286,    82,  1025,    54,   230,    56,   526,   504,   525,   395,
2039 >      60,   472,   231,  1099,   293,  1101,  1227,  1100,  1032,  1102,
2040 >    1228,    64,   385,   579,   232,   233,   250,   234,   235,   236,
2041 >     385,   110,  1232,   251,   564,    65,  1233,   505,    83,    84,
2042 >     219,   480,   526,    67,    85,    86,   481,   527,   482,   237,
2043 >    1057,    87,    88,    89,   496,   252,   653,   654,   496,   253,
2044 >     775,   776,   565,  1253,   661,    73,    68,   254,   665,   115,
2045 >     255,   256,   506,   670,   116,   117,   673,    90,    91,   220,
2046 >     118,   294,   386,   527,  1033,   580,   683,   684,   119,   120,
2047 >     386,   109,   507,   473,   396,   121,   528,   696,   122,   123,
2048 >     699,   700,   257,   221,   124,   106,   396,   483,   508,   125,
2049 >     126,   294,   127,   128,   129,  1033,   130,   779,   780,   258,
2050 >     580,   397,   259,   131,   453,   509,   510,   132,   133,  1127,
2051 >     107,   565,   528,   397,   220,   473,   134,  1236,  1238,  1128,
2052 >     454,  1237,  1239,   108,   114,   135,   387,   260,   497,  -123,
2053 >     216,   110,   497,   136,   387,   137,   455,   138,   221,   139,
2054 >    1085,   140,   141,   217,  1246,   261,   262,   263,  1247,  -123,
2055 >     218,   226,  1248,   299,   142,   511,  1249,  1034,   227,   143,
2056 >     144,   145,   566,   146,   147,   148,   456,  1250,   149,   300,
2057 >     474,  1251,   264,   265,   760,   303,   512,   562,   393,   751,
2058 >     287,   317,   745,   542,  1035,   581,   732,   573,  1034,   582,
2059 >     228,   577,   493,   724,   150,   800,   490,  1257,  1105,   319,
2060 >     287,  1258,   151,   152,   153,   154,   155,   156,   688,   285,
2061 >     298,   689,   474,   320,   321,  1035,   650,   322,   717,  1106,
2062 >     581,   457,  1282,    70,   582,  1211,  1283,   544,  1107,   458,
2063 >     459,   566,   571,   479,   301,   157,   302,   644,  1070,  1071,
2064 >    1072,   789,   828,   845,   846,   690,   832,    71,   691,   835,
2065 >     460,   305,   306,   839,    72,  1108,  1229,  1230,  1231,   158,
2066 >     159,   323,   160,   161,   162,   575,   307,   354,   163,   355,
2067 >     308,   356,   309,   164,   310,   311,   451,  1272,   588,   324,
2068 >     325,   326,   327,   357,  1109,  1110,   328,   312,   480,   313,
2069 >     329,   314,  1111,   481,   453,   482,   330,   315,   316,   358,
2070 >     592,   392,   402,   403,  1273,   404,  1274,   331,   332,   405,
2071 >     454,   406,   407,   408,   409,   596,   410,  1112,   411,   333,
2072 >      73,   412,   359,   413,   360,   461,   455,   414,   415,   361,
2073 >     416,   713,   417,  1113,   418,   419,   420,   840,   421,   362,
2074 >     422,   334,   809,   810,   811,   812,   813,   814,   815,   248,
2075 >     423,  1275,   424,   425,   483,   115,   456,   426,   427,   428,
2076 >     116,   117,   430,   432,   363,   433,   118,   434,   435,   436,
2077 >     437,   438,   439,   249,   119,   120,   440,   441,   442,   443,
2078 >     335,   121,   444,   445,   122,   123,   446,   447,   364,   448,
2079 >     124,   449,   450,   491,  1114,   125,   126,   492,   127,   128,
2080 >     129,   534,   130,  1276,  1277,   250,   535,   536,   365,   131,
2081 >     537,   457,   251,   132,   133,   589,   538,   366,   539,   458,
2082 >     459,   540,   134,   541,   545,   546,   623,   547,   590,   548,
2083 >     549,   135,   550,   551,   252,   552,   553,   591,   253,   136,
2084 >     460,   137,   554,   138,   229,   139,   254,   140,   141,   255,
2085 >     256,  1046,  1047,  1048,  1049,  1050,  1051,  1052,   555,  1278,
2086 >     142,   556,   367,   557,   558,   143,   144,   145,  1138,   146,
2087 >     147,   148,   230,   559,   149,   560,   561,   572,   576,   593,
2088 >     231,   257,  1139,   594,   595,   596,   600,   502,   601,   368,
2089 >    1140,   602,   232,   233,   640,   234,   235,   236,   258,   603,
2090 >     150,   259,   605,   503,  1141,   604,   606,   607,   151,   152,
2091 >     153,   154,   155,   156,   608,   461,   609,   237,   354,   504,
2092 >     355,   611,   356,   625,   612,   646,   260,   613,  1254,   614,
2093 >     615,  1142,   616,  1143,   357,   656,   617,   618,   619,   620,
2094 >     621,   157,   622,   626,   261,   262,   263,   627,   628,   505,
2095 >     358,   629,   630,   631,   633,   634,   635,   636,   637,  1144,
2096 >     638,   639,   642,   643,   647,   158,   159,   652,   160,   161,
2097 >     162,   264,   265,   359,   163,   360,   648,   649,   655,   164,
2098 >     361,   658,   657,   659,   506,   660,   663,   664,   666,   662,
2099 >     362,   667,  1145,   671,  1146,   668,   669,   672,   674,   675,
2100 >     676,   677,   678,   679,   507,   680,   682,   685,   686,   687,
2101 >     692,   693,   681,  1147,   694,   363,   697,   695,   698,   701,
2102 >     508,   702,   726,   705,   706,   727,   756,   753,   754,   755,
2103 >     703,  1148,   704,   757,   719,   762,  1149,   509,   510,   364,
2104 >    1150,  1195,   708,   709,   710,  1151,   711,   319,  1152,   894,
2105 >     712,   715,   716,  1153,   720,   721,     2,     3,   723,   365,
2106 >       4,   320,   321,   728,   729,   322,   764,  1154,   366,   730,
2107 >       5,   731,  1155,     6,     7,   734,   735,   736,   758,   738,
2108 >       8,   739,   740,  1156,   741,   742,   744,   511,   747,   748,
2109 >    1157,     9,   918,   749,    10,    11,   750,   759,   761,   765,
2110 >     766,   767,   768,  1196,   769,   763,   770,   771,   512,   323,
2111 >     772,   773,   774,   367,   787,   785,   783,   784,    12,   791,
2112 >     794,   826,   827,    13,   786,   792,   797,   324,   325,   326,
2113 >     327,    14,  1197,   793,   328,  1165,   799,   795,   329,  1198,
2114 >     368,   796,   802,   803,   330,   804,   805,   806,  1199,   807,
2115 >     808,   818,    15,    16,   819,   331,   332,   820,   821,   822,
2116 >     823,   895,   896,   897,   824,   898,   899,   333,   900,   901,
2117 >      17,   902,   825,   903,   829,  1200,   904,  1201,  1202,   905,
2118 >     906,   907,   830,   908,   831,   833,   834,    18,   909,   334,
2119 >     836,  1203,   910,   911,   912,   837,  1214,   838,  1204,   840,
2120 >      19,    20,   913,   843,   919,   920,   921,   914,   922,   923,
2121 >     851,   924,   925,   844,   926,   847,   927,   848,   849,   928,
2122 >      21,   850,   929,   930,   931,   852,   932,   853,   335,   854,
2123 >     855,   933,   856,    22,   857,   934,   935,   936,   858,   859,
2124 >     860,   861,    23,   862,   863,   937,    24,  1166,  1167,  1168,
2125 >     938,  1169,  1170,   864,  1171,  1172,   865,  1173,  1215,  1174,
2126 >     866,   867,  1175,   868,    79,  1176,  1177,  1178,   869,  1179,
2127 >     962,   870,   871,   965,  1180,   872,   873,   874,  1181,  1182,
2128 >    1183,   875,   876,   964,   877,    80,    81,  1216,  1184,   878,
2129 >     879,    82,   880,  1185,  1217,   881,   882,   883,   884,   885,
2130 >     886,   966,   887,  1218,   967,   968,   888,   889,   890,   891,
2131 >     892,   893,   917,   963,   969,   941,   977,   971,   972,   974,
2132 >     942,   943,   975,   944,   945,   983,   946,   947,    83,    84,
2133 >    1219,   976,  1220,  1221,    85,    86,   984,   948,   986,   949,
2134 >     950,    87,    88,    89,   988,   989,  1222,   951,   990,   952,
2135 >     953,   954,   955,  1223,   987,   956,   957,   991,   958,   959,
2136 >     992,   960,   961,   970,   973,   980,   981,    90,    91,   982,
2137 >     985,   993,   995,   996,   997,   994,   998,   999,  1000,  1001,
2138 >    1002,  1003,  1004,  1005,  1006,  1007,  1008,  1009,  1028,  1010,
2139 >    1011,  1012,  1013,  1014,  1015,  1016,  1017,  1018,  1019,  1020,
2140 >    1021,  1026,  1027,  1042,  1030,  1031,  1029,  1041,  1044,  1043,
2141 >    1045,  1053,  1054,  1055,  1060,  1061,  1062,  1063,  1240,  1064,
2142 >    1252,  1263,  1264,  1265,  1065,  1066,  1192,  1067,  1068,   304,
2143 >    1069,  1075,  1076,  1077,  1078,  1193,  1079,  1080,  1081,  1082,
2144 >     733,  1083,  1284,  1088,  1089,  1090,  1091,  1092,  1093,   746,
2145 >    1094,  1095,  1212,  1096,  1097,  1098,  1103,  1104,  1117,  1118,
2146 >    1119,  1131,  1120,  1121,  1267,  1122,  1123,  1124,  1125,  1266,
2147 >    1134,  1259,  1135,  1132,  1136,  1137,  1208,  1160,  1241,  1161,
2148 >     725,  1262,  1162,  1163,  1164,  1188,  1189,  1190,  1191,  1194,
2149 >     714,  1207,  1261,   752,  1213,  1226,  1209,  1242,   494,  1268,
2150 >    1256,  1243,  1281,  1244,  1245,  1255,  1269,   790,  1270,  1271,
2151 >     641,   801,  1260,   718,   645,   394,   452,   651,  1234,  1235,
2152 >     318,     0,   543,     0,     0,     0,     0,     0,     0,     0,
2153 >       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
2154 >     563,     0,     0,     0,     0,     0,     0,     0,     0,     0,
2155         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
2156 <       0,     0,   523,     0,     0,     0,     0,     0,     0,     0,
2156 >       0,     0,     0,     0,     0,   574,     0,     0,     0,     0,
2157 >       0,     0,     0,     0,     0,     0,     0,     0,   578,     0,
2158         0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
2159 <     542
2159 >       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
2160 >       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
2161 >       0,     0,     0,     0,   624
2162   };
2163  
2164 + #define yypact_value_is_default(Yystate) \
2165 +  (!!((Yystate) == (-755)))
2166 +
2167 + #define yytable_value_is_error(Yytable_value) \
2168 +  YYID (0)
2169 +
2170   static const yytype_int16 yycheck[] =
2171   {
2172 <     340,   341,   426,     1,    11,     1,    11,   347,     1,     1,
2173 <     259,     1,     1,     1,   263,     1,   259,   259,   259,     1,
2174 <     263,   263,   263,   261,     1,     1,   259,     1,   155,   259,
2175 <     263,     8,     9,   263,   259,    12,   155,   377,   263,   379,
2176 <      22,    37,    19,     1,   259,   261,    22,   261,   263,    41,
2177 <     259,    28,    48,   393,   263,    32,    33,   261,    14,    15,
2178 <      16,   401,    39,     1,    56,   261,    43,    44,    45,    55,
2179 <      47,   261,   412,   413,    78,   415,    53,   259,   259,     1,
2180 <       1,   263,   263,     4,   424,   425,    78,   427,    80,   259,
2181 <      82,    83,   261,   263,   261,    72,    73,   259,     1,    85,
2182 <      77,   263,    91,     1,     1,    91,     1,    84,   261,   101,
2183 <       5,    88,    89,    90,   259,   260,    93,    20,   261,    96,
2184 <      97,     1,   261,    26,   122,    46,   122,   120,    49,   106,
2185 <       1,    26,   122,    91,   122,   112,   113,   261,   115,   116,
2186 <     117,   118,   119,    38,   126,   261,   120,    50,    51,   261,
2187 <     126,   261,    55,   130,     1,    50,   155,   150,   261,   157,
2188 <      55,    10,   139,    12,   141,   142,    69,   144,   154,    91,
2189 <     147,   148,    67,    76,   151,   157,   150,   133,    27,    74,
2190 <     261,   157,    31,   104,    79,   162,    81,     1,   186,   215,
2191 <     216,   198,    95,   198,    91,   259,   186,   262,   186,    94,
2192 <     540,   122,   262,     1,   181,   262,   183,   262,    55,   262,
2193 <     187,   196,   197,     1,   191,   192,   193,   194,   195,   157,
2194 <     123,   262,   199,   200,   196,   197,   230,   122,   131,   262,
2195 <     234,   208,   127,   262,   262,   157,   259,   262,    85,  1049,
2196 <    1050,  1051,   122,    41,    91,   262,   149,   262,   186,    37,
2197 <     262,   122,   262,   262,   149,   158,   159,   247,    56,   157,
2198 <     157,   262,   260,   240,   260,   242,   161,   260,   163,   164,
2199 <       1,   248,     3,   168,   260,     6,   253,     1,   260,    10,
2200 <      78,   258,    80,   260,    82,    83,   189,   190,   186,    13,
2201 <     259,   262,   262,     1,    25,    26,    27,   262,    86,     1,
2202 <      31,   262,   260,   101,   259,   262,   186,   154,   122,   247,
2203 <      34,    35,   261,   261,   261,   186,    40,   262,    42,    50,
2204 <     262,    23,    24,    54,    55,   262,   247,   262,    30,    37,
2205 <     262,   262,   262,   228,   122,    94,   124,   125,   260,   260,
2206 <     235,   259,     1,   157,   247,     4,   262,   262,   262,   247,
2207 <       1,   246,   247,   262,    85,   262,    87,   260,   262,   155,
2208 <     262,   256,   260,   262,   155,   260,   262,   247,     1,   100,
2209 <     262,   262,   186,   262,    98,    99,   262,   262,    86,   167,
2210 <     260,   169,   155,   107,   108,   262,    37,    46,   262,   260,
2211 <      49,   122,   241,   262,   182,   262,   262,    48,   262,   739,
2212 <     262,   262,   262,   262,   128,   129,   262,   109,   110,   111,
2213 <     262,   170,   114,   196,   122,   263,   124,   125,   262,   262,
2214 <     122,   145,   146,   154,    57,    58,    59,    60,    61,    62,
2215 <      63,    64,   156,   135,   136,   262,   262,   168,   226,    20,
2216 <      21,   165,   262,   202,   262,   104,   262,   178,   133,   262,
2217 <     152,   153,   262,   262,   262,   262,    94,   262,   217,   167,
2218 <     262,   169,   260,   122,   133,   262,   254,   255,   262,   262,
2219 <      51,   122,   105,   262,   182,   177,   262,   262,   237,   238,
2220 <     262,   262,   262,   262,   243,   244,   245,   246,    69,   891,
2221 <     892,   893,   894,   895,   262,    76,   262,   256,   133,   262,
2222 <     924,   262,   262,   196,   262,   262,   262,   140,   262,   262,
2223 <     241,   262,   262,   262,    95,   262,   262,   262,   226,   262,
2224 <     262,   262,   262,   254,   262,   249,   250,   251,   262,   260,
2225 <     262,   196,   170,   262,   262,   262,   260,   172,   173,   174,
2226 <     175,   176,   123,   262,   262,   262,   254,   255,   262,     1,
2227 <     131,   133,   260,   133,     1,   133,     8,     9,   260,   196,
2228 <      12,   133,   196,   259,   202,   196,   196,    19,   196,   196,
2229 <     196,   262,   262,   259,   914,   262,    28,   196,   155,   217,
2230 <      32,    33,   922,   923,   262,   218,   196,    39,   247,   133,
2231 <     171,    43,    44,    45,   155,    47,   133,   196,   196,   237,
2232 <     238,    53,   196,   133,   155,   243,   244,   245,   246,   190,
2233 <      57,    58,    59,    60,    61,    62,    63,    64,   256,   252,
2234 <      72,    73,   196,   133,   133,    77,   133,   260,   196,   196,
2235 <     196,     1,    84,   133,   155,     5,    88,    89,    90,   196,
2236 <     133,    93,   133,   133,    96,    97,   133,   155,   133,   133,
2237 <     196,     1,   155,   196,   106,   262,    26,   196,   105,   262,
2238 <     112,   113,   196,   115,   116,   117,   118,   119,    38,   196,
2239 <      20,   196,   196,   196,   196,   133,    26,   196,   130,   196,
2240 <      50,   196,   196,   259,   259,    55,   259,   139,   155,   141,
2241 <     142,   262,   144,   140,   155,   147,   148,    67,   262,   151,
2242 <      50,    51,   262,   262,    74,    55,   262,   262,   262,    79,
2243 <     162,    81,   262,     5,   262,   262,   155,   262,   155,    69,
2244 <     262,   262,   262,   155,    94,   155,    76,   262,   155,   181,
2245 <     262,   183,   155,   262,   262,   187,   262,   155,   155,   191,
2246 <     192,   193,   194,   195,   262,    95,    38,   199,   200,   262,
2247 <     262,   262,   122,   196,   259,   155,   208,   127,    50,   219,
2248 <     220,   221,   222,   223,   224,   225,   262,   155,   262,   155,
2249 <     259,   218,   196,   123,   262,    67,   259,   196,   259,   149,
2250 <     262,   131,    74,   196,   196,   196,   155,    79,   240,    81,
2251 <     242,   161,   196,   163,   164,     1,   248,     3,   168,   149,
2252 <       6,   253,    94,   155,    10,   252,   258,   155,   158,   159,
2253 <     155,   155,   155,   155,   133,   155,   155,   259,   259,    25,
2254 <      26,    27,     1,   133,     1,    31,   262,   262,   259,   262,
2255 <     259,   259,   133,   259,    13,   127,   133,   259,   259,   189,
2256 <     190,   155,   262,   259,    50,   259,    23,    24,    54,    55,
2257 <     259,   143,   259,    30,   259,    34,    35,   259,   228,   262,
2258 <     259,    40,   259,    42,   259,   235,   259,   259,   259,   161,
2259 <     259,   163,   164,   155,   259,   259,   246,   247,   259,    85,
2260 <     259,    87,   262,   259,   262,   262,   256,   262,   262,   262,
2261 <     262,   262,   259,   259,   100,     0,     1,   247,   262,   262,
2262 <       5,   262,   262,   262,   262,   262,   262,   262,   262,   262,
2263 <     155,   262,   155,   262,   201,   262,   122,    22,   259,    98,
2264 <      99,    26,   155,   196,    29,   262,   262,   262,   107,   108,
2265 <     262,    36,   109,   110,   111,   262,   228,   114,   262,   262,
2266 <     262,   259,   259,   259,   259,   122,   259,    52,   154,   128,
2267 <     129,   259,   259,   259,   246,   259,   259,   259,   135,   136,
2268 <      65,    66,   168,    68,   256,   259,   145,   146,   259,   259,
2269 <      75,   259,   178,   259,   259,   152,   153,   156,   259,   259,
2270 <     259,   259,   259,   259,   259,   259,   165,    92,   259,   259,
2271 <     259,   259,   259,   259,   259,   259,   259,   102,   259,   104,
2272 <     177,   203,   204,   205,   206,   207,   259,   209,   210,   259,
2273 <     212,   213,   214,   259,   262,   217,   121,   259,   259,   259,
2274 <     259,   259,   259,   259,   259,   227,   228,   229,   259,   231,
2275 <     232,   233,   259,   138,   236,   241,   259,   239,   259,   259,
2276 <     259,   259,   259,   259,   259,   155,   196,   259,   254,   262,
2277 <     196,   155,   196,   262,   196,   196,   196,   196,   196,   155,
2278 <     155,   155,   196,   155,   259,   170,   155,   155,   262,   259,
2279 <     249,   250,   251,   262,   179,   180,   155,   155,   259,   184,
2280 <     185,   203,   204,   205,   206,   207,   259,   209,   210,   259,
2281 <     212,   213,   214,   259,   259,   217,   259,   259,   259,   259,
2282 <     259,   259,   259,   259,   259,   227,   228,   229,   259,   231,
2283 <     232,   233,   259,   262,   236,   155,   259,   239,   203,   204,
2284 <     205,   206,   207,   259,   209,   210,   259,   212,   213,   214,
2285 <     259,   259,   217,   259,   155,   262,   155,   262,   262,   262,
2286 <     259,   262,   227,   228,   229,   262,   231,   232,   233,   262,
2287 <     262,   236,   155,   262,   239,   262,   262,   155,   155,   262,
2288 <     262,   262,   262,   262,   262,   262,   133,   133,   259,   262,
2289 <     133,   133,   259,   259,   133,   259,   259,   259,   259,   259,
2290 <     155,   133,   259,   259,   259,   259,   259,   259,   259,   259,
2291 <     259,   259,   133,   259,   155,   262,   259,   262,   259,   155,
2292 <     196,   155,   196,   196,   196,   155,   262,   155,   155,   155,
2293 <     155,   133,   155,   155,   196,   155,   259,   259,   259,   132,
2294 <     259,   259,   160,   259,   259,   259,   259,   259,   259,   259,
2295 <     259,   259,   259,   259,   259,   259,   259,   259,   196,   259,
2452 <     160,   259,   259,   259,   259,   259,   259,   259,   155,   155,
2453 <     155,   262,   196,   155,   262,   155,   132,   196,   259,   196,
2454 <     196,   196,   196,   196,   196,   196,   196,   196,   196,   196,
2455 <     196,   259,   259,   259,   259,   259,   259,   133,   259,   259,
2456 <     259,   259,   259,   259,   132,   259,   259,   259,   259,   259,
2457 <     259,   259,    71,  1456,   259,   259,  1475,  1454,  1385,   259,
2458 <     611,   499,   259,  1267,   259,   314,   259,  1370,   259,  1368,
2459 <     259,   569,   466,  1435,   561,   529,   822,  1437,   646,  1440,
2460 <    1438,  1383,   489,   360,   124,  1361,   372,   185,  1367,  1219,
2461 <    1217,  1365,    95,   441,   259,   259,   259,    -1,   259,    -1,
2462 <     259,   259,   259,   259,   259,   259,    -1,   259,   259,   259,
2463 <     259,   259,    -1,    -1,    -1,   259,   259,    -1,   259,    -1,
2464 <     259,   259,   259,   259,   259,   259,   259,   259,   259,   259,
2465 <     259,   259,   259,   259,    -1,    -1,   260,    -1,    -1,    -1,
2172 >     621,   622,   309,   310,   311,     1,   229,   108,     1,     1,
2173 >       1,     1,     1,     8,     1,     1,     1,    51,   227,     1,
2174 >       1,   229,   231,     1,     1,     1,     1,     1,     1,   227,
2175 >     228,    17,    25,    49,    25,    22,    23,     1,   227,    32,
2176 >       1,    28,   231,   229,    29,   229,    35,    33,     1,     1,
2177 >     229,     1,    37,   227,     1,   227,   227,   231,     1,   231,
2178 >     231,   229,     1,     1,    49,    50,    57,    52,    53,    54,
2179 >       1,    61,   227,    64,     1,   229,   231,    63,    65,    66,
2180 >       1,    56,    35,   229,    71,    72,    61,    76,    63,    74,
2181 >     124,    78,    79,    80,    76,    86,   403,   404,    76,    90,
2182 >     199,   200,    98,   204,   411,    98,   229,    98,   415,     1,
2183 >     101,   102,    98,   420,     6,     7,   423,   104,   105,    95,
2184 >      12,    98,    61,    76,    98,    98,   433,   434,    20,    21,
2185 >      61,     1,   118,   125,    98,    27,   125,   444,    30,    31,
2186 >     447,   448,   133,   119,    36,   229,    98,   122,   134,    41,
2187 >      42,    98,    44,    45,    46,    98,    48,   199,   200,   150,
2188 >      98,   125,   153,    55,     1,   151,   152,    59,    60,   185,
2189 >     229,    98,   125,   125,    95,   125,    68,   227,   227,   195,
2190 >      17,   231,   231,   229,   229,    77,   125,   178,   170,   170,
2191 >     229,    61,   170,    85,   125,    87,    33,    89,   119,    91,
2192 >     195,    93,    94,   229,   227,   196,   197,   198,   231,   170,
2193 >     229,   229,   227,   227,   106,   201,   231,   191,   229,   111,
2194 >     112,   113,   218,   115,   116,   117,    63,   227,   120,   230,
2195 >     222,   231,   223,   224,   541,   228,   222,   228,   228,   228,
2196 >     221,   228,   228,   228,   218,   218,   228,   228,   191,   222,
2197 >     229,   228,   228,   228,   146,   228,   227,   227,    13,     1,
2198 >     221,   231,   154,   155,   156,   157,   158,   159,   210,   229,
2199 >     229,   213,   222,    15,    16,   218,   228,    19,   228,    34,
2200 >     218,   118,   227,     1,   222,   228,   231,   227,    43,   126,
2201 >     127,   218,   227,     1,   230,   187,   230,   228,     9,    10,
2202 >      11,   228,   609,   174,   175,   210,   613,    25,   213,   616,
2203 >     147,   230,   230,   620,    32,    70,  1070,  1071,  1072,   211,
2204 >     212,    63,   214,   215,   216,   170,   230,     1,   220,     3,
2205 >     230,     5,   230,   225,   230,   230,   228,    40,   123,    81,
2206 >      82,    83,    84,    17,    99,   100,    88,   230,    56,   230,
2207 >      92,   230,   107,    61,     1,    63,    98,   230,   230,    33,
2208 >     108,   230,   230,   230,    67,   230,    69,   109,   110,   230,
2209 >      17,   230,   230,   230,   230,   108,   230,   132,   230,   121,
2210 >      98,   230,    56,   230,    58,   222,    33,   230,   230,    63,
2211 >     230,   228,   230,   148,   230,   230,   230,   108,   230,    73,
2212 >     230,   143,   135,   136,   137,   138,   139,   140,   141,     1,
2213 >     230,   114,   230,   230,   122,     1,    63,   230,   230,   230,
2214 >       6,     7,   230,   230,    98,   230,    12,   230,   230,   230,
2215 >     230,   230,   230,    25,    20,    21,   230,   230,   230,   230,
2216 >     182,    27,   230,   230,    30,    31,   230,   230,   122,   230,
2217 >      36,   230,   230,   230,   209,    41,    42,   230,    44,    45,
2218 >      46,   230,    48,   166,   167,    57,   230,   230,   142,    55,
2219 >     230,   118,    64,    59,    60,   123,   230,   151,   230,   126,
2220 >     127,   230,    68,   230,   230,   230,   228,   230,   123,   230,
2221 >     230,    77,   230,   230,    86,   230,   230,   227,    90,    85,
2222 >     147,    87,   230,    89,     1,    91,    98,    93,    94,   101,
2223 >     102,   809,   810,   811,   812,   813,   814,   815,   230,   222,
2224 >     106,   230,   196,   230,   230,   111,   112,   113,     4,   115,
2225 >     116,   117,    29,   230,   120,   230,   230,   230,   230,   108,
2226 >      37,   133,    18,   210,   108,   108,   108,     1,   108,   223,
2227 >      26,   108,    49,    50,   228,    52,    53,    54,   150,   210,
2228 >     146,   153,   227,    17,    40,   210,   227,   230,   154,   155,
2229 >     156,   157,   158,   159,   230,   222,   230,    74,     1,    33,
2230 >       3,   230,     5,   227,   230,   123,   178,   230,  1209,   230,
2231 >     230,    67,   230,    69,    17,   108,   230,   230,   230,   230,
2232 >     230,   187,   230,   230,   196,   197,   198,   230,   230,    63,
2233 >      33,   230,   230,   230,   230,   230,   230,   230,   230,    95,
2234 >     230,   230,   230,   230,   227,   211,   212,   210,   214,   215,
2235 >     216,   223,   224,    56,   220,    58,   230,   230,   210,   225,
2236 >      63,   108,   210,   123,    98,   210,   108,   108,   108,   210,
2237 >      73,   210,   128,   108,   130,   210,   210,   108,   108,   108,
2238 >     108,   108,   210,   230,   118,   210,   210,   210,   210,   210,
2239 >     210,   210,   230,   149,   210,    98,   210,   123,   210,   210,
2240 >     134,   210,   123,   230,   230,   123,   123,   210,   210,   210,
2241 >     227,   167,   227,   210,   227,   123,   172,   151,   152,   122,
2242 >     176,    69,   230,   230,   230,   181,   230,     1,   184,    49,
2243 >     230,   230,   230,   189,   230,   230,     0,     1,   230,   142,
2244 >       4,    15,    16,   227,   227,    19,   123,   203,   151,   230,
2245 >      14,   230,   208,    17,    18,   227,   230,   230,   210,   230,
2246 >      24,   230,   230,   219,   230,   230,   230,   201,   227,   230,
2247 >     226,    35,    49,   230,    38,    39,   230,   210,   227,   108,
2248 >     108,   123,   123,   131,   123,   210,   123,   123,   222,    63,
2249 >     123,   108,   123,   196,   230,   227,   123,   123,    62,   210,
2250 >     123,   108,   108,    67,   227,   227,   230,    81,    82,    83,
2251 >      84,    75,   160,   229,    88,    49,   230,   227,    92,   167,
2252 >     223,   227,   227,   227,    98,   227,   227,   227,   176,   227,
2253 >     227,   227,    96,    97,   227,   109,   110,   227,   227,   227,
2254 >     227,   161,   162,   163,   227,   165,   166,   121,   168,   169,
2255 >     114,   171,   227,   173,   230,   203,   176,   205,   206,   179,
2256 >     180,   181,   108,   183,   108,   108,   108,   131,   188,   143,
2257 >     123,   219,   192,   193,   194,   108,    69,   108,   226,   108,
2258 >     144,   145,   202,   227,   161,   162,   163,   207,   165,   166,
2259 >     230,   168,   169,   123,   171,   123,   173,   210,   123,   176,
2260 >     164,   123,   179,   180,   181,   123,   183,   123,   182,   108,
2261 >     123,   188,   123,   177,   123,   192,   193,   194,   123,   227,
2262 >     123,   123,   186,   227,   227,   202,   190,   161,   162,   163,
2263 >     207,   165,   166,   123,   168,   169,   123,   171,   131,   173,
2264 >     227,   227,   176,   227,     1,   179,   180,   181,   227,   183,
2265 >     123,   227,   227,   123,   188,   227,   227,   227,   192,   193,
2266 >     194,   227,   227,   230,   227,    22,    23,   160,   202,   227,
2267 >     227,    28,   227,   207,   167,   227,   227,   227,   227,   227,
2268 >     227,   108,   227,   176,   123,   123,   227,   227,   227,   227,
2269 >     227,   227,   227,   210,   123,   227,   108,   123,   123,   123,
2270 >     227,   227,   123,   227,   227,   123,   227,   227,    65,    66,
2271 >     203,   230,   205,   206,    71,    72,   123,   227,   123,   227,
2272 >     227,    78,    79,    80,   230,   123,   219,   227,   123,   227,
2273 >     227,   227,   227,   226,   210,   227,   227,   123,   227,   227,
2274 >     123,   227,   227,   227,   227,   227,   227,   104,   105,   227,
2275 >     227,   210,   123,   227,   123,   230,   123,   123,   227,   227,
2276 >     227,   227,   227,   227,   227,   227,   227,   227,   123,   227,
2277 >     227,   227,   227,   227,   227,   227,   227,   227,   227,   227,
2278 >     227,   227,   227,   123,   227,   227,   230,   227,   123,   230,
2279 >     227,   227,   227,   227,   227,   227,   227,   227,   108,   227,
2280 >     123,   129,   129,   129,   227,   227,  1023,   227,   227,    74,
2281 >     227,   227,   227,   227,   227,  1025,   227,   227,   227,   227,
2282 >     498,   227,  1283,   227,   227,   227,   227,   227,   227,   513,
2283 >     227,   227,  1036,   227,   227,   227,   227,   227,   227,   227,
2284 >     227,   217,   227,   227,  1249,   227,   227,   227,   227,  1247,
2285 >     227,  1228,   227,   231,   227,   227,   230,   227,  1132,   227,
2286 >     485,  1239,   227,   227,   227,   227,   227,   227,   227,   227,
2287 >     462,   227,  1237,   529,   227,   227,   230,   227,   222,  1251,
2288 >     227,   232,  1258,   232,   232,   230,   227,   567,   227,   227,
2289 >     369,   583,  1233,   475,   388,   111,   165,   398,  1100,  1102,
2290 >      92,    -1,   238,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
2291 >      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
2292 >     266,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
2293 >      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
2294 >      -1,    -1,    -1,    -1,    -1,   288,    -1,    -1,    -1,    -1,
2295 >      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   295,    -1,
2296        -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
2467      -1,    -1,   277,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
2297        -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
2298 <     293
2298 >      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
2299 >      -1,    -1,    -1,    -1,   336
2300   };
2301  
2302   /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
2303     symbol of state STATE-NUM.  */
2304   static const yytype_uint16 yystos[] =
2305   {
2306 <       0,   265,     0,     1,     5,    22,    26,    29,    36,    52,
2307 <      65,    66,    68,    75,    92,   102,   104,   121,   138,   170,
2308 <     179,   180,   184,   185,   266,   271,   276,   290,   296,   311,
2309 <     348,   367,   381,   407,   414,   424,   433,   464,   474,   480,
2310 <     484,   494,   559,   575,   596,   259,   260,   261,   261,   349,
2311 <     434,   475,   261,   485,   261,   560,   382,   465,   368,   261,
2312 <     261,   312,   408,   261,   261,   415,   425,     1,    37,    48,
2313 <     122,   291,   292,   293,   294,   295,     1,    13,    34,    35,
2314 <      40,    42,    98,    99,   107,   108,   128,   129,   145,   146,
2315 <     156,   165,   249,   250,   251,   576,   577,   578,   579,   580,
2316 <     581,   582,   583,   584,   585,   586,   587,   588,   589,   590,
2317 <     591,   592,   593,   594,   595,   155,   350,   354,   155,   435,
2318 <     439,   261,     1,    91,   481,   482,   483,   261,     1,     8,
2319 <       9,    12,    19,    28,    32,    33,    39,    43,    44,    45,
2320 <      47,    53,    72,    73,    77,    84,    88,    89,    90,    93,
2321 <      96,    97,   106,   112,   113,   115,   116,   117,   118,   119,
2322 <     130,   139,   141,   142,   144,   147,   148,   151,   162,   181,
2323 <     183,   187,   191,   192,   193,   194,   195,   199,   200,   208,
2324 <     240,   242,   248,   253,   258,   495,   496,   497,   498,   499,
2325 <     500,   501,   502,   503,   504,   505,   506,   507,   508,   509,
2326 <     510,   511,   512,   513,   514,   515,   516,   517,   518,   519,
2327 <     520,   521,   522,   523,   524,   525,   526,   527,   528,   529,
2328 <     530,   531,   532,   533,   534,   535,   536,   537,   538,   539,
2329 <     540,   541,   542,   543,   544,   545,   546,   550,   554,   555,
2330 <     556,   557,   558,   261,   261,   261,   261,     1,    57,    58,
2331 <      59,    60,    61,    62,    63,    64,   105,   140,   218,   252,
2332 <     297,   298,   299,   300,   301,   302,   303,   304,   305,   306,
2333 <     307,   308,   309,   310,     1,   120,   150,   272,   273,   274,
2334 <     275,   155,   313,   317,   261,     1,    41,    56,    78,    80,
2335 <      82,    83,   101,   597,   598,   599,   600,   601,   602,   603,
2336 <     604,   605,     1,    37,    86,   122,   124,   125,   167,   169,
2337 <     182,   226,   254,   255,   277,   278,   279,   280,   281,   282,
2338 <     283,   284,   285,   286,   287,   288,   289,   261,   261,   259,
2339 <     262,   262,   262,   260,   292,   262,   262,   262,   262,   262,
2340 <     262,   262,   262,   262,   262,   262,   262,   262,   262,   262,
2341 <     262,   262,   262,   260,   577,   261,   261,     1,    91,   157,
2342 <     476,   477,   478,   479,   262,   260,   482,     1,   122,   157,
2343 <     186,   486,   490,   491,   492,   493,   262,   262,   262,   262,
2344 <     262,   262,   262,   262,   262,   262,   262,   262,   262,   262,
2345 <     262,   262,   262,   262,   262,   262,   262,   262,   262,   262,
2346 <     262,   262,   262,   262,   262,   262,   262,   262,   262,   551,
2347 <     262,   547,   262,   262,   262,   262,   262,   262,   262,   262,
2348 <     262,   262,   262,   262,   262,   262,   262,   262,   262,   262,
2349 <     262,   262,   260,   496,     1,     4,    46,    49,   104,   122,
2350 <     247,   561,   562,   563,   564,   565,   569,   570,   571,     1,
2351 <      20,    26,    50,    51,    55,    69,    76,    95,   123,   131,
2352 <     149,   158,   159,   189,   190,   247,   383,   384,   385,   386,
2353 <     387,   388,   389,   390,   397,   398,   399,   400,   401,   402,
2354 <     403,   404,   405,   406,     1,   157,   186,   247,   466,   470,
2355 <     471,   472,   473,     1,    55,    85,    91,   154,   369,   373,
2356 <     374,   375,   379,   380,   259,   262,   262,   262,   262,   262,
2357 <     262,   262,   262,   262,   262,   262,   262,   260,   298,   259,
2358 <     262,   262,   260,   273,   261,     1,    22,   126,   157,   409,
2359 <     410,   411,   412,   413,   262,   262,   262,   262,   262,   262,
2360 <     262,   260,   598,   259,   262,   262,   262,   262,   262,   262,
2361 <     262,   262,   262,   262,   262,   260,   278,     1,   122,   186,
2362 <     247,   416,   417,   418,   419,   420,     1,   122,   186,   426,
2363 <     427,   428,   429,   155,   155,   155,   259,   196,   133,   133,
2364 <     196,   196,   133,   268,   268,   133,   133,   196,   196,   133,
2365 <     268,   196,   196,   196,   196,   196,   259,     1,    23,    24,
2366 <      30,   109,   110,   111,   114,   122,   135,   136,   152,   153,
2367 <     177,   351,   352,   353,   355,   356,   357,   358,   359,   360,
2368 <     361,   362,   363,   364,   365,   366,     1,     3,     6,    10,
2369 <      25,    26,    27,    31,    50,    54,    55,    85,    87,   100,
2370 <     122,   154,   168,   178,   241,   254,   436,   437,   438,   440,
2371 <     441,   442,   443,   444,   445,   446,   447,   454,   455,   456,
2372 <     457,   458,   459,   460,   461,   462,   463,   262,   262,   260,
2373 <     477,   155,   259,   262,   262,   487,   260,   491,   196,   268,
2374 <     196,   268,   133,   155,   133,   196,   196,   196,   133,   155,
2375 <     196,   133,   133,   133,   196,   268,   196,   196,   133,   155,
2376 <     196,   133,   133,   268,   133,   133,   155,   133,   133,   196,
2377 <     196,   262,   196,   262,   268,   268,   196,   268,   155,   196,
2378 <     196,   196,   196,   197,   196,   197,   196,   196,   268,   268,
2379 <     133,   270,   268,   196,   196,   196,   196,   259,   572,   262,
2380 <     262,   566,   262,   262,   260,   562,   259,   262,   262,   262,
2381 <     262,   391,   262,   262,   262,   262,   262,   262,   262,   262,
2382 <     262,   262,   262,   260,   384,   262,   467,   262,   260,   471,
2383 <     259,   370,   262,   262,   262,   260,   374,   155,   155,   155,
2384 <     155,   155,   155,   155,   155,   219,   220,   221,   222,   223,
2385 <     224,   225,   155,   155,   196,   259,   155,   155,   259,     1,
2386 <       5,    26,    38,    50,    55,    67,    74,    79,    81,    94,
2387 <     122,   127,   149,   161,   163,   164,   168,   228,   235,   246,
2388 <     247,   256,   314,   315,   316,   318,   319,   320,   321,   322,
2389 <     323,   327,   328,   329,   330,   331,   332,   333,   334,   335,
2390 <     336,   337,   338,   339,   340,   341,   259,   262,   262,   262,
2391 <     260,   410,   196,   196,   196,   155,   196,   196,   268,   259,
2392 <     155,   196,   155,   155,   155,   155,   155,   155,   133,   155,
2393 <     155,   259,   259,   262,   421,   262,   260,   417,   259,   262,
2394 <     430,   260,   427,   259,   259,   259,   259,   259,   259,   259,
2395 <     259,   172,   173,   174,   175,   176,   267,   268,   259,   259,
2396 <     259,   259,   259,   259,   259,   259,   259,   259,   259,   259,
2397 <     259,   259,   262,   262,   262,   262,   262,   262,   262,   262,
2398 <     262,   262,   262,   262,   262,   260,   352,   259,   262,   262,
2399 <     262,   262,   262,   262,   262,   262,   262,   448,   262,   262,
2400 <     262,   262,   262,   262,   262,   262,   262,   260,   437,   155,
2401 <     155,   259,   259,   155,   155,   262,   259,   259,   259,   259,
2402 <     259,   259,   259,   259,   259,   259,   259,   259,   259,   259,
2403 <     259,   259,   259,   259,   259,   259,   259,   259,   259,   259,
2404 <     259,   259,   259,   259,   259,   259,   259,   259,   259,   259,
2405 <     203,   204,   205,   206,   207,   209,   210,   212,   213,   214,
2406 <     217,   227,   228,   229,   231,   232,   233,   236,   239,   552,
2407 <     553,   259,   203,   204,   205,   206,   207,   209,   210,   212,
2408 <     213,   214,   217,   227,   228,   229,   231,   232,   233,   236,
2409 <     239,   548,   549,   259,   259,   259,   259,   259,   259,   259,
2410 <     259,   259,   259,   259,   259,   259,   259,   259,   259,    14,
2411 <      15,    16,   269,   270,   259,   259,   259,   259,   259,   259,
2412 <     262,   268,   196,   262,   155,   155,   259,   196,   155,   196,
2413 <     196,   262,   196,   196,   196,   196,   196,   155,   133,   155,
2414 <     155,   196,   155,   259,   155,   262,   155,   259,   262,   155,
2415 <     155,   133,   377,   378,   259,   259,   259,   259,   259,   259,
2416 <     259,   259,   259,   259,   259,   259,   259,   259,   259,   259,
2417 <     259,   259,   259,   259,   259,   259,   262,   262,   262,   262,
2418 <     342,   262,   262,   262,   262,   262,   262,   262,   262,   262,
2419 <     262,   262,   262,   262,   324,   262,   262,   262,   260,   315,
2420 <     155,   155,   155,   259,   259,   259,   259,   259,   259,   259,
2421 <     259,   259,   259,   259,   259,   259,   259,   259,   259,   259,
2422 <     259,   259,   155,   262,   155,   259,   155,   262,   259,   267,
2423 <     267,   267,   267,   267,   133,   133,   268,   133,   133,   133,
2424 <     133,   155,   133,   133,   268,   268,   270,   259,   155,   215,
2425 <     216,   196,   155,   155,   196,   196,   196,   155,   262,   155,
2426 <     155,   155,   155,   133,   155,   155,   196,   155,   259,   259,
2427 <     259,   259,   259,   160,   488,   489,   259,   263,   259,   263,
2428 <     269,   269,   269,    11,   198,   573,   574,   259,   259,    11,
2429 <     198,   567,   568,   259,   259,   259,   259,   259,   259,   132,
2430 <     392,   393,   395,   259,   259,   259,   259,   259,   259,   259,
2431 <     259,   259,   259,   259,   259,   160,   468,   469,   259,    78,
2432 <     230,   234,   371,   372,   259,   259,   201,   263,   376,   196,
2433 <     155,   196,   196,   262,   196,   196,   196,   196,   196,   155,
2434 <     196,   155,   196,   196,   196,   155,   196,   262,   196,   155,
2605 <     196,   259,   259,   259,   259,   259,    94,   170,   202,   217,
2606 <     237,   238,   243,   244,   245,   246,   256,   422,   423,   259,
2607 <     259,    94,   170,   202,   217,   237,   238,   243,   244,   245,
2608 <     246,   256,   431,   432,   259,   259,   259,   259,   259,   259,
2609 <     259,   259,   259,   259,   259,   259,   259,   259,   259,   259,
2610 <     259,   259,   259,   259,   259,   259,   259,   132,   449,   450,
2611 <     452,   259,   259,   259,   259,   259,   259,   259,   259,   259,
2612 <     259,   263,   553,   549,   259,   263,   259,   263,   394,   259,
2613 <     263,    20,    21,    51,    69,    76,    95,   123,   131,   171,
2614 <     190,   396,   259,   263,   259,   263,   133,   378,   259,   259,
2615 <     259,   259,   259,   132,   343,   344,   346,   259,   259,   259,
2616 <     259,   259,   259,   259,   259,   259,   259,   259,   259,   259,
2617 <     203,   204,   205,   206,   207,   209,   210,   212,   213,   214,
2618 <     217,   227,   228,   229,   231,   232,   233,   236,   239,   325,
2619 <     326,   259,   259,   259,   259,   263,   259,   263,   451,   259,
2620 <     263,    10,    12,    27,    31,   241,   453,   489,   574,   568,
2621 <     396,   393,   469,   372,   345,   259,   263,     5,    38,    50,
2622 <      67,    74,    79,    81,    94,   127,   143,   161,   163,   164,
2623 <     228,   246,   256,   347,   259,   263,   423,   432,   453,   450,
2624 <     347,   344,   326
2306 >       0,   234,     0,     1,     4,    14,    17,    18,    24,    35,
2307 >      38,    39,    62,    67,    75,    96,    97,   114,   131,   144,
2308 >     145,   164,   177,   186,   190,   235,   240,   245,   269,   275,
2309 >     281,   295,   315,   338,   352,   367,   374,   378,   388,   397,
2310 >     418,   424,   430,   434,   440,   498,   513,   227,   228,   229,
2311 >     229,   316,   398,   425,   229,   435,   229,   353,   419,   339,
2312 >     229,   276,   296,   368,   229,   229,   389,   229,   229,   379,
2313 >       1,    25,    32,    98,   270,   271,   272,   273,   274,     1,
2314 >      22,    23,    28,    65,    66,    71,    72,    78,    79,    80,
2315 >     104,   105,   499,   500,   501,   502,   503,   504,   505,   506,
2316 >     507,   508,   509,   510,   511,   512,   229,   229,   229,     1,
2317 >      61,   431,   432,   433,   229,     1,     6,     7,    12,    20,
2318 >      21,    27,    30,    31,    36,    41,    42,    44,    45,    46,
2319 >      48,    55,    59,    60,    68,    77,    85,    87,    89,    91,
2320 >      93,    94,   106,   111,   112,   113,   115,   116,   117,   120,
2321 >     146,   154,   155,   156,   157,   158,   159,   187,   211,   212,
2322 >     214,   215,   216,   220,   225,   441,   442,   443,   444,   445,
2323 >     446,   447,   448,   449,   450,   451,   452,   453,   454,   455,
2324 >     456,   457,   458,   459,   460,   461,   462,   463,   464,   465,
2325 >     466,   467,   468,   469,   470,   471,   472,   473,   474,   475,
2326 >     476,   477,   478,   479,   480,   481,   482,   483,   484,   485,
2327 >     486,   487,   491,   495,   496,   497,   229,   229,   229,     1,
2328 >      95,   119,   241,   242,   243,   244,   229,   229,   229,     1,
2329 >      29,    37,    49,    50,    52,    53,    54,    74,   514,   515,
2330 >     516,   517,   518,   519,   520,   521,   522,   523,     1,    25,
2331 >      57,    64,    86,    90,    98,   101,   102,   133,   150,   153,
2332 >     178,   196,   197,   198,   223,   224,   246,   247,   248,   249,
2333 >     254,   255,   256,   257,   258,   259,   260,   261,   262,   263,
2334 >     264,   265,   266,   267,   268,   229,     1,   221,   282,   283,
2335 >     284,   285,   286,     1,    98,   375,   376,   377,   229,   227,
2336 >     230,   230,   230,   228,   271,   230,   230,   230,   230,   230,
2337 >     230,   230,   230,   230,   230,   230,   230,   228,   500,     1,
2338 >      15,    16,    19,    63,    81,    82,    83,    84,    88,    92,
2339 >      98,   109,   110,   121,   143,   182,   317,   318,   319,   320,
2340 >     321,   322,   323,   324,   325,   326,   327,   328,   329,   330,
2341 >     331,   332,   333,   334,     1,     3,     5,    17,    33,    56,
2342 >      58,    63,    73,    98,   122,   142,   151,   196,   223,   399,
2343 >     400,   401,   402,   403,   404,   405,   406,   407,   408,   409,
2344 >     413,   414,   415,   416,   417,     1,    61,   125,   426,   427,
2345 >     428,   429,   230,   228,   432,     1,    98,   125,   436,   437,
2346 >     438,   439,   230,   230,   230,   230,   230,   230,   230,   230,
2347 >     230,   230,   230,   230,   230,   230,   230,   230,   230,   230,
2348 >     230,   230,   230,   230,   230,   230,   230,   230,   230,   492,
2349 >     230,   488,   230,   230,   230,   230,   230,   230,   230,   230,
2350 >     230,   230,   230,   230,   230,   230,   230,   230,   230,   230,
2351 >     230,   228,   442,     1,    17,    33,    63,   118,   126,   127,
2352 >     147,   222,   354,   355,   356,   357,   358,   359,   360,   364,
2353 >     365,   366,     1,   125,   222,   420,   421,   422,   423,     1,
2354 >      56,    61,    63,   122,   340,   344,   345,   346,   350,   351,
2355 >     227,   230,   230,   228,   242,     1,    76,   170,   277,   278,
2356 >     279,   280,     1,    17,    33,    63,    98,   118,   134,   151,
2357 >     152,   201,   222,   297,   298,   299,   300,   301,   302,   303,
2358 >     304,   305,   306,   307,   311,     1,    35,    76,   125,   369,
2359 >     370,   371,   372,   373,   230,   230,   230,   230,   230,   230,
2360 >     230,   230,   228,   515,   227,   230,   230,   230,   230,   230,
2361 >     230,   230,   230,   230,   230,   230,   230,   230,   230,   230,
2362 >     230,   230,   228,   247,     1,    98,   218,   390,   391,   392,
2363 >     393,   227,   230,   228,   283,   170,   230,   228,   376,     1,
2364 >      98,   218,   222,   380,   381,   382,   383,   384,   123,   123,
2365 >     123,   227,   108,   108,   210,   108,   108,   237,   237,   237,
2366 >     108,   108,   108,   210,   210,   227,   227,   230,   230,   230,
2367 >     335,   230,   230,   230,   230,   230,   230,   230,   230,   230,
2368 >     230,   230,   230,   228,   318,   227,   230,   230,   230,   230,
2369 >     230,   230,   410,   230,   230,   230,   230,   230,   230,   230,
2370 >     228,   400,   230,   230,   228,   427,   123,   227,   230,   230,
2371 >     228,   437,   210,   237,   237,   210,   108,   210,   108,   123,
2372 >     210,   237,   210,   108,   108,   237,   108,   210,   210,   210,
2373 >     237,   108,   108,   237,   108,   108,   108,   108,   210,   230,
2374 >     210,   230,   210,   237,   237,   210,   210,   210,   210,   213,
2375 >     210,   213,   210,   210,   210,   123,   237,   210,   210,   237,
2376 >     237,   210,   210,   227,   227,   230,   230,   361,   230,   230,
2377 >     230,   230,   230,   228,   355,   230,   230,   228,   421,   227,
2378 >     230,   230,   341,   230,   228,   345,   123,   123,   227,   227,
2379 >     230,   230,   228,   278,   227,   230,   230,   312,   230,   230,
2380 >     230,   230,   230,   308,   230,   228,   298,   227,   230,   230,
2381 >     230,   228,   370,   210,   210,   210,   123,   210,   210,   210,
2382 >     237,   227,   123,   210,   123,   108,   108,   123,   123,   123,
2383 >     123,   123,   123,   108,   123,   199,   200,   250,   251,   199,
2384 >     200,   252,   253,   123,   123,   227,   227,   230,   394,   228,
2385 >     391,   210,   227,   229,   123,   227,   227,   230,   385,   230,
2386 >     228,   381,   227,   227,   227,   227,   227,   227,   227,   135,
2387 >     136,   137,   138,   139,   140,   141,   236,   237,   227,   227,
2388 >     227,   227,   227,   227,   227,   227,   108,   108,   237,   230,
2389 >     108,   108,   237,   108,   108,   237,   123,   108,   108,   237,
2390 >     108,   239,   239,   227,   123,   174,   175,   123,   210,   123,
2391 >     123,   230,   123,   123,   108,   123,   123,   123,   123,   227,
2392 >     123,   123,   227,   227,   123,   123,   227,   227,   227,   227,
2393 >     227,   227,   227,   227,   227,   227,   227,   227,   227,   227,
2394 >     227,   227,   227,   227,   227,   227,   227,   227,   227,   227,
2395 >     227,   227,   227,   227,    49,   161,   162,   163,   165,   166,
2396 >     168,   169,   171,   173,   176,   179,   180,   181,   183,   188,
2397 >     192,   193,   194,   202,   207,   493,   494,   227,    49,   161,
2398 >     162,   163,   165,   166,   168,   169,   171,   173,   176,   179,
2399 >     180,   181,   183,   188,   192,   193,   194,   202,   207,   489,
2400 >     490,   227,   227,   227,   227,   227,   227,   227,   227,   227,
2401 >     227,   227,   227,   227,   227,   227,   227,   227,   227,   227,
2402 >     227,   227,   123,   210,   230,   123,   108,   123,   123,   123,
2403 >     227,   123,   123,   227,   123,   123,   230,   108,   348,   349,
2404 >     227,   227,   227,   123,   123,   227,   123,   210,   230,   123,
2405 >     123,   123,   123,   210,   230,   123,   227,   123,   123,   123,
2406 >     227,   227,   227,   227,   227,   227,   227,   227,   227,   227,
2407 >     227,   227,   227,   227,   227,   227,   227,   227,   227,   227,
2408 >     227,   227,   227,   231,   227,   231,   227,   227,   123,   230,
2409 >     227,   227,     1,    98,   191,   218,   287,   288,   289,   290,
2410 >     291,   227,   123,   230,   123,   227,   236,   236,   236,   236,
2411 >     236,   236,   236,   227,   227,   227,    51,   124,   336,   337,
2412 >     227,   227,   227,   227,   227,   227,   227,   227,   227,   227,
2413 >       9,    10,    11,   238,   239,   227,   227,   227,   227,   227,
2414 >     227,   227,   227,   227,     8,   195,   411,   412,   227,   227,
2415 >     227,   227,   227,   227,   227,   227,   227,   227,   227,   227,
2416 >     231,   227,   231,   227,   227,    13,    34,    43,    70,    99,
2417 >     100,   107,   132,   148,   209,   362,   363,   227,   227,   227,
2418 >     227,   227,   227,   227,   227,   227,    49,   185,   195,   342,
2419 >     343,   217,   231,   347,   227,   227,   227,   227,     4,    18,
2420 >      26,    40,    67,    69,    95,   128,   130,   149,   167,   172,
2421 >     176,   181,   184,   189,   203,   208,   219,   226,   313,   314,
2422 >     227,   227,   227,   227,   227,    49,   161,   162,   163,   165,
2423 >     166,   168,   169,   171,   173,   176,   179,   180,   181,   183,
2424 >     188,   192,   193,   194,   202,   207,   309,   310,   227,   227,
2425 >     227,   227,   251,   253,   227,    69,   131,   160,   167,   176,
2426 >     203,   205,   206,   219,   226,   395,   396,   227,   230,   230,
2427 >     292,   228,   288,   227,    69,   131,   160,   167,   176,   203,
2428 >     205,   206,   219,   226,   386,   387,   227,   227,   231,   238,
2429 >     238,   238,   227,   231,   494,   490,   227,   231,   227,   231,
2430 >     108,   349,   227,   232,   232,   232,   227,   231,   227,   231,
2431 >     227,   231,   123,   204,   239,   230,   227,   227,   231,   337,
2432 >     412,   363,   343,   129,   129,   129,   314,   310,   396,   227,
2433 >     227,   227,    40,    67,    69,   114,   166,   167,   222,   293,
2434 >     294,   387,   227,   231,   294
2435   };
2436  
2437   #define yyerrok         (yyerrstatus = 0)
# Line 2636 | Line 2446 | static const yytype_uint16 yystos[] =
2446  
2447   /* Like YYERROR except do call yyerror.  This remains here temporarily
2448     to ease the transition to the new meaning of YYERROR, for GCC.
2449 <   Once GCC version 2 has supplanted version 1, this can go.  */
2449 >   Once GCC version 2 has supplanted version 1, this can go.  However,
2450 >   YYFAIL appears to be in use.  Nevertheless, it is formally deprecated
2451 >   in Bison 2.4.2's NEWS entry, where a plan to phase it out is
2452 >   discussed.  */
2453  
2454   #define YYFAIL          goto yyerrlab
2455 + #if defined YYFAIL
2456 +  /* This is here to suppress warnings from the GCC cpp's
2457 +     -Wunused-macros.  Normally we don't worry about that warning, but
2458 +     some users do, and we want to make it easy for users to remove
2459 +     YYFAIL uses, which will produce warnings from Bison 2.5.  */
2460 + #endif
2461  
2462   #define YYRECOVERING()  (!!yyerrstatus)
2463  
2464 < #define YYBACKUP(Token, Value)                                  \
2465 < do                                                              \
2466 <  if (yychar == YYEMPTY && yylen == 1)                          \
2467 <    {                                                           \
2468 <      yychar = (Token);                                         \
2469 <      yylval = (Value);                                         \
2470 <      yytoken = YYTRANSLATE (yychar);                           \
2471 <      YYPOPSTACK (1);                                           \
2472 <      goto yybackup;                                            \
2473 <    }                                                           \
2474 <  else                                                          \
2475 <    {                                                           \
2464 > #define YYBACKUP(Token, Value)                                  \
2465 > do                                                              \
2466 >  if (yychar == YYEMPTY)                                        \
2467 >    {                                                           \
2468 >      yychar = (Token);                                         \
2469 >      yylval = (Value);                                         \
2470 >      YYPOPSTACK (yylen);                                       \
2471 >      yystate = *yyssp;                                         \
2472 >      goto yybackup;                                            \
2473 >    }                                                           \
2474 >  else                                                          \
2475 >    {                                                           \
2476        yyerror (YY_("syntax error: cannot back up")); \
2477        YYERROR;                                                  \
2478      }                                                           \
2479   while (YYID (0))
2480  
2481 <
2481 > /* Error token number */
2482   #define YYTERROR        1
2483   #define YYERRCODE       256
2484  
2485  
2486 < /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
2668 <   If N is 0, then set CURRENT to the empty location which ends
2669 <   the previous symbol: RHS[0] (always defined).  */
2670 <
2671 < #define YYRHSLOC(Rhs, K) ((Rhs)[K])
2672 < #ifndef YYLLOC_DEFAULT
2673 < # define YYLLOC_DEFAULT(Current, Rhs, N)                                \
2674 <    do                                                                  \
2675 <      if (YYID (N))                                                    \
2676 <        {                                                               \
2677 <          (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \
2678 <          (Current).first_column = YYRHSLOC (Rhs, 1).first_column;      \
2679 <          (Current).last_line    = YYRHSLOC (Rhs, N).last_line;         \
2680 <          (Current).last_column  = YYRHSLOC (Rhs, N).last_column;       \
2681 <        }                                                               \
2682 <      else                                                              \
2683 <        {                                                               \
2684 <          (Current).first_line   = (Current).last_line   =              \
2685 <            YYRHSLOC (Rhs, 0).last_line;                                \
2686 <          (Current).first_column = (Current).last_column =              \
2687 <            YYRHSLOC (Rhs, 0).last_column;                              \
2688 <        }                                                               \
2689 <    while (YYID (0))
2690 < #endif
2691 <
2692 <
2693 < /* YY_LOCATION_PRINT -- Print the location on the stream.
2694 <   This macro was not mandated originally: define only if we know
2695 <   we won't break user code: when these are the locations we know.  */
2696 <
2486 > /* This macro is provided for backward compatibility. */
2487   #ifndef YY_LOCATION_PRINT
2488 < # if YYLTYPE_IS_TRIVIAL
2699 < #  define YY_LOCATION_PRINT(File, Loc)                  \
2700 <     fprintf (File, "%d.%d-%d.%d",                      \
2701 <              (Loc).first_line, (Loc).first_column,     \
2702 <              (Loc).last_line,  (Loc).last_column)
2703 < # else
2704 < #  define YY_LOCATION_PRINT(File, Loc) ((void) 0)
2705 < # endif
2488 > # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
2489   #endif
2490  
2491  
2492   /* YYLEX -- calling `yylex' with the right arguments.  */
2710
2493   #ifdef YYLEX_PARAM
2494   # define YYLEX yylex (YYLEX_PARAM)
2495   #else
# Line 2757 | Line 2539 | yy_symbol_value_print (yyoutput, yytype,
2539      YYSTYPE const * const yyvaluep;
2540   #endif
2541   {
2542 +  FILE *yyo = yyoutput;
2543 +  YYUSE (yyo);
2544    if (!yyvaluep)
2545      return;
2546   # ifdef YYPRINT
# Line 2765 | Line 2549 | yy_symbol_value_print (yyoutput, yytype,
2549   # else
2550    YYUSE (yyoutput);
2551   # endif
2552 <  switch (yytype)
2769 <    {
2770 <      default:
2771 <        break;
2772 <    }
2552 >  YYUSE (yytype);
2553   }
2554  
2555  
# Line 2806 | Line 2586 | yy_symbol_print (yyoutput, yytype, yyval
2586   #if (defined __STDC__ || defined __C99__FUNC__ \
2587       || defined __cplusplus || defined _MSC_VER)
2588   static void
2589 < yy_stack_print (yytype_int16 *bottom, yytype_int16 *top)
2589 > yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
2590   #else
2591   static void
2592 < yy_stack_print (bottom, top)
2593 <    yytype_int16 *bottom;
2594 <    yytype_int16 *top;
2592 > yy_stack_print (yybottom, yytop)
2593 >    yytype_int16 *yybottom;
2594 >    yytype_int16 *yytop;
2595   #endif
2596   {
2597    YYFPRINTF (stderr, "Stack now");
2598 <  for (; bottom <= top; ++bottom)
2599 <    YYFPRINTF (stderr, " %d", *bottom);
2598 >  for (; yybottom <= yytop; yybottom++)
2599 >    {
2600 >      int yybot = *yybottom;
2601 >      YYFPRINTF (stderr, " %d", yybot);
2602 >    }
2603    YYFPRINTF (stderr, "\n");
2604   }
2605  
# Line 2850 | Line 2633 | yy_reduce_print (yyvsp, yyrule)
2633    /* The symbols being reduced.  */
2634    for (yyi = 0; yyi < yynrhs; yyi++)
2635      {
2636 <      fprintf (stderr, "   $%d = ", yyi + 1);
2636 >      YYFPRINTF (stderr, "   $%d = ", yyi + 1);
2637        yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
2638                         &(yyvsp[(yyi + 1) - (yynrhs)])
2639                                         );
2640 <      fprintf (stderr, "\n");
2640 >      YYFPRINTF (stderr, "\n");
2641      }
2642   }
2643  
# Line 2891 | Line 2674 | int yydebug;
2674   # define YYMAXDEPTH 10000
2675   #endif
2676  
2894
2677  
2678   #if YYERROR_VERBOSE
2679  
# Line 2994 | Line 2776 | yytnamerr (char *yyres, const char *yyst
2776   }
2777   # endif
2778  
2779 < /* Copy into YYRESULT an error message about the unexpected token
2780 <   YYCHAR while in state YYSTATE.  Return the number of bytes copied,
2781 <   including the terminating null byte.  If YYRESULT is null, do not
2782 <   copy anything; just return the number of bytes that would be
2783 <   copied.  As a special case, return 0 if an ordinary "syntax error"
2784 <   message will do.  Return YYSIZE_MAXIMUM if overflow occurs during
2785 <   size calculation.  */
2786 < static YYSIZE_T
2787 < yysyntax_error (char *yyresult, int yystate, int yychar)
2779 > /* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message
2780 >   about the unexpected token YYTOKEN for the state stack whose top is
2781 >   YYSSP.
2782 >
2783 >   Return 0 if *YYMSG was successfully written.  Return 1 if *YYMSG is
2784 >   not large enough to hold the message.  In that case, also set
2785 >   *YYMSG_ALLOC to the required number of bytes.  Return 2 if the
2786 >   required number of bytes is too large to store.  */
2787 > static int
2788 > yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
2789 >                yytype_int16 *yyssp, int yytoken)
2790   {
2791 <  int yyn = yypact[yystate];
2791 >  YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]);
2792 >  YYSIZE_T yysize = yysize0;
2793 >  enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
2794 >  /* Internationalized format string. */
2795 >  const char *yyformat = YY_NULL;
2796 >  /* Arguments of yyformat. */
2797 >  char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
2798 >  /* Number of reported tokens (one for the "unexpected", one per
2799 >     "expected"). */
2800 >  int yycount = 0;
2801 >
2802 >  /* There are many possibilities here to consider:
2803 >     - Assume YYFAIL is not used.  It's too flawed to consider.  See
2804 >       <http://lists.gnu.org/archive/html/bison-patches/2009-12/msg00024.html>
2805 >       for details.  YYERROR is fine as it does not invoke this
2806 >       function.
2807 >     - If this state is a consistent state with a default action, then
2808 >       the only way this function was invoked is if the default action
2809 >       is an error action.  In that case, don't check for expected
2810 >       tokens because there are none.
2811 >     - The only way there can be no lookahead present (in yychar) is if
2812 >       this state is a consistent state with a default action.  Thus,
2813 >       detecting the absence of a lookahead is sufficient to determine
2814 >       that there is no unexpected or expected token to report.  In that
2815 >       case, just report a simple "syntax error".
2816 >     - Don't assume there isn't a lookahead just because this state is a
2817 >       consistent state with a default action.  There might have been a
2818 >       previous inconsistent state, consistent state with a non-default
2819 >       action, or user semantic action that manipulated yychar.
2820 >     - Of course, the expected token list depends on states to have
2821 >       correct lookahead information, and it depends on the parser not
2822 >       to perform extra reductions after fetching a lookahead from the
2823 >       scanner and before detecting a syntax error.  Thus, state merging
2824 >       (from LALR or IELR) and default reductions corrupt the expected
2825 >       token list.  However, the list is correct for canonical LR with
2826 >       one exception: it will still contain any token that will not be
2827 >       accepted due to an error action in a later state.
2828 >  */
2829 >  if (yytoken != YYEMPTY)
2830 >    {
2831 >      int yyn = yypact[*yyssp];
2832 >      yyarg[yycount++] = yytname[yytoken];
2833 >      if (!yypact_value_is_default (yyn))
2834 >        {
2835 >          /* Start YYX at -YYN if negative to avoid negative indexes in
2836 >             YYCHECK.  In other words, skip the first -YYN actions for
2837 >             this state because they are default actions.  */
2838 >          int yyxbegin = yyn < 0 ? -yyn : 0;
2839 >          /* Stay within bounds of both yycheck and yytname.  */
2840 >          int yychecklim = YYLAST - yyn + 1;
2841 >          int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
2842 >          int yyx;
2843 >
2844 >          for (yyx = yyxbegin; yyx < yyxend; ++yyx)
2845 >            if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
2846 >                && !yytable_value_is_error (yytable[yyx + yyn]))
2847 >              {
2848 >                if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
2849 >                  {
2850 >                    yycount = 1;
2851 >                    yysize = yysize0;
2852 >                    break;
2853 >                  }
2854 >                yyarg[yycount++] = yytname[yyx];
2855 >                {
2856 >                  YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]);
2857 >                  if (! (yysize <= yysize1
2858 >                         && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
2859 >                    return 2;
2860 >                  yysize = yysize1;
2861 >                }
2862 >              }
2863 >        }
2864 >    }
2865  
2866 <  if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
3010 <    return 0;
3011 <  else
2866 >  switch (yycount)
2867      {
2868 <      int yytype = YYTRANSLATE (yychar);
2869 <      YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
2870 <      YYSIZE_T yysize = yysize0;
2871 <      YYSIZE_T yysize1;
2872 <      int yysize_overflow = 0;
2873 <      enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
2874 <      char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
2875 <      int yyx;
2876 <
2877 < # if 0
2878 <      /* This is so xgettext sees the translatable formats that are
2879 <         constructed on the fly.  */
3025 <      YY_("syntax error, unexpected %s");
3026 <      YY_("syntax error, unexpected %s, expecting %s");
3027 <      YY_("syntax error, unexpected %s, expecting %s or %s");
3028 <      YY_("syntax error, unexpected %s, expecting %s or %s or %s");
3029 <      YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
3030 < # endif
3031 <      char *yyfmt;
3032 <      char const *yyf;
3033 <      static char const yyunexpected[] = "syntax error, unexpected %s";
3034 <      static char const yyexpecting[] = ", expecting %s";
3035 <      static char const yyor[] = " or %s";
3036 <      char yyformat[sizeof yyunexpected
3037 <                    + sizeof yyexpecting - 1
3038 <                    + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
3039 <                       * (sizeof yyor - 1))];
3040 <      char const *yyprefix = yyexpecting;
3041 <
3042 <      /* Start YYX at -YYN if negative to avoid negative indexes in
3043 <         YYCHECK.  */
3044 <      int yyxbegin = yyn < 0 ? -yyn : 0;
3045 <
3046 <      /* Stay within bounds of both yycheck and yytname.  */
3047 <      int yychecklim = YYLAST - yyn + 1;
3048 <      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
3049 <      int yycount = 1;
3050 <
3051 <      yyarg[0] = yytname[yytype];
3052 <      yyfmt = yystpcpy (yyformat, yyunexpected);
3053 <
3054 <      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
3055 <        if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
3056 <          {
3057 <            if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
3058 <              {
3059 <                yycount = 1;
3060 <                yysize = yysize0;
3061 <                yyformat[sizeof yyunexpected - 1] = '\0';
3062 <                break;
3063 <              }
3064 <            yyarg[yycount++] = yytname[yyx];
3065 <            yysize1 = yysize + yytnamerr (0, yytname[yyx]);
3066 <            yysize_overflow |= (yysize1 < yysize);
3067 <            yysize = yysize1;
3068 <            yyfmt = yystpcpy (yyfmt, yyprefix);
3069 <            yyprefix = yyor;
3070 <          }
3071 <
3072 <      yyf = YY_(yyformat);
3073 <      yysize1 = yysize + yystrlen (yyf);
3074 <      yysize_overflow |= (yysize1 < yysize);
3075 <      yysize = yysize1;
2868 > # define YYCASE_(N, S)                      \
2869 >      case N:                               \
2870 >        yyformat = S;                       \
2871 >      break
2872 >      YYCASE_(0, YY_("syntax error"));
2873 >      YYCASE_(1, YY_("syntax error, unexpected %s"));
2874 >      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
2875 >      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
2876 >      YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
2877 >      YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
2878 > # undef YYCASE_
2879 >    }
2880  
2881 <      if (yysize_overflow)
2882 <        return YYSIZE_MAXIMUM;
2881 >  {
2882 >    YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
2883 >    if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
2884 >      return 2;
2885 >    yysize = yysize1;
2886 >  }
2887  
2888 <      if (yyresult)
2889 <        {
2890 <          /* Avoid sprintf, as that infringes on the user's name space.
2891 <             Don't have undefined behavior even if the translation
2892 <             produced a string with the wrong number of "%s"s.  */
2893 <          char *yyp = yyresult;
2894 <          int yyi = 0;
3087 <          while ((*yyp = *yyf) != '\0')
3088 <            {
3089 <              if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
3090 <                {
3091 <                  yyp += yytnamerr (yyp, yyarg[yyi++]);
3092 <                  yyf += 2;
3093 <                }
3094 <              else
3095 <                {
3096 <                  yyp++;
3097 <                  yyf++;
3098 <                }
3099 <            }
3100 <        }
3101 <      return yysize;
2888 >  if (*yymsg_alloc < yysize)
2889 >    {
2890 >      *yymsg_alloc = 2 * yysize;
2891 >      if (! (yysize <= *yymsg_alloc
2892 >             && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
2893 >        *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
2894 >      return 1;
2895      }
2896 +
2897 +  /* Avoid sprintf, as that infringes on the user's name space.
2898 +     Don't have undefined behavior even if the translation
2899 +     produced a string with the wrong number of "%s"s.  */
2900 +  {
2901 +    char *yyp = *yymsg;
2902 +    int yyi = 0;
2903 +    while ((*yyp = *yyformat) != '\0')
2904 +      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
2905 +        {
2906 +          yyp += yytnamerr (yyp, yyarg[yyi++]);
2907 +          yyformat += 2;
2908 +        }
2909 +      else
2910 +        {
2911 +          yyp++;
2912 +          yyformat++;
2913 +        }
2914 +  }
2915 +  return 0;
2916   }
2917   #endif /* YYERROR_VERBOSE */
3105
2918  
2919   /*-----------------------------------------------.
2920   | Release the memory associated to this symbol.  |
# Line 3127 | Line 2939 | yydestruct (yymsg, yytype, yyvaluep)
2939      yymsg = "Deleting";
2940    YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
2941  
2942 <  switch (yytype)
3131 <    {
3132 <
3133 <      default:
3134 <        break;
3135 <    }
2942 >  YYUSE (yytype);
2943   }
3137
2944  
3139 /* Prevent warnings from -Wmissing-prototypes.  */
3140
3141 #ifdef YYPARSE_PARAM
3142 #if defined __STDC__ || defined __cplusplus
3143 int yyparse (void *YYPARSE_PARAM);
3144 #else
3145 int yyparse ();
3146 #endif
3147 #else /* ! YYPARSE_PARAM */
3148 #if defined __STDC__ || defined __cplusplus
3149 int yyparse (void);
3150 #else
3151 int yyparse ();
3152 #endif
3153 #endif /* ! YYPARSE_PARAM */
2945  
2946  
2947  
2948 < /* The look-ahead symbol.  */
2948 > /* The lookahead symbol.  */
2949   int yychar;
2950  
2951 < /* The semantic value of the look-ahead symbol.  */
2952 < YYSTYPE yylval;
2951 >
2952 > #ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
2953 > # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
2954 > # define YY_IGNORE_MAYBE_UNINITIALIZED_END
2955 > #endif
2956 > #ifndef YY_INITIAL_VALUE
2957 > # define YY_INITIAL_VALUE(Value) /* Nothing. */
2958 > #endif
2959 >
2960 > /* The semantic value of the lookahead symbol.  */
2961 > YYSTYPE yylval YY_INITIAL_VALUE(yyval_default);
2962  
2963   /* Number of syntax errors so far.  */
2964   int yynerrs;
2965  
2966  
3167
2967   /*----------.
2968   | yyparse.  |
2969   `----------*/
# Line 3191 | Line 2990 | yyparse ()
2990   #endif
2991   #endif
2992   {
2993 <  
2994 <  int yystate;
2993 >    int yystate;
2994 >    /* Number of tokens to shift before error messages enabled.  */
2995 >    int yyerrstatus;
2996 >
2997 >    /* The stacks and their tools:
2998 >       `yyss': related to states.
2999 >       `yyvs': related to semantic values.
3000 >
3001 >       Refer to the stacks through separate pointers, to allow yyoverflow
3002 >       to reallocate them elsewhere.  */
3003 >
3004 >    /* The state stack.  */
3005 >    yytype_int16 yyssa[YYINITDEPTH];
3006 >    yytype_int16 *yyss;
3007 >    yytype_int16 *yyssp;
3008 >
3009 >    /* The semantic value stack.  */
3010 >    YYSTYPE yyvsa[YYINITDEPTH];
3011 >    YYSTYPE *yyvs;
3012 >    YYSTYPE *yyvsp;
3013 >
3014 >    YYSIZE_T yystacksize;
3015 >
3016    int yyn;
3017    int yyresult;
3018 <  /* Number of tokens to shift before error messages enabled.  */
3199 <  int yyerrstatus;
3200 <  /* Look-ahead token as an internal (translated) token number.  */
3018 >  /* Lookahead token as an internal (translated) token number.  */
3019    int yytoken = 0;
3020 +  /* The variables used to return semantic value and location from the
3021 +     action routines.  */
3022 +  YYSTYPE yyval;
3023 +
3024   #if YYERROR_VERBOSE
3025    /* Buffer for error messages, and its allocated size.  */
3026    char yymsgbuf[128];
# Line 3206 | Line 3028 | yyparse ()
3028    YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
3029   #endif
3030  
3209  /* Three stacks and their tools:
3210     `yyss': related to states,
3211     `yyvs': related to semantic values,
3212     `yyls': related to locations.
3213
3214     Refer to the stacks thru separate pointers, to allow yyoverflow
3215     to reallocate them elsewhere.  */
3216
3217  /* The state stack.  */
3218  yytype_int16 yyssa[YYINITDEPTH];
3219  yytype_int16 *yyss = yyssa;
3220  yytype_int16 *yyssp;
3221
3222  /* The semantic value stack.  */
3223  YYSTYPE yyvsa[YYINITDEPTH];
3224  YYSTYPE *yyvs = yyvsa;
3225  YYSTYPE *yyvsp;
3226
3227
3228
3031   #define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
3032  
3231  YYSIZE_T yystacksize = YYINITDEPTH;
3232
3233  /* The variables used to return semantic value and location from the
3234     action routines.  */
3235  YYSTYPE yyval;
3236
3237
3033    /* The number of symbols on the RHS of the reduced rule.
3034       Keep to zero when no symbol should be popped.  */
3035    int yylen = 0;
3036  
3037 +  yyssp = yyss = yyssa;
3038 +  yyvsp = yyvs = yyvsa;
3039 +  yystacksize = YYINITDEPTH;
3040 +
3041    YYDPRINTF ((stderr, "Starting parse\n"));
3042  
3043    yystate = 0;
3044    yyerrstatus = 0;
3045    yynerrs = 0;
3046 <  yychar = YYEMPTY;             /* Cause a token to be read.  */
3248 <
3249 <  /* Initialize stack pointers.
3250 <     Waste one element of value and location stack
3251 <     so that they stay on the same level as the state stack.
3252 <     The wasted elements are never initialized.  */
3253 <
3254 <  yyssp = yyss;
3255 <  yyvsp = yyvs;
3256 <
3046 >  yychar = YYEMPTY; /* Cause a token to be read.  */
3047    goto yysetstate;
3048  
3049   /*------------------------------------------------------------.
# Line 3280 | Line 3070 | yyparse ()
3070          YYSTYPE *yyvs1 = yyvs;
3071          yytype_int16 *yyss1 = yyss;
3072  
3283
3073          /* Each stack pointer address is followed by the size of the
3074             data in use in that stack, in bytes.  This used to be a
3075             conditional around just the two extra args, but that might
# Line 3288 | Line 3077 | yyparse ()
3077          yyoverflow (YY_("memory exhausted"),
3078                      &yyss1, yysize * sizeof (*yyssp),
3079                      &yyvs1, yysize * sizeof (*yyvsp),
3291
3080                      &yystacksize);
3081  
3082          yyss = yyss1;
# Line 3311 | Line 3099 | yyparse ()
3099            (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
3100          if (! yyptr)
3101            goto yyexhaustedlab;
3102 <        YYSTACK_RELOCATE (yyss);
3103 <        YYSTACK_RELOCATE (yyvs);
3316 <
3102 >        YYSTACK_RELOCATE (yyss_alloc, yyss);
3103 >        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
3104   #  undef YYSTACK_RELOCATE
3105          if (yyss1 != yyssa)
3106            YYSTACK_FREE (yyss1);
# Line 3324 | Line 3111 | yyparse ()
3111        yyssp = yyss + yysize - 1;
3112        yyvsp = yyvs + yysize - 1;
3113  
3327
3114        YYDPRINTF ((stderr, "Stack size increased to %lu\n",
3115                    (unsigned long int) yystacksize));
3116  
# Line 3334 | Line 3120 | yyparse ()
3120  
3121    YYDPRINTF ((stderr, "Entering state %d\n", yystate));
3122  
3123 +  if (yystate == YYFINAL)
3124 +    YYACCEPT;
3125 +
3126    goto yybackup;
3127  
3128   /*-----------.
# Line 3342 | Line 3131 | yyparse ()
3131   yybackup:
3132  
3133    /* Do appropriate processing given the current state.  Read a
3134 <     look-ahead token if we need one and don't already have one.  */
3134 >     lookahead token if we need one and don't already have one.  */
3135  
3136 <  /* First try to decide what to do without reference to look-ahead token.  */
3136 >  /* First try to decide what to do without reference to lookahead token.  */
3137    yyn = yypact[yystate];
3138 <  if (yyn == YYPACT_NINF)
3138 >  if (yypact_value_is_default (yyn))
3139      goto yydefault;
3140  
3141 <  /* Not known => get a look-ahead token if don't already have one.  */
3141 >  /* Not known => get a lookahead token if don't already have one.  */
3142  
3143 <  /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol.  */
3143 >  /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol.  */
3144    if (yychar == YYEMPTY)
3145      {
3146        YYDPRINTF ((stderr, "Reading a token: "));
# Line 3377 | Line 3166 | yybackup:
3166    yyn = yytable[yyn];
3167    if (yyn <= 0)
3168      {
3169 <      if (yyn == 0 || yyn == YYTABLE_NINF)
3170 <        goto yyerrlab;
3169 >      if (yytable_value_is_error (yyn))
3170 >        goto yyerrlab;
3171        yyn = -yyn;
3172        goto yyreduce;
3173      }
3174  
3386  if (yyn == YYFINAL)
3387    YYACCEPT;
3388
3175    /* Count tokens shifted since error; after three, turn off error
3176       status.  */
3177    if (yyerrstatus)
3178      yyerrstatus--;
3179  
3180 <  /* Shift the look-ahead token.  */
3180 >  /* Shift the lookahead token.  */
3181    YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
3182  
3183 <  /* Discard the shifted token unless it is eof.  */
3184 <  if (yychar != YYEOF)
3399 <    yychar = YYEMPTY;
3183 >  /* Discard the shifted token.  */
3184 >  yychar = YYEMPTY;
3185  
3186    yystate = yyn;
3187 +  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
3188    *++yyvsp = yylval;
3189 +  YY_IGNORE_MAYBE_UNINITIALIZED_END
3190  
3191    goto yynewstate;
3192  
# Line 3435 | Line 3222 | yyreduce:
3222    YY_REDUCE_PRINT (yyn);
3223    switch (yyn)
3224      {
3225 <        case 26:
3226 < #line 426 "ircd_parser.y"
3225 >        case 27:
3226 > /* Line 1787 of yacc.c  */
3227 > #line 400 "conf_parser.y"
3228      { (yyval.number) = 0; }
3229      break;
3230  
3231 <  case 28:
3232 < #line 428 "ircd_parser.y"
3231 >  case 29:
3232 > /* Line 1787 of yacc.c  */
3233 > #line 402 "conf_parser.y"
3234      {
3235                          (yyval.number) = (yyvsp[(1) - (2)].number) + (yyvsp[(2) - (2)].number);
3236                  }
3237      break;
3238  
3239 <  case 29:
3240 < #line 432 "ircd_parser.y"
3239 >  case 30:
3240 > /* Line 1787 of yacc.c  */
3241 > #line 406 "conf_parser.y"
3242      {
3243                          (yyval.number) = (yyvsp[(1) - (3)].number) + (yyvsp[(3) - (3)].number);
3244                  }
3245      break;
3246  
3247 <  case 30:
3248 < #line 436 "ircd_parser.y"
3247 >  case 31:
3248 > /* Line 1787 of yacc.c  */
3249 > #line 410 "conf_parser.y"
3250      {
3251                          (yyval.number) = (yyvsp[(1) - (3)].number) * 60 + (yyvsp[(3) - (3)].number);
3252                  }
3253      break;
3254  
3255 <  case 31:
3256 < #line 440 "ircd_parser.y"
3255 >  case 32:
3256 > /* Line 1787 of yacc.c  */
3257 > #line 414 "conf_parser.y"
3258      {
3259                          (yyval.number) = (yyvsp[(1) - (3)].number) * 60 * 60 + (yyvsp[(3) - (3)].number);
3260                  }
3261      break;
3262  
3263 <  case 32:
3264 < #line 444 "ircd_parser.y"
3263 >  case 33:
3264 > /* Line 1787 of yacc.c  */
3265 > #line 418 "conf_parser.y"
3266      {
3267                          (yyval.number) = (yyvsp[(1) - (3)].number) * 60 * 60 * 24 + (yyvsp[(3) - (3)].number);
3268                  }
3269      break;
3270  
3271 <  case 33:
3272 < #line 448 "ircd_parser.y"
3271 >  case 34:
3272 > /* Line 1787 of yacc.c  */
3273 > #line 422 "conf_parser.y"
3274      {
3275                          (yyval.number) = (yyvsp[(1) - (3)].number) * 60 * 60 * 24 * 7 + (yyvsp[(3) - (3)].number);
3276                  }
3277      break;
3278  
3279 <  case 34:
3280 < #line 453 "ircd_parser.y"
3281 <    { (yyval.number) = 0; }
3279 >  case 35:
3280 > /* Line 1787 of yacc.c  */
3281 > #line 426 "conf_parser.y"
3282 >    {
3283 >                        (yyval.number) = (yyvsp[(1) - (3)].number) * 60 * 60 * 24 * 7 * 4 + (yyvsp[(3) - (3)].number);
3284 >                }
3285      break;
3286  
3287    case 36:
3288 < #line 454 "ircd_parser.y"
3289 <    { (yyval.number) = (yyvsp[(1) - (2)].number) + (yyvsp[(2) - (2)].number); }
3288 > /* Line 1787 of yacc.c  */
3289 > #line 430 "conf_parser.y"
3290 >    {
3291 >                        (yyval.number) = (yyvsp[(1) - (3)].number) * 60 * 60 * 24 * 365 + (yyvsp[(3) - (3)].number);
3292 >                }
3293      break;
3294  
3295    case 37:
3296 < #line 455 "ircd_parser.y"
3296 > /* Line 1787 of yacc.c  */
3297 > #line 435 "conf_parser.y"
3298 >    { (yyval.number) = 0; }
3299 >    break;
3300 >
3301 >  case 39:
3302 > /* Line 1787 of yacc.c  */
3303 > #line 436 "conf_parser.y"
3304 >    { (yyval.number) = (yyvsp[(1) - (2)].number) + (yyvsp[(2) - (2)].number); }
3305 >    break;
3306 >
3307 >  case 40:
3308 > /* Line 1787 of yacc.c  */
3309 > #line 437 "conf_parser.y"
3310      { (yyval.number) = (yyvsp[(1) - (3)].number) + (yyvsp[(3) - (3)].number); }
3311      break;
3312  
3313 <  case 38:
3314 < #line 456 "ircd_parser.y"
3313 >  case 41:
3314 > /* Line 1787 of yacc.c  */
3315 > #line 438 "conf_parser.y"
3316      { (yyval.number) = (yyvsp[(1) - (3)].number) * 1024 + (yyvsp[(3) - (3)].number); }
3317      break;
3318  
3319 <  case 39:
3320 < #line 457 "ircd_parser.y"
3319 >  case 42:
3320 > /* Line 1787 of yacc.c  */
3321 > #line 439 "conf_parser.y"
3322      { (yyval.number) = (yyvsp[(1) - (3)].number) * 1024 * 1024 + (yyvsp[(3) - (3)].number); }
3323      break;
3324  
3325 <  case 46:
3326 < #line 471 "ircd_parser.y"
3325 >  case 49:
3326 > /* Line 1787 of yacc.c  */
3327 > #line 453 "conf_parser.y"
3328      {
3329 < #ifndef STATIC_MODULES /* NOOP in the static case */
3330 <  if (ypass == 2)
3331 <  {
3332 <    char *m_bn;
3329 >  if (conf_parser_ctx.pass == 2)
3330 >    add_conf_module(libio_basename(yylval.string));
3331 > }
3332 >    break;
3333  
3334 <    m_bn = basename(yylval.string);
3334 >  case 50:
3335 > /* Line 1787 of yacc.c  */
3336 > #line 459 "conf_parser.y"
3337 >    {
3338 >  if (conf_parser_ctx.pass == 2)
3339 >    mod_add_path(yylval.string);
3340 > }
3341 >    break;
3342  
3343 <    /* I suppose we should just ignore it if it is already loaded(since
3344 <     * otherwise we would flood the opers on rehash) -A1kmm.
3345 <     */
3346 <    add_conf_module(yylval.string);
3347 <  }
3343 >  case 76:
3344 > /* Line 1787 of yacc.c  */
3345 > #line 485 "conf_parser.y"
3346 >    {
3347 > #ifdef HAVE_LIBCRYPTO
3348 >  if (conf_parser_ctx.pass == 2 && ServerInfo.client_ctx)
3349 >    SSL_CTX_clear_options(ServerInfo.client_ctx, SSL_OP_NO_SSLv3);
3350   #endif
3351   }
3352      break;
3353  
3354 <  case 47:
3355 < #line 488 "ircd_parser.y"
3354 >  case 77:
3355 > /* Line 1787 of yacc.c  */
3356 > #line 491 "conf_parser.y"
3357      {
3358 < #ifndef STATIC_MODULES
3359 <  if (ypass == 2)
3360 <    mod_add_path(yylval.string);
3358 > #ifdef HAVE_LIBCRYPTO
3359 >  if (conf_parser_ctx.pass == 2 && ServerInfo.client_ctx)
3360 >    SSL_CTX_clear_options(ServerInfo.client_ctx, SSL_OP_NO_TLSv1);
3361 > #endif
3362 > }
3363 >    break;
3364 >
3365 >  case 80:
3366 > /* Line 1787 of yacc.c  */
3367 > #line 500 "conf_parser.y"
3368 >    {
3369 > #ifdef HAVE_LIBCRYPTO
3370 >  if (conf_parser_ctx.pass == 2 && ServerInfo.server_ctx)
3371 >    SSL_CTX_clear_options(ServerInfo.server_ctx, SSL_OP_NO_SSLv3);
3372   #endif
3373   }
3374      break;
3375  
3376 <  case 63:
3377 < #line 512 "ircd_parser.y"
3376 >  case 81:
3377 > /* Line 1787 of yacc.c  */
3378 > #line 506 "conf_parser.y"
3379      {
3380   #ifdef HAVE_LIBCRYPTO
3381 <  if (ypass == 2 && ServerInfo.ctx)
3381 >  if (conf_parser_ctx.pass == 2 && ServerInfo.server_ctx)
3382 >    SSL_CTX_clear_options(ServerInfo.server_ctx, SSL_OP_NO_TLSv1);
3383 > #endif
3384 > }
3385 >    break;
3386 >
3387 >  case 82:
3388 > /* Line 1787 of yacc.c  */
3389 > #line 514 "conf_parser.y"
3390 >    {
3391 > #ifdef HAVE_LIBCRYPTO
3392 >  if (conf_parser_ctx.pass == 2 && ServerInfo.server_ctx)
3393    {
3394      if (!ServerInfo.rsa_private_key_file)
3395      {
3396 <      yyerror("No rsa_private_key_file specified, SSL disabled");
3396 >      conf_error_report("No rsa_private_key_file specified, SSL disabled");
3397        break;
3398      }
3399  
3400 <    if (SSL_CTX_use_certificate_file(ServerInfo.ctx,
3401 <      yylval.string, SSL_FILETYPE_PEM) <= 0)
3400 >    if (SSL_CTX_use_certificate_file(ServerInfo.server_ctx, yylval.string,
3401 >                                     SSL_FILETYPE_PEM) <= 0 ||
3402 >        SSL_CTX_use_certificate_file(ServerInfo.client_ctx, yylval.string,
3403 >                                     SSL_FILETYPE_PEM) <= 0)
3404      {
3405 <      yyerror(ERR_lib_error_string(ERR_get_error()));
3405 >      report_crypto_errors();
3406 >      conf_error_report("Could not open/read certificate file");
3407        break;
3408      }
3409  
3410 <    if (SSL_CTX_use_PrivateKey_file(ServerInfo.ctx,
3411 <      ServerInfo.rsa_private_key_file, SSL_FILETYPE_PEM) <= 0)
3410 >    if (SSL_CTX_use_PrivateKey_file(ServerInfo.server_ctx, ServerInfo.rsa_private_key_file,
3411 >                                    SSL_FILETYPE_PEM) <= 0 ||
3412 >        SSL_CTX_use_PrivateKey_file(ServerInfo.client_ctx, ServerInfo.rsa_private_key_file,
3413 >                                    SSL_FILETYPE_PEM) <= 0)
3414      {
3415 <      yyerror(ERR_lib_error_string(ERR_get_error()));
3415 >      report_crypto_errors();
3416 >      conf_error_report("Could not read RSA private key");
3417        break;
3418      }
3419  
3420 <    if (!SSL_CTX_check_private_key(ServerInfo.ctx))
3420 >    if (!SSL_CTX_check_private_key(ServerInfo.server_ctx) ||
3421 >        !SSL_CTX_check_private_key(ServerInfo.client_ctx))
3422      {
3423 <      yyerror("RSA private key does not match the SSL certificate public key!");
3423 >      report_crypto_errors();
3424 >      conf_error_report("Could not read RSA private key");
3425        break;
3426      }
3427    }
# Line 3572 | Line 3429 | yyreduce:
3429   }
3430      break;
3431  
3432 <  case 64:
3433 < #line 546 "ircd_parser.y"
3432 >  case 83:
3433 > /* Line 1787 of yacc.c  */
3434 > #line 556 "conf_parser.y"
3435      {
3436   #ifdef HAVE_LIBCRYPTO
3437 <  if (ypass == 1)
3437 >  BIO *file = NULL;
3438 >
3439 >  if (conf_parser_ctx.pass != 1)
3440 >    break;
3441 >
3442 >  if (ServerInfo.rsa_private_key)
3443    {
3444 <    BIO *file;
3444 >    RSA_free(ServerInfo.rsa_private_key);
3445 >    ServerInfo.rsa_private_key = NULL;
3446 >  }
3447  
3448 <    if (ServerInfo.rsa_private_key)
3449 <    {
3450 <      RSA_free(ServerInfo.rsa_private_key);
3451 <      ServerInfo.rsa_private_key = NULL;
3452 <    }
3448 >  if (ServerInfo.rsa_private_key_file)
3449 >  {
3450 >    MyFree(ServerInfo.rsa_private_key_file);
3451 >    ServerInfo.rsa_private_key_file = NULL;
3452 >  }
3453  
3454 <    if (ServerInfo.rsa_private_key_file)
3455 <    {
3456 <      MyFree(ServerInfo.rsa_private_key_file);
3457 <      ServerInfo.rsa_private_key_file = NULL;
3458 <    }
3454 >  ServerInfo.rsa_private_key_file = xstrdup(yylval.string);
3455 >
3456 >  if ((file = BIO_new_file(yylval.string, "r")) == NULL)
3457 >  {
3458 >    conf_error_report("File open failed, ignoring");
3459 >    break;
3460 >  }
3461  
3462 <    DupString(ServerInfo.rsa_private_key_file, yylval.string);
3462 >  ServerInfo.rsa_private_key = PEM_read_bio_RSAPrivateKey(file, NULL, 0, NULL);
3463  
3464 <    if ((file = BIO_new_file(yylval.string, "r")) == NULL)
3465 <    {
3466 <      yyerror("File open failed, ignoring");
3467 <      break;
3468 <    }
3464 >  BIO_set_close(file, BIO_CLOSE);
3465 >  BIO_free(file);
3466 >
3467 >  if (ServerInfo.rsa_private_key == NULL)
3468 >  {
3469 >    conf_error_report("Couldn't extract key, ignoring");
3470 >    break;
3471 >  }
3472 >
3473 >  if (!RSA_check_key(ServerInfo.rsa_private_key))
3474 >  {
3475 >    RSA_free(ServerInfo.rsa_private_key);
3476 >    ServerInfo.rsa_private_key = NULL;
3477 >
3478 >    conf_error_report("Invalid key, ignoring");
3479 >    break;
3480 >  }
3481  
3482 <    ServerInfo.rsa_private_key = (RSA *)PEM_read_bio_RSAPrivateKey(file, NULL,
3483 <      0, NULL);
3482 >  /* require 2048 bit (256 byte) key */
3483 >  if (RSA_size(ServerInfo.rsa_private_key) != 256)
3484 >  {
3485 >    RSA_free(ServerInfo.rsa_private_key);
3486 >    ServerInfo.rsa_private_key = NULL;
3487  
3488 <    BIO_set_close(file, BIO_CLOSE);
3489 <    BIO_free(file);
3488 >    conf_error_report("Not a 2048 bit key, ignoring");
3489 >  }
3490 > #endif
3491 > }
3492 >    break;
3493  
3494 <    if (ServerInfo.rsa_private_key == NULL)
3494 >  case 84:
3495 > /* Line 1787 of yacc.c  */
3496 > #line 615 "conf_parser.y"
3497      {
3498 <      yyerror("Couldn't extract key, ignoring");
3499 <      break;
3500 <    }
3498 > /* TBD - XXX: error reporting */
3499 > #ifdef HAVE_LIBCRYPTO
3500 >  if (conf_parser_ctx.pass == 2 && ServerInfo.server_ctx)
3501 >  {
3502 >    BIO *file = BIO_new_file(yylval.string, "r");
3503  
3504 <    if (!RSA_check_key(ServerInfo.rsa_private_key))
3504 >    if (file)
3505      {
3506 <      RSA_free(ServerInfo.rsa_private_key);
3618 <      ServerInfo.rsa_private_key = NULL;
3506 >      DH *dh = PEM_read_bio_DHparams(file, NULL, NULL, NULL);
3507  
3508 <      yyerror("Invalid key, ignoring");
3621 <      break;
3622 <    }
3508 >      BIO_free(file);
3509  
3510 <    /* require 2048 bit (256 byte) key */
3511 <    if (RSA_size(ServerInfo.rsa_private_key) != 256)
3512 <    {
3513 <      RSA_free(ServerInfo.rsa_private_key);
3514 <      ServerInfo.rsa_private_key = NULL;
3510 >      if (dh)
3511 >      {
3512 >        if (DH_size(dh) < 128)
3513 >          conf_error_report("Ignoring serverinfo::ssl_dh_param_file -- need at least a 1024 bit DH prime size");
3514 >        else
3515 >          SSL_CTX_set_tmp_dh(ServerInfo.server_ctx, dh);
3516  
3517 <      yyerror("Not a 2048 bit key, ignoring");
3517 >        DH_free(dh);
3518 >      }
3519      }
3520    }
3521   #endif
3522   }
3523      break;
3524  
3525 <  case 65:
3526 < #line 606 "ircd_parser.y"
3525 >  case 85:
3526 > /* Line 1787 of yacc.c  */
3527 > #line 643 "conf_parser.y"
3528 >    {
3529 > #ifdef HAVE_LIBCRYPTO
3530 >  if (conf_parser_ctx.pass == 2 && ServerInfo.server_ctx)
3531 >    SSL_CTX_set_cipher_list(ServerInfo.server_ctx, yylval.string);
3532 > #endif
3533 > }
3534 >    break;
3535 >
3536 >  case 86:
3537 > /* Line 1787 of yacc.c  */
3538 > #line 651 "conf_parser.y"
3539      {
3540    /* this isn't rehashable */
3541 <  if (ypass == 2)
3541 >  if (conf_parser_ctx.pass == 2 && !ServerInfo.name)
3542    {
3543 <    if (ServerInfo.name == NULL)
3543 >    if (valid_servname(yylval.string))
3544 >      ServerInfo.name = xstrdup(yylval.string);
3545 >    else
3546      {
3547 <      /* the ircd will exit() in main() if we dont set one */
3548 <      if (strlen(yylval.string) <= HOSTLEN)
3647 <        DupString(ServerInfo.name, yylval.string);
3547 >      conf_error_report("Ignoring serverinfo::name -- invalid name. Aborting.");
3548 >      exit(0);
3549      }
3550    }
3551   }
3552      break;
3553  
3554 <  case 66:
3555 < #line 620 "ircd_parser.y"
3554 >  case 87:
3555 > /* Line 1787 of yacc.c  */
3556 > #line 666 "conf_parser.y"
3557      {
3558    /* this isn't rehashable */
3559 <  if (ypass == 2 && !ServerInfo.sid)
3559 >  if (conf_parser_ctx.pass == 2 && !ServerInfo.sid)
3560    {
3561      if (valid_sid(yylval.string))
3562 <      DupString(ServerInfo.sid, yylval.string);
3562 >      ServerInfo.sid = xstrdup(yylval.string);
3563      else
3564      {
3565 <      ilog(L_ERROR, "Ignoring config file entry SID -- invalid SID. Aborting.");
3565 >      conf_error_report("Ignoring serverinfo::sid -- invalid SID. Aborting.");
3566        exit(0);
3567      }
3568    }
3569   }
3570      break;
3571  
3572 <  case 67:
3573 < #line 635 "ircd_parser.y"
3572 >  case 88:
3573 > /* Line 1787 of yacc.c  */
3574 > #line 681 "conf_parser.y"
3575      {
3576 <  if (ypass == 2)
3576 >  if (conf_parser_ctx.pass == 2)
3577    {
3578      MyFree(ServerInfo.description);
3579 <    DupString(ServerInfo.description,yylval.string);
3579 >    ServerInfo.description = xstrdup(yylval.string);
3580    }
3581   }
3582      break;
3583  
3584 <  case 68:
3585 < #line 644 "ircd_parser.y"
3584 >  case 89:
3585 > /* Line 1787 of yacc.c  */
3586 > #line 690 "conf_parser.y"
3587      {
3588 <  if (ypass == 2)
3588 >  if (conf_parser_ctx.pass == 2)
3589    {
3590      char *p;
3591  
# Line 3689 | Line 3593 | yyreduce:
3593        p = '\0';
3594  
3595      MyFree(ServerInfo.network_name);
3596 <    DupString(ServerInfo.network_name, yylval.string);
3596 >    ServerInfo.network_name = xstrdup(yylval.string);
3597    }
3598   }
3599      break;
3600  
3601 <  case 69:
3602 < #line 658 "ircd_parser.y"
3601 >  case 90:
3602 > /* Line 1787 of yacc.c  */
3603 > #line 704 "conf_parser.y"
3604      {
3605 <  if (ypass == 2)
3606 <  {
3607 <    MyFree(ServerInfo.network_desc);
3608 <    DupString(ServerInfo.network_desc, yylval.string);
3609 <  }
3605 >  if (conf_parser_ctx.pass != 2)
3606 >    break;
3607 >
3608 >  MyFree(ServerInfo.network_desc);
3609 >  ServerInfo.network_desc = xstrdup(yylval.string);
3610   }
3611      break;
3612  
3613 <  case 70:
3614 < #line 667 "ircd_parser.y"
3613 >  case 91:
3614 > /* Line 1787 of yacc.c  */
3615 > #line 713 "conf_parser.y"
3616      {
3617 <  if (ypass == 2 && *yylval.string != '*')
3617 >  if (conf_parser_ctx.pass == 2 && *yylval.string != '*')
3618    {
3619      struct addrinfo hints, *res;
3620  
# Line 3718 | Line 3624 | yyreduce:
3624      hints.ai_socktype = SOCK_STREAM;
3625      hints.ai_flags    = AI_PASSIVE | AI_NUMERICHOST;
3626  
3627 <    if (irc_getaddrinfo(yylval.string, NULL, &hints, &res))
3628 <      ilog(L_ERROR, "Invalid netmask for server vhost(%s)", yylval.string);
3627 >    if (getaddrinfo(yylval.string, NULL, &hints, &res))
3628 >      ilog(LOG_TYPE_IRCD, "Invalid netmask for server vhost(%s)", yylval.string);
3629      else
3630      {
3631        assert(res != NULL);
# Line 3727 | Line 3633 | yyreduce:
3633        memcpy(&ServerInfo.ip, res->ai_addr, res->ai_addrlen);
3634        ServerInfo.ip.ss.ss_family = res->ai_family;
3635        ServerInfo.ip.ss_len = res->ai_addrlen;
3636 <      irc_freeaddrinfo(res);
3636 >      freeaddrinfo(res);
3637  
3638        ServerInfo.specific_ipv4_vhost = 1;
3639      }
# Line 3735 | Line 3641 | yyreduce:
3641   }
3642      break;
3643  
3644 <  case 71:
3645 < #line 695 "ircd_parser.y"
3644 >  case 92:
3645 > /* Line 1787 of yacc.c  */
3646 > #line 741 "conf_parser.y"
3647      {
3648   #ifdef IPV6
3649 <  if (ypass == 2 && *yylval.string != '*')
3649 >  if (conf_parser_ctx.pass == 2 && *yylval.string != '*')
3650    {
3651      struct addrinfo hints, *res;
3652  
# Line 3749 | Line 3656 | yyreduce:
3656      hints.ai_socktype = SOCK_STREAM;
3657      hints.ai_flags    = AI_PASSIVE | AI_NUMERICHOST;
3658  
3659 <    if (irc_getaddrinfo(yylval.string, NULL, &hints, &res))
3660 <      ilog(L_ERROR, "Invalid netmask for server vhost6(%s)", yylval.string);
3659 >    if (getaddrinfo(yylval.string, NULL, &hints, &res))
3660 >      ilog(LOG_TYPE_IRCD, "Invalid netmask for server vhost6(%s)", yylval.string);
3661      else
3662      {
3663        assert(res != NULL);
# Line 3758 | Line 3665 | yyreduce:
3665        memcpy(&ServerInfo.ip6, res->ai_addr, res->ai_addrlen);
3666        ServerInfo.ip6.ss.ss_family = res->ai_family;
3667        ServerInfo.ip6.ss_len = res->ai_addrlen;
3668 <      irc_freeaddrinfo(res);
3668 >      freeaddrinfo(res);
3669  
3670        ServerInfo.specific_ipv6_vhost = 1;
3671      }
# Line 3767 | Line 3674 | yyreduce:
3674   }
3675      break;
3676  
3677 <  case 72:
3678 < #line 725 "ircd_parser.y"
3677 >  case 93:
3678 > /* Line 1787 of yacc.c  */
3679 > #line 771 "conf_parser.y"
3680      {
3681 <  if (ypass == 2)
3681 >  if (conf_parser_ctx.pass != 2)
3682 >    break;
3683 >
3684 >  if ((yyvsp[(3) - (4)].number) < MAXCLIENTS_MIN)
3685    {
3686 <    recalc_fdlimit(NULL);
3686 >    char buf[IRCD_BUFSIZE];
3687  
3688 <    if ((yyvsp[(3) - (4)].number) < MAXCLIENTS_MIN)
3689 <    {
3690 <      char buf[IRCD_BUFSIZE];
3780 <      ircsprintf(buf, "MAXCLIENTS too low, setting to %d", MAXCLIENTS_MIN);
3781 <      yyerror(buf);
3782 <    }
3783 <    else if ((yyvsp[(3) - (4)].number) > MAXCLIENTS_MAX)
3784 <    {
3785 <      char buf[IRCD_BUFSIZE];
3786 <      ircsprintf(buf, "MAXCLIENTS too high, setting to %d", MAXCLIENTS_MAX);
3787 <      yyerror(buf);
3788 <    }
3789 <    else
3790 <      ServerInfo.max_clients = (yyvsp[(3) - (4)].number);
3688 >    snprintf(buf, sizeof(buf), "MAXCLIENTS too low, setting to %d", MAXCLIENTS_MIN);
3689 >    conf_error_report(buf);
3690 >    ServerInfo.max_clients = MAXCLIENTS_MIN;
3691    }
3692 < }
3793 <    break;
3794 <
3795 <  case 73:
3796 < #line 748 "ircd_parser.y"
3797 <    {
3798 <  if (ypass == 2)
3692 >  else if ((yyvsp[(3) - (4)].number) > MAXCLIENTS_MAX)
3693    {
3694 <    if (yylval.number)
3801 <    {
3802 <      ServerInfo.hub = 1;
3803 <      delete_capability("HUB");
3804 <      add_capability("HUB", CAP_HUB, 1);
3805 <    }
3806 <    else if (ServerInfo.hub)
3807 <    {
3694 >    char buf[IRCD_BUFSIZE];
3695  
3696 <      ServerInfo.hub = 0;
3697 <      delete_capability("HUB");
3698 <    }
3696 >    snprintf(buf, sizeof(buf), "MAXCLIENTS too high, setting to %d", MAXCLIENTS_MAX);
3697 >    conf_error_report(buf);
3698 >    ServerInfo.max_clients = MAXCLIENTS_MAX;
3699    }
3700 +  else
3701 +    ServerInfo.max_clients = (yyvsp[(3) - (4)].number);
3702   }
3703      break;
3704  
3705 <  case 81:
3706 < #line 776 "ircd_parser.y"
3705 >  case 94:
3706 > /* Line 1787 of yacc.c  */
3707 > #line 796 "conf_parser.y"
3708      {
3709 <  if (ypass == 2)
3820 <  {
3821 <    MyFree(AdminInfo.name);
3822 <    DupString(AdminInfo.name, yylval.string);
3823 <  }
3824 < }
3709 >  if (conf_parser_ctx.pass != 2)
3710      break;
3711  
3712 <  case 82:
3828 < #line 785 "ircd_parser.y"
3829 <    {
3830 <  if (ypass == 2)
3712 >  if ((yyvsp[(3) - (4)].number) < 9)
3713    {
3714 <    MyFree(AdminInfo.email);
3715 <    DupString(AdminInfo.email, yylval.string);
3714 >    conf_error_report("max_nick_length too low, setting to 9");
3715 >    ServerInfo.max_nick_length = 9;
3716    }
3717 < }
3836 <    break;
3837 <
3838 <  case 83:
3839 < #line 794 "ircd_parser.y"
3840 <    {
3841 <  if (ypass == 2)
3717 >  else if ((yyvsp[(3) - (4)].number) > NICKLEN)
3718    {
3719 <    MyFree(AdminInfo.description);
3720 <    DupString(AdminInfo.description, yylval.string);
3719 >    char buf[IRCD_BUFSIZE];
3720 >
3721 >    snprintf(buf, sizeof(buf), "max_nick_length too high, setting to %d", NICKLEN);
3722 >    conf_error_report(buf);
3723 >    ServerInfo.max_nick_length = NICKLEN;
3724    }
3725 +  else
3726 +    ServerInfo.max_nick_length = (yyvsp[(3) - (4)].number);
3727   }
3728      break;
3729  
3730 <  case 100:
3731 < #line 821 "ircd_parser.y"
3730 >  case 95:
3731 > /* Line 1787 of yacc.c  */
3732 > #line 818 "conf_parser.y"
3733      {
3734 <                        }
3734 >  if (conf_parser_ctx.pass != 2)
3735      break;
3736  
3737 <  case 101:
3738 < #line 825 "ircd_parser.y"
3739 <    {
3740 <                        }
3741 <    break;
3737 >  if ((yyvsp[(3) - (4)].number) < 80)
3738 >  {
3739 >    conf_error_report("max_topic_length too low, setting to 80");
3740 >    ServerInfo.max_topic_length = 80;
3741 >  }
3742 >  else if ((yyvsp[(3) - (4)].number) > TOPICLEN)
3743 >  {
3744 >    char buf[IRCD_BUFSIZE];
3745  
3746 <  case 102:
3747 < #line 829 "ircd_parser.y"
3748 <    {
3749 <  if (ypass == 2)
3750 <    strlcpy(ConfigLoggingEntry.userlog, yylval.string,
3751 <            sizeof(ConfigLoggingEntry.userlog));
3746 >    snprintf(buf, sizeof(buf), "max_topic_length too high, setting to %d", TOPICLEN);
3747 >    conf_error_report(buf);
3748 >    ServerInfo.max_topic_length = TOPICLEN;
3749 >  }
3750 >  else
3751 >    ServerInfo.max_topic_length = (yyvsp[(3) - (4)].number);
3752   }
3753      break;
3754  
3755 <  case 103:
3756 < #line 836 "ircd_parser.y"
3755 >  case 96:
3756 > /* Line 1787 of yacc.c  */
3757 > #line 840 "conf_parser.y"
3758      {
3759 <  if (ypass == 2)
3760 <    strlcpy(ConfigLoggingEntry.failed_operlog, yylval.string,
3875 <            sizeof(ConfigLoggingEntry.failed_operlog));
3759 >  if (conf_parser_ctx.pass == 2)
3760 >    ServerInfo.hub = yylval.number;
3761   }
3762      break;
3763  
3764    case 104:
3765 < #line 843 "ircd_parser.y"
3765 > /* Line 1787 of yacc.c  */
3766 > #line 855 "conf_parser.y"
3767      {
3768 <  if (ypass == 2)
3769 <    strlcpy(ConfigLoggingEntry.operlog, yylval.string,
3770 <            sizeof(ConfigLoggingEntry.operlog));
3768 >  if (conf_parser_ctx.pass != 2)
3769 >    break;
3770 >
3771 >  MyFree(AdminInfo.name);
3772 >  AdminInfo.name = xstrdup(yylval.string);
3773   }
3774      break;
3775  
3776    case 105:
3777 < #line 850 "ircd_parser.y"
3777 > /* Line 1787 of yacc.c  */
3778 > #line 864 "conf_parser.y"
3779      {
3780 <  if (ypass == 2)
3781 <    strlcpy(ConfigLoggingEntry.operspylog, yylval.string,
3782 <            sizeof(ConfigLoggingEntry.operspylog));
3780 >  if (conf_parser_ctx.pass != 2)
3781 >    break;
3782 >
3783 >  MyFree(AdminInfo.email);
3784 >  AdminInfo.email = xstrdup(yylval.string);
3785   }
3786      break;
3787  
3788    case 106:
3789 < #line 857 "ircd_parser.y"
3789 > /* Line 1787 of yacc.c  */
3790 > #line 873 "conf_parser.y"
3791      {
3792 <  if (ypass == 2)
3793 <    strlcpy(ConfigLoggingEntry.glinelog, yylval.string,
3794 <            sizeof(ConfigLoggingEntry.glinelog));
3792 >  if (conf_parser_ctx.pass != 2)
3793 >    break;
3794 >
3795 >  MyFree(AdminInfo.description);
3796 >  AdminInfo.description = xstrdup(yylval.string);
3797   }
3798      break;
3799  
3800    case 107:
3801 < #line 864 "ircd_parser.y"
3801 > /* Line 1787 of yacc.c  */
3802 > #line 885 "conf_parser.y"
3803      {
3804 <  if (ypass == 2)
3805 <    strlcpy(ConfigLoggingEntry.klinelog, yylval.string,
3911 <            sizeof(ConfigLoggingEntry.klinelog));
3804 >  if (conf_parser_ctx.pass == 2)
3805 >    reset_block_state();
3806   }
3807      break;
3808  
3809    case 108:
3810 < #line 871 "ircd_parser.y"
3810 > /* Line 1787 of yacc.c  */
3811 > #line 889 "conf_parser.y"
3812      {
3813 <  if (ypass == 2)
3814 <    strlcpy(ConfigLoggingEntry.ioerrlog, yylval.string,
3815 <            sizeof(ConfigLoggingEntry.ioerrlog));
3813 >  dlink_node *ptr = NULL;
3814 >
3815 >  if (conf_parser_ctx.pass != 2)
3816 >    break;
3817 >
3818 >  if (!block_state.file.buf[0])
3819 >    break;
3820 >
3821 >  DLINK_FOREACH(ptr, block_state.mask.list.head)
3822 >    motd_add(ptr->data, block_state.file.buf);
3823   }
3824      break;
3825  
3826 <  case 109:
3827 < #line 878 "ircd_parser.y"
3826 >  case 114:
3827 > /* Line 1787 of yacc.c  */
3828 > #line 906 "conf_parser.y"
3829      {
3830 <  if (ypass == 2)
3831 <    strlcpy(ConfigLoggingEntry.killlog, yylval.string,
3929 <            sizeof(ConfigLoggingEntry.killlog));
3830 >  if (conf_parser_ctx.pass == 2)
3831 >    dlinkAdd(xstrdup(yylval.string), make_dlink_node(), &block_state.mask.list);
3832   }
3833      break;
3834  
3835 <  case 110:
3836 < #line 885 "ircd_parser.y"
3837 <    {
3838 <  if (ypass == 2)
3839 <    set_log_level(L_CRIT);
3835 >  case 115:
3836 > /* Line 1787 of yacc.c  */
3837 > #line 912 "conf_parser.y"
3838 >    {
3839 >  if (conf_parser_ctx.pass == 2)
3840 >    strlcpy(block_state.file.buf, yylval.string, sizeof(block_state.file.buf));
3841   }
3842      break;
3843  
3844 <  case 111:
3845 < #line 889 "ircd_parser.y"
3844 >  case 122:
3845 > /* Line 1787 of yacc.c  */
3846 > #line 927 "conf_parser.y"
3847      {
3848 <  if (ypass == 2)
3849 <    set_log_level(L_ERROR);
3848 >  if (conf_parser_ctx.pass == 2)
3849 >    ConfigLoggingEntry.use_logging = yylval.number;
3850   }
3851      break;
3852  
3853 <  case 112:
3854 < #line 893 "ircd_parser.y"
3853 >  case 123:
3854 > /* Line 1787 of yacc.c  */
3855 > #line 933 "conf_parser.y"
3856      {
3857 <  if (ypass == 2)
3858 <    set_log_level(L_WARN);
3857 >  if (conf_parser_ctx.pass == 2)
3858 >    reset_block_state();
3859   }
3860      break;
3861  
3862 <  case 113:
3863 < #line 897 "ircd_parser.y"
3862 >  case 124:
3863 > /* Line 1787 of yacc.c  */
3864 > #line 937 "conf_parser.y"
3865      {
3866 <  if (ypass == 2)
3867 <    set_log_level(L_NOTICE);
3866 >  if (conf_parser_ctx.pass != 2)
3867 >    break;
3868 >
3869 >  if (block_state.type.value && block_state.file.buf[0])
3870 >    log_set_file(block_state.type.value, block_state.size.value,
3871 >                 block_state.file.buf);
3872   }
3873      break;
3874  
3875 <  case 114:
3876 < #line 901 "ircd_parser.y"
3875 >  case 131:
3876 > /* Line 1787 of yacc.c  */
3877 > #line 953 "conf_parser.y"
3878      {
3879 <  if (ypass == 2)
3880 <    set_log_level(L_TRACE);
3879 >  if (conf_parser_ctx.pass != 2)
3880 >    break;
3881 >
3882 >  strlcpy(block_state.file.buf, yylval.string, sizeof(block_state.file.buf));
3883   }
3884      break;
3885  
3886 <  case 115:
3887 < #line 905 "ircd_parser.y"
3886 >  case 132:
3887 > /* Line 1787 of yacc.c  */
3888 > #line 961 "conf_parser.y"
3889      {
3890 <  if (ypass == 2)
3977 <    set_log_level(L_INFO);
3890 >  block_state.size.value = (yyvsp[(3) - (4)].number);
3891   }
3892      break;
3893  
3894 <  case 116:
3895 < #line 909 "ircd_parser.y"
3894 >  case 133:
3895 > /* Line 1787 of yacc.c  */
3896 > #line 964 "conf_parser.y"
3897      {
3898 <  if (ypass == 2)
3985 <    set_log_level(L_DEBUG);
3898 >  block_state.size.value = 0;
3899   }
3900      break;
3901  
3902 <  case 117:
3903 < #line 915 "ircd_parser.y"
3902 >  case 134:
3903 > /* Line 1787 of yacc.c  */
3904 > #line 969 "conf_parser.y"
3905      {
3906 <  if (ypass == 2)
3907 <    ConfigLoggingEntry.use_logging = yylval.number;
3906 >  if (conf_parser_ctx.pass == 2)
3907 >    block_state.type.value = 0;
3908   }
3909      break;
3910  
3911 <  case 118:
3912 < #line 924 "ircd_parser.y"
3911 >  case 138:
3912 > /* Line 1787 of yacc.c  */
3913 > #line 976 "conf_parser.y"
3914      {
3915 <  if (ypass == 2)
3916 <  {
4002 <    yy_conf = make_conf_item(OPER_TYPE);
4003 <    yy_aconf = map_to_conf(yy_conf);
4004 <    SetConfEncrypted(yy_aconf); /* Yes, the default is encrypted */
4005 <  }
4006 <  else
4007 <  {
4008 <    MyFree(class_name);
4009 <    class_name = NULL;
4010 <  }
3915 >  if (conf_parser_ctx.pass == 2)
3916 >    block_state.type.value = LOG_TYPE_USER;
3917   }
3918      break;
3919  
3920 <  case 119:
3921 < #line 937 "ircd_parser.y"
3920 >  case 139:
3921 > /* Line 1787 of yacc.c  */
3922 > #line 980 "conf_parser.y"
3923      {
3924 <  if (ypass == 2)
3925 <  {
3926 <    struct CollectItem *yy_tmp;
3927 <    dlink_node *ptr;
4021 <    dlink_node *next_ptr;
4022 <
4023 <    conf_add_class_to_conf(yy_conf, class_name);
4024 <
4025 <    /* Now, make sure there is a copy of the "base" given oper
4026 <     * block in each of the collected copies
4027 <     */
3924 >  if (conf_parser_ctx.pass == 2)
3925 >    block_state.type.value = LOG_TYPE_OPER;
3926 > }
3927 >    break;
3928  
3929 <    DLINK_FOREACH_SAFE(ptr, next_ptr, col_conf_list.head)
3929 >  case 140:
3930 > /* Line 1787 of yacc.c  */
3931 > #line 984 "conf_parser.y"
3932      {
3933 <      struct AccessItem *new_aconf;
3934 <      struct ConfItem *new_conf;
4033 <      yy_tmp = ptr->data;
4034 <
4035 <      new_conf = make_conf_item(OPER_TYPE);
4036 <      new_aconf = (struct AccessItem *)map_to_conf(new_conf);
4037 <
4038 <      new_aconf->flags = yy_aconf->flags;
4039 <
4040 <      if (yy_conf->name != NULL)
4041 <        DupString(new_conf->name, yy_conf->name);
4042 <      if (yy_tmp->user != NULL)
4043 <        DupString(new_aconf->user, yy_tmp->user);
4044 <      else
4045 <        DupString(new_aconf->user, "*");
4046 <      if (yy_tmp->host != NULL)
4047 <        DupString(new_aconf->host, yy_tmp->host);
4048 <      else
4049 <        DupString(new_aconf->host, "*");
4050 <      conf_add_class_to_conf(new_conf, class_name);
4051 <      if (yy_aconf->passwd != NULL)
4052 <        DupString(new_aconf->passwd, yy_aconf->passwd);
4053 <
4054 <      new_aconf->port = yy_aconf->port;
4055 < #ifdef HAVE_LIBCRYPTO
4056 <      if (yy_aconf->rsa_public_key_file != NULL)
4057 <      {
4058 <        BIO *file;
4059 <
4060 <        DupString(new_aconf->rsa_public_key_file,
4061 <                  yy_aconf->rsa_public_key_file);
4062 <
4063 <        file = BIO_new_file(yy_aconf->rsa_public_key_file, "r");
4064 <        new_aconf->rsa_public_key = (RSA *)PEM_read_bio_RSA_PUBKEY(file,
4065 <                                                           NULL, 0, NULL);
4066 <        BIO_set_close(file, BIO_CLOSE);
4067 <        BIO_free(file);
4068 <      }
4069 < #endif
4070 <
4071 < #ifdef HAVE_LIBCRYPTO
4072 <      if (yy_tmp->name && (yy_tmp->passwd || yy_aconf->rsa_public_key)
4073 <          && yy_tmp->host)
4074 < #else
4075 <      if (yy_tmp->name && yy_tmp->passwd && yy_tmp->host)
4076 < #endif
4077 <      {
4078 <        conf_add_class_to_conf(new_conf, class_name);
4079 <        if (yy_tmp->name != NULL)
4080 <          DupString(new_conf->name, yy_tmp->name);
4081 <      }
4082 <
4083 <      dlinkDelete(&yy_tmp->node, &col_conf_list);
4084 <      free_collect_item(yy_tmp);
4085 <    }
4086 <
4087 <    yy_conf = NULL;
4088 <    yy_aconf = NULL;
4089 <
4090 <
4091 <    MyFree(class_name);
4092 <    class_name = NULL;
4093 <  }
3933 >  if (conf_parser_ctx.pass == 2)
3934 >    block_state.type.value = LOG_TYPE_GLINE;
3935   }
3936      break;
3937  
3938 <  case 147:
3939 < #line 1029 "ircd_parser.y"
3938 >  case 141:
3939 > /* Line 1787 of yacc.c  */
3940 > #line 988 "conf_parser.y"
3941      {
3942 <  if (ypass == 2)
3943 <  {
4102 <    if (strlen(yylval.string) > OPERNICKLEN)
4103 <      yylval.string[OPERNICKLEN] = '\0';
4104 <
4105 <    MyFree(yy_conf->name);
4106 <    DupString(yy_conf->name, yylval.string);
4107 <  }
3942 >  if (conf_parser_ctx.pass == 2)
3943 >    block_state.type.value = LOG_TYPE_DLINE;
3944   }
3945      break;
3946  
3947 <  case 148:
3948 < #line 1041 "ircd_parser.y"
3947 >  case 142:
3948 > /* Line 1787 of yacc.c  */
3949 > #line 992 "conf_parser.y"
3950      {
3951 <  if (ypass == 2)
3952 <  {
4116 <    if (strlen(yylval.string) > OPERNICKLEN)
4117 <      yylval.string[OPERNICKLEN] = '\0';
4118 <
4119 <    MyFree(yy_conf->name);
4120 <    DupString(yy_conf->name, yylval.string);
4121 <  }
3951 >  if (conf_parser_ctx.pass == 2)
3952 >    block_state.type.value = LOG_TYPE_KLINE;
3953   }
3954      break;
3955  
3956 <  case 149:
3957 < #line 1053 "ircd_parser.y"
3956 >  case 143:
3957 > /* Line 1787 of yacc.c  */
3958 > #line 996 "conf_parser.y"
3959      {
3960 <  if (ypass == 2)
3961 <  {
3962 <    struct split_nuh_item nuh;
3963 <
4132 <    nuh.nuhmask  = yylval.string;
4133 <    nuh.nickptr  = NULL;
4134 <    nuh.userptr  = userbuf;
4135 <    nuh.hostptr  = hostbuf;
4136 <
4137 <    nuh.nicksize = 0;
4138 <    nuh.usersize = sizeof(userbuf);
4139 <    nuh.hostsize = sizeof(hostbuf);
4140 <
4141 <    split_nuh(&nuh);
3960 >  if (conf_parser_ctx.pass == 2)
3961 >    block_state.type.value = LOG_TYPE_KILL;
3962 > }
3963 >    break;
3964  
3965 <    if (yy_aconf->user == NULL)
3965 >  case 144:
3966 > /* Line 1787 of yacc.c  */
3967 > #line 1000 "conf_parser.y"
3968      {
3969 <      DupString(yy_aconf->user, userbuf);
3970 <      DupString(yy_aconf->host, hostbuf);
4147 <    }
4148 <    else
4149 <    {
4150 <      struct CollectItem *yy_tmp = MyMalloc(sizeof(struct CollectItem));
4151 <
4152 <      DupString(yy_tmp->user, userbuf);
4153 <      DupString(yy_tmp->host, hostbuf);
4154 <
4155 <      dlinkAdd(yy_tmp, &yy_tmp->node, &col_conf_list);
4156 <    }
4157 <  }
3969 >  if (conf_parser_ctx.pass == 2)
3970 >    block_state.type.value = LOG_TYPE_DEBUG;
3971   }
3972      break;
3973  
3974 <  case 150:
3975 < #line 1087 "ircd_parser.y"
3974 >  case 145:
3975 > /* Line 1787 of yacc.c  */
3976 > #line 1010 "conf_parser.y"
3977      {
3978 <  if (ypass == 2)
3979 <  {
4166 <    if (yy_aconf->passwd != NULL)
4167 <      memset(yy_aconf->passwd, 0, strlen(yy_aconf->passwd));
3978 >  if (conf_parser_ctx.pass != 2)
3979 >    break;
3980  
3981 <    MyFree(yy_aconf->passwd);
3982 <    DupString(yy_aconf->passwd, yylval.string);
4171 <  }
3981 >  reset_block_state();
3982 >  block_state.flags.value |= CONF_FLAGS_ENCRYPTED;
3983   }
3984      break;
3985  
3986 <  case 151:
3987 < #line 1099 "ircd_parser.y"
3986 >  case 146:
3987 > /* Line 1787 of yacc.c  */
3988 > #line 1017 "conf_parser.y"
3989      {
3990 <  if (ypass == 2)
3991 <  {
3992 <    if (yylval.number)
4181 <      SetConfEncrypted(yy_aconf);
4182 <    else
4183 <      ClearConfEncrypted(yy_aconf);
4184 <  }
4185 < }
3990 >  dlink_node *ptr = NULL;
3991 >
3992 >  if (conf_parser_ctx.pass != 2)
3993      break;
3994  
3995 <  case 152:
3996 < #line 1110 "ircd_parser.y"
4190 <    {
3995 >  if (!block_state.name.buf[0])
3996 >    break;
3997   #ifdef HAVE_LIBCRYPTO
3998 <  if (ypass == 2)
3998 >  if (!block_state.file.buf[0] &&
3999 >      !block_state.rpass.buf[0])
4000 >    break;
4001 > #else
4002 >  if (!block_state.rpass.buf[0])
4003 >    break;
4004 > #endif
4005 >
4006 >  DLINK_FOREACH(ptr, block_state.mask.list.head)
4007    {
4008 <    BIO *file;
4008 >    struct MaskItem *conf = NULL;
4009 >    struct split_nuh_item nuh;
4010  
4011 <    if (yy_aconf->rsa_public_key != NULL)
4012 <    {
4013 <      RSA_free(yy_aconf->rsa_public_key);
4014 <      yy_aconf->rsa_public_key = NULL;
4015 <    }
4011 >    nuh.nuhmask  = ptr->data;
4012 >    nuh.nickptr  = NULL;
4013 >    nuh.userptr  = block_state.user.buf;
4014 >    nuh.hostptr  = block_state.host.buf;
4015 >    nuh.nicksize = 0;
4016 >    nuh.usersize = sizeof(block_state.user.buf);
4017 >    nuh.hostsize = sizeof(block_state.host.buf);
4018 >    split_nuh(&nuh);
4019  
4020 <    if (yy_aconf->rsa_public_key_file != NULL)
4021 <    {
4022 <      MyFree(yy_aconf->rsa_public_key_file);
4023 <      yy_aconf->rsa_public_key_file = NULL;
4024 <    }
4020 >    conf         = conf_make(CONF_OPER);
4021 >    conf->name   = xstrdup(block_state.name.buf);
4022 >    conf->user   = xstrdup(block_state.user.buf);
4023 >    conf->host   = xstrdup(block_state.host.buf);
4024 >
4025 >    if (block_state.cert.buf[0])
4026 >      conf->certfp = xstrdup(block_state.cert.buf);
4027 >
4028 >    if (block_state.rpass.buf[0])
4029 >      conf->passwd = xstrdup(block_state.rpass.buf);
4030 >
4031 >    conf->flags = block_state.flags.value;
4032 >    conf->modes = block_state.modes.value;
4033 >    conf->port  = block_state.port.value;
4034 >    conf->htype = parse_netmask(conf->host, &conf->addr, &conf->bits);
4035  
4036 <    DupString(yy_aconf->rsa_public_key_file, yylval.string);
4209 <    file = BIO_new_file(yylval.string, "r");
4036 >    conf_add_class_to_conf(conf, block_state.class.buf);
4037  
4038 <    if (file == NULL)
4038 > #ifdef HAVE_LIBCRYPTO
4039 >    if (block_state.file.buf[0])
4040      {
4041 <      yyerror("Ignoring rsa_public_key_file -- file doesn't exist");
4042 <      break;
4215 <    }
4041 >      BIO *file = NULL;
4042 >      RSA *pkey = NULL;
4043  
4044 <    yy_aconf->rsa_public_key = (RSA *)PEM_read_bio_RSA_PUBKEY(file, NULL, 0, NULL);
4044 >      if ((file = BIO_new_file(block_state.file.buf, "r")) == NULL)
4045 >      {
4046 >        conf_error_report("Ignoring rsa_public_key_file -- file doesn't exist");
4047 >        break;
4048 >      }
4049  
4050 <    if (yy_aconf->rsa_public_key == NULL)
4051 <    {
4221 <      yyerror("Ignoring rsa_public_key_file -- Key invalid; check key syntax.");
4222 <      break;
4223 <    }
4050 >      if ((pkey = PEM_read_bio_RSA_PUBKEY(file, NULL, 0, NULL)) == NULL)
4051 >        conf_error_report("Ignoring rsa_public_key_file -- Key invalid; check key syntax.");
4052  
4053 <    BIO_set_close(file, BIO_CLOSE);
4054 <    BIO_free(file);
4055 <  }
4053 >      conf->rsa_public_key = pkey;
4054 >      BIO_set_close(file, BIO_CLOSE);
4055 >      BIO_free(file);
4056 >    }
4057   #endif /* HAVE_LIBCRYPTO */
4229 }
4230    break;
4231
4232  case 153:
4233 #line 1152 "ircd_parser.y"
4234    {
4235  if (ypass == 2)
4236  {
4237    MyFree(class_name);
4238    DupString(class_name, yylval.string);
4058    }
4059   }
4060      break;
4061  
4243  case 154:
4244 #line 1161 "ircd_parser.y"
4245    {
4246  if (ypass == 2)
4247    yy_aconf->modes = 0;
4248 }
4249    break;
4250
4251  case 158:
4252 #line 1168 "ircd_parser.y"
4253    {
4254  if (ypass == 2)
4255    yy_aconf->modes |= UMODE_BOTS;
4256 }
4257    break;
4258
4259  case 159:
4260 #line 1172 "ircd_parser.y"
4261    {
4262  if (ypass == 2)
4263    yy_aconf->modes |= UMODE_CCONN;
4264 }
4265    break;
4266
4062    case 160:
4063 < #line 1176 "ircd_parser.y"
4063 > /* Line 1787 of yacc.c  */
4064 > #line 1097 "conf_parser.y"
4065      {
4066 <  if (ypass == 2)
4067 <    yy_aconf->modes |= UMODE_CCONN_FULL;
4066 >  if (conf_parser_ctx.pass == 2)
4067 >    strlcpy(block_state.name.buf, yylval.string, sizeof(block_state.name.buf));
4068   }
4069      break;
4070  
4071    case 161:
4072 < #line 1180 "ircd_parser.y"
4072 > /* Line 1787 of yacc.c  */
4073 > #line 1103 "conf_parser.y"
4074      {
4075 <  if (ypass == 2)
4076 <    yy_aconf->modes |= UMODE_DEAF;
4075 >  if (conf_parser_ctx.pass == 2)
4076 >    dlinkAdd(xstrdup(yylval.string), make_dlink_node(), &block_state.mask.list);
4077   }
4078      break;
4079  
4080    case 162:
4081 < #line 1184 "ircd_parser.y"
4081 > /* Line 1787 of yacc.c  */
4082 > #line 1109 "conf_parser.y"
4083      {
4084 <  if (ypass == 2)
4085 <    yy_aconf->modes |= UMODE_DEBUG;
4084 >  if (conf_parser_ctx.pass == 2)
4085 >    strlcpy(block_state.rpass.buf, yylval.string, sizeof(block_state.rpass.buf));
4086   }
4087      break;
4088  
4089    case 163:
4090 < #line 1188 "ircd_parser.y"
4090 > /* Line 1787 of yacc.c  */
4091 > #line 1115 "conf_parser.y"
4092      {
4093 <  if (ypass == 2)
4094 <    yy_aconf->modes |= UMODE_FULL;
4093 >  if (conf_parser_ctx.pass != 2)
4094 >    break;
4095 >
4096 >  if (yylval.number)
4097 >    block_state.flags.value |= CONF_FLAGS_ENCRYPTED;
4098 >  else
4099 >    block_state.flags.value &= ~CONF_FLAGS_ENCRYPTED;
4100   }
4101      break;
4102  
4103    case 164:
4104 < #line 1192 "ircd_parser.y"
4104 > /* Line 1787 of yacc.c  */
4105 > #line 1126 "conf_parser.y"
4106      {
4107 <  if (ypass == 2)
4108 <    yy_aconf->modes |= UMODE_SKILL;
4107 >  if (conf_parser_ctx.pass == 2)
4108 >    strlcpy(block_state.file.buf, yylval.string, sizeof(block_state.file.buf));
4109   }
4110      break;
4111  
4112    case 165:
4113 < #line 1196 "ircd_parser.y"
4113 > /* Line 1787 of yacc.c  */
4114 > #line 1132 "conf_parser.y"
4115      {
4116 <  if (ypass == 2)
4117 <    yy_aconf->modes |= UMODE_NCHANGE;
4116 >  if (conf_parser_ctx.pass == 2)
4117 >    strlcpy(block_state.cert.buf, yylval.string, sizeof(block_state.cert.buf));
4118   }
4119      break;
4120  
4121    case 166:
4122 < #line 1200 "ircd_parser.y"
4122 > /* Line 1787 of yacc.c  */
4123 > #line 1138 "conf_parser.y"
4124      {
4125 <  if (ypass == 2)
4319 <    yy_aconf->modes |= UMODE_REJ;
4320 < }
4125 >  if (conf_parser_ctx.pass != 2)
4126      break;
4127  
4128 <  case 167:
4129 < #line 1204 "ircd_parser.y"
4130 <    {
4131 <  if (ypass == 2)
4327 <    yy_aconf->modes |= UMODE_UNAUTH;
4328 < }
4329 <    break;
4330 <
4331 <  case 168:
4332 < #line 1208 "ircd_parser.y"
4333 <    {
4334 <  if (ypass == 2)
4335 <    yy_aconf->modes |= UMODE_SPY;
4336 < }
4337 <    break;
4338 <
4339 <  case 169:
4340 < #line 1212 "ircd_parser.y"
4341 <    {
4342 <  if (ypass == 2)
4343 <    yy_aconf->modes |= UMODE_EXTERNAL;
4128 >  if (yylval.number)
4129 >    block_state.flags.value |= CONF_FLAGS_SSL;
4130 >  else
4131 >    block_state.flags.value &= ~CONF_FLAGS_SSL;
4132   }
4133      break;
4134  
4135 <  case 170:
4136 < #line 1216 "ircd_parser.y"
4135 >  case 167:
4136 > /* Line 1787 of yacc.c  */
4137 > #line 1149 "conf_parser.y"
4138      {
4139 <  if (ypass == 2)
4140 <    yy_aconf->modes |= UMODE_OPERWALL;
4139 >  if (conf_parser_ctx.pass == 2)
4140 >    strlcpy(block_state.class.buf, yylval.string, sizeof(block_state.class.buf));
4141   }
4142      break;
4143  
4144 <  case 171:
4145 < #line 1220 "ircd_parser.y"
4144 >  case 168:
4145 > /* Line 1787 of yacc.c  */
4146 > #line 1155 "conf_parser.y"
4147      {
4148 <  if (ypass == 2)
4149 <    yy_aconf->modes |= UMODE_SERVNOTICE;
4148 >  if (conf_parser_ctx.pass == 2)
4149 >    block_state.modes.value = 0;
4150   }
4151      break;
4152  
4153    case 172:
4154 < #line 1224 "ircd_parser.y"
4154 > /* Line 1787 of yacc.c  */
4155 > #line 1162 "conf_parser.y"
4156      {
4157 <  if (ypass == 2)
4158 <    yy_aconf->modes |= UMODE_INVISIBLE;
4157 >  if (conf_parser_ctx.pass == 2)
4158 >    block_state.modes.value |= UMODE_BOTS;
4159   }
4160      break;
4161  
4162    case 173:
4163 < #line 1228 "ircd_parser.y"
4163 > /* Line 1787 of yacc.c  */
4164 > #line 1166 "conf_parser.y"
4165      {
4166 <  if (ypass == 2)
4167 <    yy_aconf->modes |= UMODE_WALLOP;
4166 >  if (conf_parser_ctx.pass == 2)
4167 >    block_state.modes.value |= UMODE_CCONN;
4168   }
4169      break;
4170  
4171    case 174:
4172 < #line 1232 "ircd_parser.y"
4172 > /* Line 1787 of yacc.c  */
4173 > #line 1170 "conf_parser.y"
4174      {
4175 <  if (ypass == 2)
4176 <    yy_aconf->modes |= UMODE_SOFTCALLERID;
4175 >  if (conf_parser_ctx.pass == 2)
4176 >    block_state.modes.value |= UMODE_DEAF;
4177   }
4178      break;
4179  
4180    case 175:
4181 < #line 1236 "ircd_parser.y"
4181 > /* Line 1787 of yacc.c  */
4182 > #line 1174 "conf_parser.y"
4183      {
4184 <  if (ypass == 2)
4185 <    yy_aconf->modes |= UMODE_CALLERID;
4184 >  if (conf_parser_ctx.pass == 2)
4185 >    block_state.modes.value |= UMODE_DEBUG;
4186   }
4187      break;
4188  
4189    case 176:
4190 < #line 1240 "ircd_parser.y"
4190 > /* Line 1787 of yacc.c  */
4191 > #line 1178 "conf_parser.y"
4192      {
4193 <  if (ypass == 2)
4194 <    yy_aconf->modes |= UMODE_LOCOPS;
4193 >  if (conf_parser_ctx.pass == 2)
4194 >    block_state.modes.value |= UMODE_FULL;
4195   }
4196      break;
4197  
4198    case 177:
4199 < #line 1246 "ircd_parser.y"
4199 > /* Line 1787 of yacc.c  */
4200 > #line 1182 "conf_parser.y"
4201      {
4202 <  if (ypass == 2)
4203 <  {
4408 <    if (yylval.number)
4409 <      yy_aconf->port |= OPER_FLAG_GLOBAL_KILL;
4410 <    else
4411 <      yy_aconf->port &= ~OPER_FLAG_GLOBAL_KILL;
4412 <  }
4202 >  if (conf_parser_ctx.pass == 2)
4203 >    block_state.modes.value |= UMODE_HIDDEN;
4204   }
4205      break;
4206  
4207    case 178:
4208 < #line 1257 "ircd_parser.y"
4208 > /* Line 1787 of yacc.c  */
4209 > #line 1186 "conf_parser.y"
4210      {
4211 <  if (ypass == 2)
4212 <  {
4421 <    if (yylval.number)
4422 <      yy_aconf->port |= OPER_FLAG_REMOTE;
4423 <    else
4424 <      yy_aconf->port &= ~OPER_FLAG_REMOTE;
4425 <  }
4211 >  if (conf_parser_ctx.pass == 2)
4212 >    block_state.modes.value |= UMODE_SKILL;
4213   }
4214      break;
4215  
4216    case 179:
4217 < #line 1268 "ircd_parser.y"
4217 > /* Line 1787 of yacc.c  */
4218 > #line 1190 "conf_parser.y"
4219      {
4220 <  if (ypass == 2)
4221 <  {
4434 <    if (yylval.number)
4435 <      yy_aconf->port |= OPER_FLAG_REMOTEBAN;
4436 <    else
4437 <      yy_aconf->port &= ~OPER_FLAG_REMOTEBAN;
4438 <  }
4220 >  if (conf_parser_ctx.pass == 2)
4221 >    block_state.modes.value |= UMODE_NCHANGE;
4222   }
4223      break;
4224  
4225    case 180:
4226 < #line 1279 "ircd_parser.y"
4226 > /* Line 1787 of yacc.c  */
4227 > #line 1194 "conf_parser.y"
4228      {
4229 <  if (ypass == 2)
4230 <  {
4447 <    if (yylval.number)
4448 <      yy_aconf->port |= OPER_FLAG_K;
4449 <    else
4450 <      yy_aconf->port &= ~OPER_FLAG_K;
4451 <  }
4229 >  if (conf_parser_ctx.pass == 2)
4230 >    block_state.modes.value |= UMODE_REJ;
4231   }
4232      break;
4233  
4234    case 181:
4235 < #line 1290 "ircd_parser.y"
4235 > /* Line 1787 of yacc.c  */
4236 > #line 1198 "conf_parser.y"
4237      {
4238 <  if (ypass == 2)
4239 <  {
4460 <    if (yylval.number)
4461 <      yy_aconf->port |= OPER_FLAG_X;
4462 <    else
4463 <      yy_aconf->port &= ~OPER_FLAG_X;
4464 <  }
4238 >  if (conf_parser_ctx.pass == 2)
4239 >    block_state.modes.value |= UMODE_UNAUTH;
4240   }
4241      break;
4242  
4243    case 182:
4244 < #line 1301 "ircd_parser.y"
4244 > /* Line 1787 of yacc.c  */
4245 > #line 1202 "conf_parser.y"
4246      {
4247 <  if (ypass == 2)
4248 <  {
4473 <    if (yylval.number)
4474 <      yy_aconf->port |= OPER_FLAG_UNKLINE;
4475 <    else
4476 <      yy_aconf->port &= ~OPER_FLAG_UNKLINE;
4477 <  }
4247 >  if (conf_parser_ctx.pass == 2)
4248 >    block_state.modes.value |= UMODE_SPY;
4249   }
4250      break;
4251  
4252    case 183:
4253 < #line 1312 "ircd_parser.y"
4253 > /* Line 1787 of yacc.c  */
4254 > #line 1206 "conf_parser.y"
4255      {
4256 <  if (ypass == 2)
4257 <  {
4486 <    if (yylval.number)
4487 <      yy_aconf->port |= OPER_FLAG_GLINE;
4488 <    else
4489 <      yy_aconf->port &= ~OPER_FLAG_GLINE;
4490 <  }
4256 >  if (conf_parser_ctx.pass == 2)
4257 >    block_state.modes.value |= UMODE_EXTERNAL;
4258   }
4259      break;
4260  
4261    case 184:
4262 < #line 1323 "ircd_parser.y"
4262 > /* Line 1787 of yacc.c  */
4263 > #line 1210 "conf_parser.y"
4264      {
4265 <  if (ypass == 2)
4266 <  {
4499 <    if (yylval.number)
4500 <      yy_aconf->port |= OPER_FLAG_N;
4501 <    else
4502 <      yy_aconf->port &= ~OPER_FLAG_N;
4503 <  }
4265 >  if (conf_parser_ctx.pass == 2)
4266 >    block_state.modes.value |= UMODE_OPERWALL;
4267   }
4268      break;
4269  
4270    case 185:
4271 < #line 1334 "ircd_parser.y"
4271 > /* Line 1787 of yacc.c  */
4272 > #line 1214 "conf_parser.y"
4273      {
4274 <  if (ypass == 2)
4275 <  {
4512 <    if (yylval.number)
4513 <      yy_aconf->port |= OPER_FLAG_DIE;
4514 <    else
4515 <      yy_aconf->port &= ~OPER_FLAG_DIE;
4516 <  }
4274 >  if (conf_parser_ctx.pass == 2)
4275 >    block_state.modes.value |= UMODE_SERVNOTICE;
4276   }
4277      break;
4278  
4279    case 186:
4280 < #line 1345 "ircd_parser.y"
4280 > /* Line 1787 of yacc.c  */
4281 > #line 1218 "conf_parser.y"
4282      {
4283 <  if (ypass == 2)
4284 <  {
4525 <    if (yylval.number)
4526 <      yy_aconf->port |= OPER_FLAG_REHASH;
4527 <    else
4528 <      yy_aconf->port &= ~OPER_FLAG_REHASH;
4529 <  }
4283 >  if (conf_parser_ctx.pass == 2)
4284 >    block_state.modes.value |= UMODE_INVISIBLE;
4285   }
4286      break;
4287  
4288    case 187:
4289 < #line 1356 "ircd_parser.y"
4289 > /* Line 1787 of yacc.c  */
4290 > #line 1222 "conf_parser.y"
4291      {
4292 <  if (ypass == 2)
4293 <  {
4538 <    if (yylval.number)
4539 <      yy_aconf->port |= OPER_FLAG_ADMIN;
4540 <    else
4541 <      yy_aconf->port &= ~OPER_FLAG_ADMIN;
4542 <  }
4292 >  if (conf_parser_ctx.pass == 2)
4293 >    block_state.modes.value |= UMODE_WALLOP;
4294   }
4295      break;
4296  
4297    case 188:
4298 < #line 1367 "ircd_parser.y"
4298 > /* Line 1787 of yacc.c  */
4299 > #line 1226 "conf_parser.y"
4300      {
4301 <  if (ypass == 2)
4302 <  {
4551 <    if (yylval.number)
4552 <      yy_aconf->port |= OPER_FLAG_HIDDEN_ADMIN;
4553 <    else
4554 <      yy_aconf->port &= ~OPER_FLAG_HIDDEN_ADMIN;
4555 <  }
4301 >  if (conf_parser_ctx.pass == 2)
4302 >    block_state.modes.value |= UMODE_SOFTCALLERID;
4303   }
4304      break;
4305  
4306    case 189:
4307 < #line 1378 "ircd_parser.y"
4307 > /* Line 1787 of yacc.c  */
4308 > #line 1230 "conf_parser.y"
4309      {
4310 <  if (ypass == 2)
4311 <  {
4564 <    if (yylval.number)
4565 <      yy_aconf->port |= OPER_FLAG_HIDDEN_OPER;
4566 <    else
4567 <      yy_aconf->port &= ~OPER_FLAG_HIDDEN_OPER;
4568 <  }
4310 >  if (conf_parser_ctx.pass == 2)
4311 >    block_state.modes.value |= UMODE_CALLERID;
4312   }
4313      break;
4314  
4315    case 190:
4316 < #line 1389 "ircd_parser.y"
4316 > /* Line 1787 of yacc.c  */
4317 > #line 1234 "conf_parser.y"
4318      {
4319 <  if (ypass == 2)
4320 <  {
4577 <    if (yylval.number)
4578 <      yy_aconf->port |= OPER_FLAG_OPERWALL;
4579 <    else
4580 <      yy_aconf->port &= ~OPER_FLAG_OPERWALL;
4581 <  }
4319 >  if (conf_parser_ctx.pass == 2)
4320 >    block_state.modes.value |= UMODE_LOCOPS;
4321   }
4322      break;
4323  
4324    case 191:
4325 < #line 1400 "ircd_parser.y"
4325 > /* Line 1787 of yacc.c  */
4326 > #line 1238 "conf_parser.y"
4327 >    {
4328 >  if (conf_parser_ctx.pass == 2)
4329 >    block_state.modes.value |= UMODE_REGONLY;
4330 > }
4331 >    break;
4332 >
4333 >  case 192:
4334 > /* Line 1787 of yacc.c  */
4335 > #line 1242 "conf_parser.y"
4336      {
4337 +  if (conf_parser_ctx.pass == 2)
4338 +    block_state.modes.value |= UMODE_FARCONNECT;
4339   }
4340      break;
4341  
4342 <  case 195:
4343 < #line 1404 "ircd_parser.y"
4344 <    { not_atom = 1; }
4342 >  case 193:
4343 > /* Line 1787 of yacc.c  */
4344 > #line 1248 "conf_parser.y"
4345 >    {
4346 >  if (conf_parser_ctx.pass == 2)
4347 >    block_state.port.value = 0;
4348 > }
4349      break;
4350  
4351    case 197:
4352 < #line 1405 "ircd_parser.y"
4353 <    { not_atom = 0; }
4352 > /* Line 1787 of yacc.c  */
4353 > #line 1255 "conf_parser.y"
4354 >    {
4355 >  if (conf_parser_ctx.pass == 2)
4356 >    block_state.port.value |= OPER_FLAG_KILL_REMOTE;
4357 > }
4358 >    break;
4359 >
4360 >  case 198:
4361 > /* Line 1787 of yacc.c  */
4362 > #line 1259 "conf_parser.y"
4363 >    {
4364 >  if (conf_parser_ctx.pass == 2)
4365 >    block_state.port.value |= OPER_FLAG_KILL;
4366 > }
4367      break;
4368  
4369    case 199:
4370 < #line 1408 "ircd_parser.y"
4370 > /* Line 1787 of yacc.c  */
4371 > #line 1263 "conf_parser.y"
4372      {
4373 <  if (ypass == 2)
4374 <  {
4606 <    if (not_atom)yy_aconf->port &= ~OPER_FLAG_GLOBAL_KILL;
4607 <    else yy_aconf->port |= OPER_FLAG_GLOBAL_KILL;
4608 <  }
4373 >  if (conf_parser_ctx.pass == 2)
4374 >    block_state.port.value |= OPER_FLAG_CONNECT_REMOTE;
4375   }
4376      break;
4377  
4378    case 200:
4379 < #line 1415 "ircd_parser.y"
4379 > /* Line 1787 of yacc.c  */
4380 > #line 1267 "conf_parser.y"
4381      {
4382 <  if (ypass == 2)
4383 <  {
4617 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_REMOTE;
4618 <    else yy_aconf->port |= OPER_FLAG_REMOTE;
4619 <  }
4382 >  if (conf_parser_ctx.pass == 2)
4383 >    block_state.port.value |= OPER_FLAG_CONNECT;
4384   }
4385      break;
4386  
4387    case 201:
4388 < #line 1422 "ircd_parser.y"
4388 > /* Line 1787 of yacc.c  */
4389 > #line 1271 "conf_parser.y"
4390      {
4391 <  if (ypass == 2)
4392 <  {
4628 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_K;
4629 <    else yy_aconf->port |= OPER_FLAG_K;
4630 <  }
4391 >  if (conf_parser_ctx.pass == 2)
4392 >    block_state.port.value |= OPER_FLAG_SQUIT_REMOTE;
4393   }
4394      break;
4395  
4396    case 202:
4397 < #line 1429 "ircd_parser.y"
4397 > /* Line 1787 of yacc.c  */
4398 > #line 1275 "conf_parser.y"
4399      {
4400 <  if (ypass == 2)
4401 <  {
4639 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_UNKLINE;
4640 <    else yy_aconf->port |= OPER_FLAG_UNKLINE;
4641 <  }
4400 >  if (conf_parser_ctx.pass == 2)
4401 >    block_state.port.value |= OPER_FLAG_SQUIT;
4402   }
4403      break;
4404  
4405    case 203:
4406 < #line 1436 "ircd_parser.y"
4406 > /* Line 1787 of yacc.c  */
4407 > #line 1279 "conf_parser.y"
4408      {
4409 <  if (ypass == 2)
4410 <  {
4650 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_X;
4651 <    else yy_aconf->port |= OPER_FLAG_X;
4652 <  }
4409 >  if (conf_parser_ctx.pass == 2)
4410 >    block_state.port.value |= OPER_FLAG_K;
4411   }
4412      break;
4413  
4414    case 204:
4415 < #line 1443 "ircd_parser.y"
4415 > /* Line 1787 of yacc.c  */
4416 > #line 1283 "conf_parser.y"
4417      {
4418 <  if (ypass == 2)
4419 <  {
4661 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_GLINE;
4662 <    else yy_aconf->port |= OPER_FLAG_GLINE;
4663 <  }
4418 >  if (conf_parser_ctx.pass == 2)
4419 >    block_state.port.value |= OPER_FLAG_UNKLINE;
4420   }
4421      break;
4422  
4423    case 205:
4424 < #line 1450 "ircd_parser.y"
4424 > /* Line 1787 of yacc.c  */
4425 > #line 1287 "conf_parser.y"
4426      {
4427 <  if (ypass == 2)
4428 <  {
4672 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_DIE;
4673 <    else yy_aconf->port |= OPER_FLAG_DIE;
4674 <  }
4427 >  if (conf_parser_ctx.pass == 2)
4428 >    block_state.port.value |= OPER_FLAG_DLINE;
4429   }
4430      break;
4431  
4432    case 206:
4433 < #line 1457 "ircd_parser.y"
4433 > /* Line 1787 of yacc.c  */
4434 > #line 1291 "conf_parser.y"
4435      {
4436 <  if (ypass == 2)
4437 <  {
4683 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_REHASH;
4684 <    else yy_aconf->port |= OPER_FLAG_REHASH;
4685 <  }
4436 >  if (conf_parser_ctx.pass == 2)
4437 >    block_state.port.value |= OPER_FLAG_UNDLINE;
4438   }
4439      break;
4440  
4441    case 207:
4442 < #line 1464 "ircd_parser.y"
4442 > /* Line 1787 of yacc.c  */
4443 > #line 1295 "conf_parser.y"
4444      {
4445 <  if (ypass == 2)
4446 <  {
4694 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_ADMIN;
4695 <    else yy_aconf->port |= OPER_FLAG_ADMIN;
4696 <  }
4445 >  if (conf_parser_ctx.pass == 2)
4446 >    block_state.port.value |= OPER_FLAG_X;
4447   }
4448      break;
4449  
4450    case 208:
4451 < #line 1471 "ircd_parser.y"
4451 > /* Line 1787 of yacc.c  */
4452 > #line 1299 "conf_parser.y"
4453      {
4454 <  if (ypass == 2)
4455 <  {
4705 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_HIDDEN_ADMIN;
4706 <    else yy_aconf->port |= OPER_FLAG_HIDDEN_ADMIN;
4707 <  }
4454 >  if (conf_parser_ctx.pass == 2)
4455 >    block_state.port.value |= OPER_FLAG_GLINE;
4456   }
4457      break;
4458  
4459    case 209:
4460 < #line 1478 "ircd_parser.y"
4460 > /* Line 1787 of yacc.c  */
4461 > #line 1303 "conf_parser.y"
4462      {
4463 <  if (ypass == 2)
4464 <  {
4716 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_N;
4717 <    else yy_aconf->port |= OPER_FLAG_N;
4718 <  }
4463 >  if (conf_parser_ctx.pass == 2)
4464 >    block_state.port.value |= OPER_FLAG_DIE;
4465   }
4466      break;
4467  
4468    case 210:
4469 < #line 1485 "ircd_parser.y"
4469 > /* Line 1787 of yacc.c  */
4470 > #line 1307 "conf_parser.y"
4471      {
4472 <  if (ypass == 2)
4473 <  {
4727 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_OPERWALL;
4728 <    else yy_aconf->port |= OPER_FLAG_OPERWALL;
4729 <  }
4472 >  if (conf_parser_ctx.pass == 2)
4473 >    block_state.port.value |= OPER_FLAG_RESTART;
4474   }
4475      break;
4476  
4477    case 211:
4478 < #line 1492 "ircd_parser.y"
4478 > /* Line 1787 of yacc.c  */
4479 > #line 1311 "conf_parser.y"
4480      {
4481 <  if (ypass == 2)
4482 <  {
4738 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_OPER_SPY;
4739 <    else yy_aconf->port |= OPER_FLAG_OPER_SPY;
4740 <  }
4481 >  if (conf_parser_ctx.pass == 2)
4482 >    block_state.port.value |= OPER_FLAG_REHASH;
4483   }
4484      break;
4485  
4486    case 212:
4487 < #line 1499 "ircd_parser.y"
4487 > /* Line 1787 of yacc.c  */
4488 > #line 1315 "conf_parser.y"
4489      {
4490 <  if (ypass == 2)
4491 <  {
4749 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_HIDDEN_OPER;
4750 <    else yy_aconf->port |= OPER_FLAG_HIDDEN_OPER;
4751 <  }
4490 >  if (conf_parser_ctx.pass == 2)
4491 >    block_state.port.value |= OPER_FLAG_ADMIN;
4492   }
4493      break;
4494  
4495    case 213:
4496 < #line 1506 "ircd_parser.y"
4496 > /* Line 1787 of yacc.c  */
4497 > #line 1319 "conf_parser.y"
4498      {
4499 <  if (ypass == 2)
4500 <  {
4760 <    if (not_atom) yy_aconf->port &= ~OPER_FLAG_REMOTEBAN;
4761 <    else yy_aconf->port |= OPER_FLAG_REMOTEBAN;
4762 <  }
4499 >  if (conf_parser_ctx.pass == 2)
4500 >    block_state.port.value |= OPER_FLAG_OPERWALL;
4501   }
4502      break;
4503  
4504    case 214:
4505 < #line 1513 "ircd_parser.y"
4505 > /* Line 1787 of yacc.c  */
4506 > #line 1323 "conf_parser.y"
4507      {
4508 <  if (ypass == 2)
4509 <  {
4771 <    if (not_atom) ClearConfEncrypted(yy_aconf);
4772 <    else SetConfEncrypted(yy_aconf);
4773 <  }
4508 >  if (conf_parser_ctx.pass == 2)
4509 >    block_state.port.value |= OPER_FLAG_GLOBOPS;
4510   }
4511      break;
4512  
4513    case 215:
4514 < #line 1526 "ircd_parser.y"
4514 > /* Line 1787 of yacc.c  */
4515 > #line 1327 "conf_parser.y"
4516      {
4517 <  if (ypass == 1)
4518 <  {
4782 <    yy_conf = make_conf_item(CLASS_TYPE);
4783 <    yy_class = map_to_conf(yy_conf);
4784 <  }
4517 >  if (conf_parser_ctx.pass == 2)
4518 >    block_state.port.value |= OPER_FLAG_WALLOPS;
4519   }
4520      break;
4521  
4522    case 216:
4523 < #line 1533 "ircd_parser.y"
4524 <    {
4791 <  if (ypass == 1)
4792 <  {
4793 <    struct ConfItem *cconf = NULL;
4794 <    struct ClassItem *class = NULL;
4795 <
4796 <    if (yy_class_name == NULL)
4797 <      delete_conf_item(yy_conf);
4798 <    else
4523 > /* Line 1787 of yacc.c  */
4524 > #line 1331 "conf_parser.y"
4525      {
4526 <      cconf = find_exact_name_conf(CLASS_TYPE, yy_class_name, NULL, NULL);
4527 <
4802 <      if (cconf != NULL)                /* The class existed already */
4803 <      {
4804 <        int user_count = 0;
4805 <
4806 <        rebuild_cidr_class(cconf, yy_class);
4807 <
4808 <        class = map_to_conf(cconf);
4809 <
4810 <        user_count = class->curr_user_count;
4811 <        memcpy(class, yy_class, sizeof(*class));
4812 <        class->curr_user_count = user_count;
4813 <        class->active = 1;
4814 <
4815 <        delete_conf_item(yy_conf);
4816 <
4817 <        MyFree(cconf->name);            /* Allows case change of class name */
4818 <        cconf->name = yy_class_name;
4819 <      }
4820 <      else      /* Brand new class */
4821 <      {
4822 <        MyFree(yy_conf->name);          /* just in case it was allocated */
4823 <        yy_conf->name = yy_class_name;
4824 <        yy_class->active = 1;
4825 <      }
4826 <    }
4827 <
4828 <    yy_class_name = NULL;
4829 <  }
4526 >  if (conf_parser_ctx.pass == 2)
4527 >    block_state.port.value |= OPER_FLAG_LOCOPS;
4528   }
4529      break;
4530  
4531 <  case 235:
4532 < #line 1593 "ircd_parser.y"
4531 >  case 217:
4532 > /* Line 1787 of yacc.c  */
4533 > #line 1335 "conf_parser.y"
4534      {
4535 <  if (ypass == 1)
4536 <  {
4838 <    MyFree(yy_class_name);
4839 <    DupString(yy_class_name, yylval.string);
4840 <  }
4535 >  if (conf_parser_ctx.pass == 2)
4536 >    block_state.port.value |= OPER_FLAG_REMOTEBAN;
4537   }
4538      break;
4539  
4540 <  case 236:
4541 < #line 1602 "ircd_parser.y"
4540 >  case 218:
4541 > /* Line 1787 of yacc.c  */
4542 > #line 1339 "conf_parser.y"
4543      {
4544 <  if (ypass == 1)
4545 <  {
4849 <    MyFree(yy_class_name);
4850 <    DupString(yy_class_name, yylval.string);
4851 <  }
4544 >  if (conf_parser_ctx.pass == 2)
4545 >    block_state.port.value |= OPER_FLAG_SET;
4546   }
4547      break;
4548  
4549 <  case 237:
4550 < #line 1611 "ircd_parser.y"
4549 >  case 219:
4550 > /* Line 1787 of yacc.c  */
4551 > #line 1343 "conf_parser.y"
4552      {
4553 <  if (ypass == 1)
4554 <    PingFreq(yy_class) = (yyvsp[(3) - (4)].number);
4553 >  if (conf_parser_ctx.pass == 2)
4554 >    block_state.port.value |= OPER_FLAG_MODULE;
4555   }
4556      break;
4557  
4558 <  case 238:
4559 < #line 1617 "ircd_parser.y"
4558 >  case 220:
4559 > /* Line 1787 of yacc.c  */
4560 > #line 1353 "conf_parser.y"
4561      {
4562 <  if (ypass == 1)
4867 <    PingWarning(yy_class) = (yyvsp[(3) - (4)].number);
4868 < }
4562 >  if (conf_parser_ctx.pass != 1)
4563      break;
4564  
4565 <  case 239:
4566 < #line 1623 "ircd_parser.y"
4567 <    {
4568 <  if (ypass == 1)
4569 <    MaxPerIp(yy_class) = (yyvsp[(3) - (4)].number);
4565 >  reset_block_state();
4566 >
4567 >  block_state.ping_freq.value = DEFAULT_PINGFREQUENCY;
4568 >  block_state.con_freq.value  = DEFAULT_CONNECTFREQUENCY;
4569 >  block_state.max_total.value = MAXIMUM_LINKS_DEFAULT;
4570 >  block_state.max_sendq.value = DEFAULT_SENDQ;
4571 >  block_state.max_recvq.value = DEFAULT_RECVQ;
4572   }
4573      break;
4574  
4575 <  case 240:
4576 < #line 1629 "ircd_parser.y"
4575 >  case 221:
4576 > /* Line 1787 of yacc.c  */
4577 > #line 1365 "conf_parser.y"
4578      {
4579 <  if (ypass == 1)
4580 <    ConFreq(yy_class) = (yyvsp[(3) - (4)].number);
4579 >  struct ClassItem *class = NULL;
4580 >
4581 >  if (conf_parser_ctx.pass != 1)
4582 >    break;
4583 >
4584 >  if (!block_state.class.buf[0])
4585 >    break;
4586 >
4587 >  if (!(class = class_find(block_state.class.buf, 0)))
4588 >    class = class_make();
4589 >
4590 >  class->active = 1;
4591 >  MyFree(class->name);
4592 >  class->name = xstrdup(block_state.class.buf);
4593 >  class->ping_freq = block_state.ping_freq.value;
4594 >  class->max_perip = block_state.max_perip.value;
4595 >  class->con_freq = block_state.con_freq.value;
4596 >  class->max_total = block_state.max_total.value;
4597 >  class->max_global = block_state.max_global.value;
4598 >  class->max_local = block_state.max_local.value;
4599 >  class->max_ident = block_state.max_ident.value;
4600 >  class->max_sendq = block_state.max_sendq.value;
4601 >  class->max_recvq = block_state.max_recvq.value;
4602 >
4603 >  if (block_state.min_idle.value > block_state.max_idle.value)
4604 >  {
4605 >    block_state.min_idle.value = 0;
4606 >    block_state.max_idle.value = 0;
4607 >    block_state.flags.value &= ~CLASS_FLAGS_FAKE_IDLE;
4608 >  }
4609 >
4610 >  class->flags = block_state.flags.value;
4611 >  class->min_idle = block_state.min_idle.value;
4612 >  class->max_idle = block_state.max_idle.value;
4613 >
4614 >  if (class->number_per_cidr && block_state.number_per_cidr.value)
4615 >    if ((class->cidr_bitlen_ipv4 && block_state.cidr_bitlen_ipv4.value) ||
4616 >        (class->cidr_bitlen_ipv6 && block_state.cidr_bitlen_ipv6.value))
4617 >      if ((class->cidr_bitlen_ipv4 != block_state.cidr_bitlen_ipv4.value) ||
4618 >          (class->cidr_bitlen_ipv6 != block_state.cidr_bitlen_ipv6.value))
4619 >        rebuild_cidr_list(class);
4620 >
4621 >  class->cidr_bitlen_ipv4 = block_state.cidr_bitlen_ipv4.value;
4622 >  class->cidr_bitlen_ipv6 = block_state.cidr_bitlen_ipv6.value;
4623 >  class->number_per_cidr = block_state.number_per_cidr.value;
4624   }
4625      break;
4626  
4627    case 241:
4628 < #line 1635 "ircd_parser.y"
4628 > /* Line 1787 of yacc.c  */
4629 > #line 1431 "conf_parser.y"
4630      {
4631 <  if (ypass == 1)
4632 <    MaxTotal(yy_class) = (yyvsp[(3) - (4)].number);
4631 >  if (conf_parser_ctx.pass == 1)
4632 >    strlcpy(block_state.class.buf, yylval.string, sizeof(block_state.class.buf));
4633   }
4634      break;
4635  
4636    case 242:
4637 < #line 1641 "ircd_parser.y"
4637 > /* Line 1787 of yacc.c  */
4638 > #line 1437 "conf_parser.y"
4639      {
4640 <  if (ypass == 1)
4641 <    MaxGlobal(yy_class) = (yyvsp[(3) - (4)].number);
4640 >  if (conf_parser_ctx.pass == 1)
4641 >    block_state.ping_freq.value = (yyvsp[(3) - (4)].number);
4642   }
4643      break;
4644  
4645    case 243:
4646 < #line 1647 "ircd_parser.y"
4646 > /* Line 1787 of yacc.c  */
4647 > #line 1443 "conf_parser.y"
4648      {
4649 <  if (ypass == 1)
4650 <    MaxLocal(yy_class) = (yyvsp[(3) - (4)].number);
4649 >  if (conf_parser_ctx.pass == 1)
4650 >    block_state.max_perip.value = (yyvsp[(3) - (4)].number);
4651   }
4652      break;
4653  
4654    case 244:
4655 < #line 1653 "ircd_parser.y"
4655 > /* Line 1787 of yacc.c  */
4656 > #line 1449 "conf_parser.y"
4657      {
4658 <  if (ypass == 1)
4659 <    MaxIdent(yy_class) = (yyvsp[(3) - (4)].number);
4658 >  if (conf_parser_ctx.pass == 1)
4659 >    block_state.con_freq.value = (yyvsp[(3) - (4)].number);
4660   }
4661      break;
4662  
4663    case 245:
4664 < #line 1659 "ircd_parser.y"
4664 > /* Line 1787 of yacc.c  */
4665 > #line 1455 "conf_parser.y"
4666      {
4667 <  if (ypass == 1)
4668 <    MaxSendq(yy_class) = (yyvsp[(3) - (4)].number);
4667 >  if (conf_parser_ctx.pass == 1)
4668 >    block_state.max_total.value = (yyvsp[(3) - (4)].number);
4669   }
4670      break;
4671  
4672    case 246:
4673 < #line 1665 "ircd_parser.y"
4673 > /* Line 1787 of yacc.c  */
4674 > #line 1461 "conf_parser.y"
4675      {
4676 <  if (ypass == 1)
4677 <    CidrBitlenIPV4(yy_class) = (yyvsp[(3) - (4)].number);
4676 >  if (conf_parser_ctx.pass == 1)
4677 >    block_state.max_global.value = (yyvsp[(3) - (4)].number);
4678   }
4679      break;
4680  
4681    case 247:
4682 < #line 1671 "ircd_parser.y"
4682 > /* Line 1787 of yacc.c  */
4683 > #line 1467 "conf_parser.y"
4684      {
4685 <  if (ypass == 1)
4686 <    CidrBitlenIPV6(yy_class) = (yyvsp[(3) - (4)].number);
4685 >  if (conf_parser_ctx.pass == 1)
4686 >    block_state.max_local.value = (yyvsp[(3) - (4)].number);
4687   }
4688      break;
4689  
4690    case 248:
4691 < #line 1677 "ircd_parser.y"
4691 > /* Line 1787 of yacc.c  */
4692 > #line 1473 "conf_parser.y"
4693      {
4694 <  if (ypass == 1)
4695 <    NumberPerCidr(yy_class) = (yyvsp[(3) - (4)].number);
4694 >  if (conf_parser_ctx.pass == 1)
4695 >    block_state.max_ident.value = (yyvsp[(3) - (4)].number);
4696   }
4697      break;
4698  
4699    case 249:
4700 < #line 1686 "ircd_parser.y"
4700 > /* Line 1787 of yacc.c  */
4701 > #line 1479 "conf_parser.y"
4702      {
4703 <  if (ypass == 2)
4704 <  {
4956 <    listener_address = NULL;
4957 <    listener_flags = 0;
4958 <  }
4703 >  if (conf_parser_ctx.pass == 1)
4704 >    block_state.max_sendq.value = (yyvsp[(3) - (4)].number);
4705   }
4706      break;
4707  
4708    case 250:
4709 < #line 1693 "ircd_parser.y"
4709 > /* Line 1787 of yacc.c  */
4710 > #line 1485 "conf_parser.y"
4711      {
4712 <  if (ypass == 2)
4713 <  {
4714 <    MyFree(listener_address);
4968 <    listener_address = NULL;
4969 <  }
4712 >  if (conf_parser_ctx.pass == 1)
4713 >    if ((yyvsp[(3) - (4)].number) >= CLIENT_FLOOD_MIN && (yyvsp[(3) - (4)].number) <= CLIENT_FLOOD_MAX)
4714 >      block_state.max_recvq.value = (yyvsp[(3) - (4)].number);
4715   }
4716      break;
4717  
4718    case 251:
4719 < #line 1702 "ircd_parser.y"
4719 > /* Line 1787 of yacc.c  */
4720 > #line 1492 "conf_parser.y"
4721 >    {
4722 >  if (conf_parser_ctx.pass == 1)
4723 >    block_state.cidr_bitlen_ipv4.value = (yyvsp[(3) - (4)].number) > 32 ? 32 : (yyvsp[(3) - (4)].number);
4724 > }
4725 >    break;
4726 >
4727 >  case 252:
4728 > /* Line 1787 of yacc.c  */
4729 > #line 1498 "conf_parser.y"
4730 >    {
4731 >  if (conf_parser_ctx.pass == 1)
4732 >    block_state.cidr_bitlen_ipv6.value = (yyvsp[(3) - (4)].number) > 128 ? 128 : (yyvsp[(3) - (4)].number);
4733 > }
4734 >    break;
4735 >
4736 >  case 253:
4737 > /* Line 1787 of yacc.c  */
4738 > #line 1504 "conf_parser.y"
4739 >    {
4740 >  if (conf_parser_ctx.pass == 1)
4741 >    block_state.number_per_cidr.value = (yyvsp[(3) - (4)].number);
4742 > }
4743 >    break;
4744 >
4745 >  case 254:
4746 > /* Line 1787 of yacc.c  */
4747 > #line 1510 "conf_parser.y"
4748      {
4749 <  listener_flags = 0;
4749 >  if (conf_parser_ctx.pass != 1)
4750 >    break;
4751 >
4752 >  block_state.min_idle.value = (yyvsp[(3) - (4)].number);
4753 >  block_state.flags.value |= CLASS_FLAGS_FAKE_IDLE;
4754   }
4755      break;
4756  
4757    case 255:
4758 < #line 1708 "ircd_parser.y"
4758 > /* Line 1787 of yacc.c  */
4759 > #line 1519 "conf_parser.y"
4760      {
4761 <  if (ypass == 2)
4762 <    listener_flags |= LISTENER_SSL;
4761 >  if (conf_parser_ctx.pass != 1)
4762 >    break;
4763 >
4764 >  block_state.max_idle.value = (yyvsp[(3) - (4)].number);
4765 >  block_state.flags.value |= CLASS_FLAGS_FAKE_IDLE;
4766   }
4767      break;
4768  
4769    case 256:
4770 < #line 1712 "ircd_parser.y"
4770 > /* Line 1787 of yacc.c  */
4771 > #line 1528 "conf_parser.y"
4772 >    {
4773 >  if (conf_parser_ctx.pass == 1)
4774 >    block_state.flags.value &= CLASS_FLAGS_FAKE_IDLE;
4775 > }
4776 >    break;
4777 >
4778 >  case 260:
4779 > /* Line 1787 of yacc.c  */
4780 > #line 1535 "conf_parser.y"
4781      {
4782 <  if (ypass == 2)
4783 <    listener_flags |= LISTENER_HIDDEN;
4782 >  if (conf_parser_ctx.pass == 1)
4783 >    block_state.flags.value |= CLASS_FLAGS_RANDOM_IDLE;
4784   }
4785      break;
4786  
4787 <  case 257:
4788 < #line 1716 "ircd_parser.y"
4787 >  case 261:
4788 > /* Line 1787 of yacc.c  */
4789 > #line 1539 "conf_parser.y"
4790      {
4791 <  if (ypass == 2)
4792 <    listener_flags |= LISTENER_SERVER;
4791 >  if (conf_parser_ctx.pass == 1)
4792 >    block_state.flags.value |= CLASS_FLAGS_HIDE_IDLE_FROM_OPERS;
4793   }
4794      break;
4795  
4796 <  case 265:
4797 < #line 1726 "ircd_parser.y"
4798 <    { listener_flags = 0; }
4796 >  case 262:
4797 > /* Line 1787 of yacc.c  */
4798 > #line 1549 "conf_parser.y"
4799 >    {
4800 >  if (conf_parser_ctx.pass == 2)
4801 >    reset_block_state();
4802 > }
4803 >    break;
4804 >
4805 >  case 264:
4806 > /* Line 1787 of yacc.c  */
4807 > #line 1555 "conf_parser.y"
4808 >    {
4809 >  block_state.flags.value = 0;
4810 > }
4811 >    break;
4812 >
4813 >  case 268:
4814 > /* Line 1787 of yacc.c  */
4815 > #line 1561 "conf_parser.y"
4816 >    {
4817 >  if (conf_parser_ctx.pass == 2)
4818 >    block_state.flags.value |= LISTENER_SSL;
4819 > }
4820      break;
4821  
4822    case 269:
4823 < #line 1731 "ircd_parser.y"
4823 > /* Line 1787 of yacc.c  */
4824 > #line 1565 "conf_parser.y"
4825 >    {
4826 >  if (conf_parser_ctx.pass == 2)
4827 >    block_state.flags.value |= LISTENER_HIDDEN;
4828 > }
4829 >    break;
4830 >
4831 >  case 270:
4832 > /* Line 1787 of yacc.c  */
4833 > #line 1569 "conf_parser.y"
4834      {
4835 <  if (ypass == 2)
4835 >  if (conf_parser_ctx.pass == 2)
4836 >   block_state.flags.value |= LISTENER_SERVER;
4837 > }
4838 >    break;
4839 >
4840 >  case 278:
4841 > /* Line 1787 of yacc.c  */
4842 > #line 1577 "conf_parser.y"
4843 >    { block_state.flags.value = 0; }
4844 >    break;
4845 >
4846 >  case 282:
4847 > /* Line 1787 of yacc.c  */
4848 > #line 1582 "conf_parser.y"
4849 >    {
4850 >  if (conf_parser_ctx.pass == 2)
4851    {
4852 <    if ((listener_flags & LISTENER_SSL))
4852 >    if (block_state.flags.value & LISTENER_SSL)
4853   #ifdef HAVE_LIBCRYPTO
4854 <      if (!ServerInfo.ctx)
4854 >      if (!ServerInfo.server_ctx)
4855   #endif
4856        {
4857 <        yyerror("SSL not available - port closed");
4857 >        conf_error_report("SSL not available - port closed");
4858          break;
4859        }
4860 <    add_listener((yyvsp[(1) - (1)].number), listener_address, listener_flags);
4860 >    add_listener((yyvsp[(1) - (1)].number), block_state.addr.buf, block_state.flags.value);
4861    }
4862   }
4863      break;
4864  
4865 <  case 270:
4866 < #line 1745 "ircd_parser.y"
4865 >  case 283:
4866 > /* Line 1787 of yacc.c  */
4867 > #line 1596 "conf_parser.y"
4868      {
4869 <  if (ypass == 2)
4869 >  if (conf_parser_ctx.pass == 2)
4870    {
4871      int i;
4872  
4873 <    if ((listener_flags & LISTENER_SSL))
4873 >    if (block_state.flags.value & LISTENER_SSL)
4874   #ifdef HAVE_LIBCRYPTO
4875 <      if (!ServerInfo.ctx)
4875 >      if (!ServerInfo.server_ctx)
4876   #endif
4877        {
4878 <        yyerror("SSL not available - port closed");
4878 >        conf_error_report("SSL not available - port closed");
4879          break;
4880        }
4881  
4882      for (i = (yyvsp[(1) - (3)].number); i <= (yyvsp[(3) - (3)].number); ++i)
4883 <      add_listener(i, listener_address, listener_flags);
4883 >      add_listener(i, block_state.addr.buf, block_state.flags.value);
4884    }
4885   }
4886      break;
4887  
4888 <  case 271:
4889 < #line 1765 "ircd_parser.y"
4888 >  case 284:
4889 > /* Line 1787 of yacc.c  */
4890 > #line 1616 "conf_parser.y"
4891      {
4892 <  if (ypass == 2)
4893 <  {
5054 <    MyFree(listener_address);
5055 <    DupString(listener_address, yylval.string);
5056 <  }
4892 >  if (conf_parser_ctx.pass == 2)
4893 >    strlcpy(block_state.addr.buf, yylval.string, sizeof(block_state.addr.buf));
4894   }
4895      break;
4896  
4897 <  case 272:
4898 < #line 1774 "ircd_parser.y"
4897 >  case 285:
4898 > /* Line 1787 of yacc.c  */
4899 > #line 1622 "conf_parser.y"
4900      {
4901 <  if (ypass == 2)
4902 <  {
5065 <    MyFree(listener_address);
5066 <    DupString(listener_address, yylval.string);
5067 <  }
4901 >  if (conf_parser_ctx.pass == 2)
4902 >    strlcpy(block_state.addr.buf, yylval.string, sizeof(block_state.addr.buf));
4903   }
4904      break;
4905  
4906 <  case 273:
4907 < #line 1786 "ircd_parser.y"
4906 >  case 286:
4907 > /* Line 1787 of yacc.c  */
4908 > #line 1631 "conf_parser.y"
4909      {
4910 <  if (ypass == 2)
4911 <  {
5076 <    yy_conf = make_conf_item(CLIENT_TYPE);
5077 <    yy_aconf = map_to_conf(yy_conf);
5078 <  }
5079 <  else
5080 <  {
5081 <    MyFree(class_name);
5082 <    class_name = NULL;
5083 <  }
4910 >  if (conf_parser_ctx.pass == 2)
4911 >    reset_block_state();
4912   }
4913      break;
4914  
4915 <  case 274:
4916 < #line 1798 "ircd_parser.y"
4917 <    {
5090 <  if (ypass == 2)
5091 <  {
5092 <    struct CollectItem *yy_tmp = NULL;
5093 <    dlink_node *ptr = NULL, *next_ptr = NULL;
5094 <
5095 <    if (yy_aconf->user && yy_aconf->host)
5096 <    {
5097 <      conf_add_class_to_conf(yy_conf, class_name);
5098 <      add_conf_by_address(CONF_CLIENT, yy_aconf);
5099 <    }
5100 <    else
5101 <      delete_conf_item(yy_conf);
5102 <
5103 <    /* copy over settings from first struct */
5104 <    DLINK_FOREACH_SAFE(ptr, next_ptr, col_conf_list.head)
4915 >  case 287:
4916 > /* Line 1787 of yacc.c  */
4917 > #line 1635 "conf_parser.y"
4918      {
4919 <      struct AccessItem *new_aconf;
5107 <      struct ConfItem *new_conf;
4919 >  dlink_node *ptr = NULL;
4920  
4921 <      new_conf = make_conf_item(CLIENT_TYPE);
5110 <      new_aconf = map_to_conf(new_conf);
5111 <
5112 <      yy_tmp = ptr->data;
5113 <
5114 <      assert(yy_tmp->user && yy_tmp->host);
5115 <
5116 <      if (yy_aconf->passwd != NULL)
5117 <        DupString(new_aconf->passwd, yy_aconf->passwd);
5118 <      if (yy_conf->name != NULL)
5119 <        DupString(new_conf->name, yy_conf->name);
5120 <      if (yy_aconf->passwd != NULL)
5121 <        DupString(new_aconf->passwd, yy_aconf->passwd);
5122 <
5123 <      new_aconf->flags = yy_aconf->flags;
5124 <      new_aconf->port  = yy_aconf->port;
5125 <
5126 <      DupString(new_aconf->user, yy_tmp->user);
5127 <      collapse(new_aconf->user);
5128 <
5129 <      DupString(new_aconf->host, yy_tmp->host);
5130 <      collapse(new_aconf->host);
5131 <
5132 <      conf_add_class_to_conf(new_conf, class_name);
5133 <      add_conf_by_address(CONF_CLIENT, new_aconf);
5134 <      dlinkDelete(&yy_tmp->node, &col_conf_list);
5135 <      free_collect_item(yy_tmp);
5136 <    }
5137 <
5138 <    MyFree(class_name);
5139 <    class_name = NULL;
5140 <    yy_conf = NULL;
5141 <    yy_aconf = NULL;
5142 <  }
5143 < }
4921 >  if (conf_parser_ctx.pass != 2)
4922      break;
4923  
4924 <  case 294:
5147 < #line 1863 "ircd_parser.y"
5148 <    {
5149 <  if (ypass == 2)
4924 >  DLINK_FOREACH(ptr, block_state.mask.list.head)
4925    {
4926 <    struct CollectItem *yy_tmp = NULL;
4926 >    struct MaskItem *conf = NULL;
4927      struct split_nuh_item nuh;
4928  
4929 <    nuh.nuhmask  = yylval.string;
4929 >    nuh.nuhmask  = ptr->data;
4930      nuh.nickptr  = NULL;
4931 <    nuh.userptr  = userbuf;
4932 <    nuh.hostptr  = hostbuf;
5158 <
4931 >    nuh.userptr  = block_state.user.buf;
4932 >    nuh.hostptr  = block_state.host.buf;
4933      nuh.nicksize = 0;
4934 <    nuh.usersize = sizeof(userbuf);
4935 <    nuh.hostsize = sizeof(hostbuf);
5162 <
4934 >    nuh.usersize = sizeof(block_state.user.buf);
4935 >    nuh.hostsize = sizeof(block_state.host.buf);
4936      split_nuh(&nuh);
4937  
4938 <    if (yy_aconf->user == NULL)
4939 <    {
4940 <      DupString(yy_aconf->user, userbuf);
4941 <      DupString(yy_aconf->host, hostbuf);
4942 <    }
4943 <    else
4944 <    {
4945 <      yy_tmp = MyMalloc(sizeof(struct CollectItem));
4938 >    conf        = conf_make(CONF_CLIENT);
4939 >    conf->user  = xstrdup(block_state.user.buf);
4940 >    conf->host  = xstrdup(block_state.host.buf);
4941 >
4942 >    if (block_state.rpass.buf[0])
4943 >      conf->passwd = xstrdup(block_state.rpass.buf);
4944 >    if (block_state.name.buf[0])
4945 >      conf->name = xstrdup(block_state.name.buf);
4946  
4947 <      DupString(yy_tmp->user, userbuf);
4948 <      DupString(yy_tmp->host, hostbuf);
4947 >    conf->flags = block_state.flags.value;
4948 >    conf->port  = block_state.port.value;
4949  
4950 <      dlinkAdd(yy_tmp, &yy_tmp->node, &col_conf_list);
4951 <    }
4950 >    conf_add_class_to_conf(conf, block_state.class.buf);
4951 >    add_conf_by_address(CONF_CLIENT, conf);
4952    }
4953   }
4954      break;
4955  
4956 <  case 295:
4957 < #line 1900 "ircd_parser.y"
4956 >  case 299:
4957 > /* Line 1787 of yacc.c  */
4958 > #line 1678 "conf_parser.y"
4959      {
4960 <  if (ypass == 2)
4961 <  {
5188 <    /* be paranoid */
5189 <    if (yy_aconf->passwd != NULL)
5190 <      memset(yy_aconf->passwd, 0, strlen(yy_aconf->passwd));
5191 <
5192 <    MyFree(yy_aconf->passwd);
5193 <    DupString(yy_aconf->passwd, yylval.string);
5194 <  }
4960 >  if (conf_parser_ctx.pass == 2)
4961 >    dlinkAdd(xstrdup(yylval.string), make_dlink_node(), &block_state.mask.list);
4962   }
4963      break;
4964  
4965 <  case 296:
4966 < #line 1913 "ircd_parser.y"
4965 >  case 300:
4966 > /* Line 1787 of yacc.c  */
4967 > #line 1684 "conf_parser.y"
4968      {
4969 <  if (ypass == 2)
4970 <  {
5203 <    if (yylval.number)
5204 <      yy_aconf->flags |= CONF_FLAGS_SPOOF_NOTICE;
5205 <    else
5206 <      yy_aconf->flags &= ~CONF_FLAGS_SPOOF_NOTICE;
5207 <  }
4969 >  if (conf_parser_ctx.pass == 2)
4970 >    strlcpy(block_state.rpass.buf, yylval.string, sizeof(block_state.rpass.buf));
4971   }
4972      break;
4973  
4974 <  case 297:
4975 < #line 1924 "ircd_parser.y"
4974 >  case 301:
4975 > /* Line 1787 of yacc.c  */
4976 > #line 1690 "conf_parser.y"
4977      {
4978 <  if (ypass == 2)
4979 <  {
5216 <    MyFree(class_name);
5217 <    DupString(class_name, yylval.string);
5218 <  }
4978 >  if (conf_parser_ctx.pass == 2)
4979 >    strlcpy(block_state.class.buf, yylval.string, sizeof(block_state.class.buf));
4980   }
4981      break;
4982  
4983 <  case 298:
4984 < #line 1933 "ircd_parser.y"
4983 >  case 302:
4984 > /* Line 1787 of yacc.c  */
4985 > #line 1696 "conf_parser.y"
4986      {
4987 <  if (ypass == 2)
4987 >  if (conf_parser_ctx.pass == 2)
4988    {
4989      if (yylval.number)
4990 <      SetConfEncrypted(yy_aconf);
4990 >      block_state.flags.value |= CONF_FLAGS_ENCRYPTED;
4991      else
4992 <      ClearConfEncrypted(yy_aconf);
4992 >      block_state.flags.value &= ~CONF_FLAGS_ENCRYPTED;
4993    }
4994   }
4995      break;
4996  
4997 <  case 299:
4998 < #line 1944 "ircd_parser.y"
4997 >  case 303:
4998 > /* Line 1787 of yacc.c  */
4999 > #line 1707 "conf_parser.y"
5000      {
5001 +  if (conf_parser_ctx.pass == 2)
5002 +    block_state.flags.value &= (CONF_FLAGS_ENCRYPTED | CONF_FLAGS_SPOOF_IP);
5003   }
5004      break;
5005  
5241  case 303:
5242 #line 1948 "ircd_parser.y"
5243    { not_atom = 1; }
5244    break;
5245
5246  case 305:
5247 #line 1949 "ircd_parser.y"
5248    { not_atom = 0; }
5249    break;
5250
5006    case 307:
5007 < #line 1952 "ircd_parser.y"
5007 > /* Line 1787 of yacc.c  */
5008 > #line 1714 "conf_parser.y"
5009      {
5010 <  if (ypass == 2)
5011 <  {
5256 <    if (not_atom) yy_aconf->flags &= ~CONF_FLAGS_SPOOF_NOTICE;
5257 <    else yy_aconf->flags |= CONF_FLAGS_SPOOF_NOTICE;
5258 <  }
5259 <
5010 >  if (conf_parser_ctx.pass == 2)
5011 >    block_state.flags.value |= CONF_FLAGS_SPOOF_NOTICE;
5012   }
5013      break;
5014  
5015    case 308:
5016 < #line 1960 "ircd_parser.y"
5016 > /* Line 1787 of yacc.c  */
5017 > #line 1718 "conf_parser.y"
5018      {
5019 <  if (ypass == 2)
5020 <  {
5268 <    if (not_atom) yy_aconf->flags &= ~CONF_FLAGS_NOLIMIT;
5269 <    else yy_aconf->flags |= CONF_FLAGS_NOLIMIT;
5270 <  }
5019 >  if (conf_parser_ctx.pass == 2)
5020 >    block_state.flags.value |= CONF_FLAGS_NOLIMIT;
5021   }
5022      break;
5023  
5024    case 309:
5025 < #line 1967 "ircd_parser.y"
5025 > /* Line 1787 of yacc.c  */
5026 > #line 1722 "conf_parser.y"
5027      {
5028 <  if (ypass == 2)
5029 <  {
5279 <    if (not_atom) yy_aconf->flags &= ~CONF_FLAGS_EXEMPTKLINE;
5280 <    else yy_aconf->flags |= CONF_FLAGS_EXEMPTKLINE;
5281 <  }
5028 >  if (conf_parser_ctx.pass == 2)
5029 >    block_state.flags.value |= CONF_FLAGS_EXEMPTKLINE;
5030   }
5031      break;
5032  
5033    case 310:
5034 < #line 1974 "ircd_parser.y"
5034 > /* Line 1787 of yacc.c  */
5035 > #line 1726 "conf_parser.y"
5036      {
5037 <  if (ypass == 2)
5038 <  {
5290 <    if (not_atom) yy_aconf->flags &= ~CONF_FLAGS_NEED_IDENTD;
5291 <    else yy_aconf->flags |= CONF_FLAGS_NEED_IDENTD;
5292 <  }
5037 >  if (conf_parser_ctx.pass == 2)
5038 >    block_state.flags.value |= CONF_FLAGS_NEED_IDENTD;
5039   }
5040      break;
5041  
5042    case 311:
5043 < #line 1981 "ircd_parser.y"
5043 > /* Line 1787 of yacc.c  */
5044 > #line 1730 "conf_parser.y"
5045      {
5046 <  if (ypass == 2)
5047 <  {
5301 <    if (not_atom) yy_aconf->flags &= ~CONF_FLAGS_CAN_FLOOD;
5302 <    else yy_aconf->flags |= CONF_FLAGS_CAN_FLOOD;
5303 <  }
5046 >  if (conf_parser_ctx.pass == 2)
5047 >    block_state.flags.value |= CONF_FLAGS_CAN_FLOOD;
5048   }
5049      break;
5050  
5051    case 312:
5052 < #line 1988 "ircd_parser.y"
5052 > /* Line 1787 of yacc.c  */
5053 > #line 1734 "conf_parser.y"
5054      {
5055 <  if (ypass == 2)
5056 <  {
5312 <    if (not_atom) yy_aconf->flags &= ~CONF_FLAGS_IDLE_LINED;
5313 <    else yy_aconf->flags |= CONF_FLAGS_IDLE_LINED;
5314 <  }
5055 >  if (conf_parser_ctx.pass == 2)
5056 >    block_state.flags.value |= CONF_FLAGS_NO_TILDE;
5057   }
5058      break;
5059  
5060    case 313:
5061 < #line 1995 "ircd_parser.y"
5061 > /* Line 1787 of yacc.c  */
5062 > #line 1738 "conf_parser.y"
5063      {
5064 <  if (ypass == 2)
5065 <  {
5323 <    if (not_atom) yy_aconf->flags &= ~CONF_FLAGS_NO_TILDE;
5324 <    else yy_aconf->flags |= CONF_FLAGS_NO_TILDE;
5325 <  }
5064 >  if (conf_parser_ctx.pass == 2)
5065 >    block_state.flags.value |= CONF_FLAGS_EXEMPTGLINE;
5066   }
5067      break;
5068  
5069    case 314:
5070 < #line 2002 "ircd_parser.y"
5070 > /* Line 1787 of yacc.c  */
5071 > #line 1742 "conf_parser.y"
5072      {
5073 <  if (ypass == 2)
5074 <  {
5334 <    if (not_atom) yy_aconf->flags &= ~CONF_FLAGS_EXEMPTGLINE;
5335 <    else yy_aconf->flags |= CONF_FLAGS_EXEMPTGLINE;
5336 <  }
5073 >  if (conf_parser_ctx.pass == 2)
5074 >    block_state.flags.value |= CONF_FLAGS_EXEMPTRESV;
5075   }
5076      break;
5077  
5078    case 315:
5079 < #line 2009 "ircd_parser.y"
5079 > /* Line 1787 of yacc.c  */
5080 > #line 1746 "conf_parser.y"
5081      {
5082 <  if (ypass == 2)
5083 <  {
5345 <    if (not_atom) yy_aconf->flags &= ~CONF_FLAGS_EXEMPTRESV;
5346 <    else yy_aconf->flags |= CONF_FLAGS_EXEMPTRESV;
5347 <  }
5082 >  if (conf_parser_ctx.pass == 2)
5083 >    block_state.flags.value |= CONF_FLAGS_WEBIRC;
5084   }
5085      break;
5086  
5087    case 316:
5088 < #line 2016 "ircd_parser.y"
5088 > /* Line 1787 of yacc.c  */
5089 > #line 1750 "conf_parser.y"
5090      {
5091 <  if (ypass == 2)
5092 <  {
5356 <    if (not_atom) yy_aconf->flags &= ~CONF_FLAGS_NEED_PASSWORD;
5357 <    else yy_aconf->flags |= CONF_FLAGS_NEED_PASSWORD;
5358 <  }
5091 >  if (conf_parser_ctx.pass == 2)
5092 >    block_state.flags.value |= CONF_FLAGS_NEED_PASSWORD;
5093   }
5094      break;
5095  
5096    case 317:
5097 < #line 2025 "ircd_parser.y"
5097 > /* Line 1787 of yacc.c  */
5098 > #line 1756 "conf_parser.y"
5099      {
5100 <  if (ypass == 2)
5366 <  {
5367 <    if (yylval.number)
5368 <      yy_aconf->flags |= CONF_FLAGS_EXEMPTKLINE;
5369 <    else
5370 <      yy_aconf->flags &= ~CONF_FLAGS_EXEMPTKLINE;
5371 <  }
5372 < }
5100 >  if (conf_parser_ctx.pass != 2)
5101      break;
5102  
5103 <  case 318:
5376 < #line 2036 "ircd_parser.y"
5377 <    {
5378 <  if (ypass == 2)
5103 >  if (strlen(yylval.string) <= HOSTLEN && valid_hostname(yylval.string))
5104    {
5105 <    if (yylval.number)
5106 <      yy_aconf->flags |= CONF_FLAGS_NEED_IDENTD;
5382 <    else
5383 <      yy_aconf->flags &= ~CONF_FLAGS_NEED_IDENTD;
5105 >    strlcpy(block_state.name.buf, yylval.string, sizeof(block_state.name.buf));
5106 >    block_state.flags.value |= CONF_FLAGS_SPOOF_IP;
5107    }
5108 +  else
5109 +    ilog(LOG_TYPE_IRCD, "Spoof either is too long or contains invalid characters. Ignoring it.");
5110   }
5111      break;
5112  
5113 <  case 319:
5114 < #line 2047 "ircd_parser.y"
5113 >  case 318:
5114 > /* Line 1787 of yacc.c  */
5115 > #line 1770 "conf_parser.y"
5116      {
5117 <  if (ypass == 2)
5392 <  {
5393 <    if (yylval.number)
5394 <      yy_aconf->flags |= CONF_FLAGS_NOLIMIT;
5395 <    else
5396 <      yy_aconf->flags &= ~CONF_FLAGS_NOLIMIT;
5397 <  }
5398 < }
5117 >  if (conf_parser_ctx.pass != 2)
5118      break;
5119  
5120 <  case 320:
5121 < #line 2058 "ircd_parser.y"
5403 <    {
5404 <  if (ypass == 2)
5405 <  {
5406 <    if (yylval.number)
5407 <      yy_aconf->flags |= CONF_FLAGS_CAN_FLOOD;
5408 <    else
5409 <      yy_aconf->flags &= ~CONF_FLAGS_CAN_FLOOD;
5410 <  }
5120 >  strlcpy(block_state.name.buf, yylval.string, sizeof(block_state.name.buf));
5121 >  block_state.flags.value |= CONF_FLAGS_REDIR;
5122   }
5123      break;
5124  
5125 <  case 321:
5126 < #line 2069 "ircd_parser.y"
5125 >  case 319:
5126 > /* Line 1787 of yacc.c  */
5127 > #line 1779 "conf_parser.y"
5128      {
5129 <  if (ypass == 2)
5418 <  {
5419 <    if (yylval.number)
5420 <      yy_aconf->flags |= CONF_FLAGS_NO_TILDE;
5421 <    else
5422 <      yy_aconf->flags &= ~CONF_FLAGS_NO_TILDE;
5423 <  }
5424 < }
5129 >  if (conf_parser_ctx.pass != 2)
5130      break;
5131  
5132 <  case 322:
5133 < #line 2080 "ircd_parser.y"
5429 <    {
5430 <  if (ypass == 2)
5431 <  {
5432 <    if (yylval.number)
5433 <      yy_aconf->flags |= CONF_FLAGS_EXEMPTGLINE;
5434 <    else
5435 <      yy_aconf->flags &= ~CONF_FLAGS_EXEMPTGLINE;
5436 <  }
5132 >  block_state.flags.value |= CONF_FLAGS_REDIR;
5133 >  block_state.port.value = (yyvsp[(3) - (4)].number);
5134   }
5135      break;
5136  
5137 <  case 323:
5138 < #line 2092 "ircd_parser.y"
5139 <    {
5443 <  if (ypass == 2)
5444 <  {
5445 <    MyFree(yy_conf->name);
5446 <
5447 <    if (strlen(yylval.string) < HOSTLEN)
5448 <    {    
5449 <      DupString(yy_conf->name, yylval.string);
5450 <      yy_aconf->flags |= CONF_FLAGS_SPOOF_IP;
5451 <    }
5452 <    else
5137 >  case 320:
5138 > /* Line 1787 of yacc.c  */
5139 > #line 1792 "conf_parser.y"
5140      {
5141 <      ilog(L_ERROR, "Spoofs must be less than %d..ignoring it", HOSTLEN);
5455 <      yy_conf->name = NULL;
5456 <    }
5457 <  }
5458 < }
5141 >  if (conf_parser_ctx.pass != 2)
5142      break;
5143  
5144 <  case 324:
5145 < #line 2111 "ircd_parser.y"
5463 <    {
5464 <  if (ypass == 2)
5465 <  {
5466 <    yy_aconf->flags |= CONF_FLAGS_REDIR;
5467 <    MyFree(yy_conf->name);
5468 <    DupString(yy_conf->name, yylval.string);
5469 <  }
5144 >  reset_block_state();
5145 >  strlcpy(block_state.rpass.buf, CONF_NOREASON, sizeof(block_state.rpass.buf));
5146   }
5147      break;
5148  
5149 <  case 325:
5150 < #line 2121 "ircd_parser.y"
5149 >  case 321:
5150 > /* Line 1787 of yacc.c  */
5151 > #line 1799 "conf_parser.y"
5152      {
5153 <  if (ypass == 2)
5477 <  {
5478 <    yy_aconf->flags |= CONF_FLAGS_REDIR;
5479 <    yy_aconf->port = (yyvsp[(3) - (4)].number);
5480 <  }
5481 < }
5153 >  if (conf_parser_ctx.pass != 2)
5154      break;
5155  
5156 <  case 326:
5485 < #line 2130 "ircd_parser.y"
5486 <    {
5487 <  if (ypass == 2)
5488 <  {
5489 <    if (yylval.number)
5490 <      yy_aconf->flags |= CONF_FLAGS_NEED_PASSWORD;
5491 <    else
5492 <      yy_aconf->flags &= ~CONF_FLAGS_NEED_PASSWORD;
5493 <  }
5156 >  create_resv(block_state.name.buf, block_state.rpass.buf, &block_state.mask.list);
5157   }
5158      break;
5159  
5160 <  case 327:
5161 < #line 2145 "ircd_parser.y"
5160 >  case 328:
5161 > /* Line 1787 of yacc.c  */
5162 > #line 1810 "conf_parser.y"
5163      {
5164 <  if (ypass == 2)
5165 <  {
5502 <    MyFree(resv_reason);
5503 <    resv_reason = NULL;
5504 <  }
5164 >  if (conf_parser_ctx.pass == 2)
5165 >    strlcpy(block_state.name.buf, yylval.string, sizeof(block_state.name.buf));
5166   }
5167      break;
5168  
5169 <  case 328:
5170 < #line 2152 "ircd_parser.y"
5169 >  case 329:
5170 > /* Line 1787 of yacc.c  */
5171 > #line 1816 "conf_parser.y"
5172      {
5173 <  if (ypass == 2)
5174 <  {
5513 <    MyFree(resv_reason);
5514 <    resv_reason = NULL;
5515 <  }
5173 >  if (conf_parser_ctx.pass == 2)
5174 >    strlcpy(block_state.rpass.buf, yylval.string, sizeof(block_state.rpass.buf));
5175   }
5176      break;
5177  
5178 <  case 335:
5179 < #line 2164 "ircd_parser.y"
5178 >  case 330:
5179 > /* Line 1787 of yacc.c  */
5180 > #line 1822 "conf_parser.y"
5181      {
5182 <  if (ypass == 2)
5183 <  {
5524 <    MyFree(resv_reason);
5525 <    DupString(resv_reason, yylval.string);
5526 <  }
5182 >  if (conf_parser_ctx.pass == 2)
5183 >    dlinkAdd(xstrdup(yylval.string), make_dlink_node(), &block_state.mask.list);
5184   }
5185      break;
5186  
5187    case 336:
5188 < #line 2173 "ircd_parser.y"
5189 <    {
5533 <  if (ypass == 2)
5534 <  {
5535 <    if (IsChanPrefix(*yylval.string))
5188 > /* Line 1787 of yacc.c  */
5189 > #line 1837 "conf_parser.y"
5190      {
5191 <      char def_reason[] = "No reason";
5191 >  if (conf_parser_ctx.pass != 2)
5192 >    break;
5193  
5194 <      create_channel_resv(yylval.string, resv_reason != NULL ? resv_reason : def_reason, 1);
5195 <    }
5194 >  if (valid_servname(yylval.string))
5195 >  {
5196 >    struct MaskItem *conf = conf_make(CONF_SERVICE);
5197 >    conf->name = xstrdup(yylval.string);
5198    }
5542  /* ignore it for now.. but we really should make a warning if
5543   * its an erroneous name --fl_ */
5199   }
5200      break;
5201  
5202    case 337:
5203 < #line 2188 "ircd_parser.y"
5203 > /* Line 1787 of yacc.c  */
5204 > #line 1852 "conf_parser.y"
5205      {
5206 <  if (ypass == 2)
5207 <  {
5552 <    char def_reason[] = "No reason";
5206 >  if (conf_parser_ctx.pass != 2)
5207 >    break;
5208  
5209 <    create_nick_resv(yylval.string, resv_reason != NULL ? resv_reason : def_reason, 1);
5210 <  }
5209 >  reset_block_state();
5210 >
5211 >  strlcpy(block_state.name.buf, "*", sizeof(block_state.name.buf));
5212 >  strlcpy(block_state.user.buf, "*", sizeof(block_state.user.buf));
5213 >  strlcpy(block_state.host.buf, "*", sizeof(block_state.host.buf));
5214 >  block_state.flags.value = SHARED_ALL;
5215   }
5216      break;
5217  
5218    case 338:
5219 < #line 2201 "ircd_parser.y"
5219 > /* Line 1787 of yacc.c  */
5220 > #line 1863 "conf_parser.y"
5221      {
5222 <  if (ypass == 2)
5223 <  {
5224 <    yy_conf = make_conf_item(ULINE_TYPE);
5565 <    yy_match_item = map_to_conf(yy_conf);
5566 <    yy_match_item->action = SHARED_ALL;
5567 <  }
5568 < }
5222 >  struct MaskItem *conf = NULL;
5223 >
5224 >  if (conf_parser_ctx.pass != 2)
5225      break;
5226  
5227 <  case 339:
5228 < #line 2209 "ircd_parser.y"
5229 <    {
5230 <  if (ypass == 2)
5231 <  {
5576 <    yy_conf = NULL;
5577 <  }
5227 >  conf = conf_make(CONF_ULINE);
5228 >  conf->flags = block_state.flags.value;
5229 >  conf->name = xstrdup(block_state.name.buf);
5230 >  conf->user = xstrdup(block_state.user.buf);
5231 >  conf->host = xstrdup(block_state.host.buf);
5232   }
5233      break;
5234  
5235 <  case 346:
5236 < #line 2220 "ircd_parser.y"
5235 >  case 345:
5236 > /* Line 1787 of yacc.c  */
5237 > #line 1880 "conf_parser.y"
5238      {
5239 <  if (ypass == 2)
5240 <  {
5586 <    MyFree(yy_conf->name);
5587 <    DupString(yy_conf->name, yylval.string);
5588 <  }
5239 >  if (conf_parser_ctx.pass == 2)
5240 >    strlcpy(block_state.name.buf, yylval.string, sizeof(block_state.name.buf));
5241   }
5242      break;
5243  
5244 <  case 347:
5245 < #line 2229 "ircd_parser.y"
5244 >  case 346:
5245 > /* Line 1787 of yacc.c  */
5246 > #line 1886 "conf_parser.y"
5247      {
5248 <  if (ypass == 2)
5248 >  if (conf_parser_ctx.pass == 2)
5249    {
5250      struct split_nuh_item nuh;
5251  
5252      nuh.nuhmask  = yylval.string;
5253      nuh.nickptr  = NULL;
5254 <    nuh.userptr  = userbuf;
5255 <    nuh.hostptr  = hostbuf;
5254 >    nuh.userptr  = block_state.user.buf;
5255 >    nuh.hostptr  = block_state.host.buf;
5256  
5257      nuh.nicksize = 0;
5258 <    nuh.usersize = sizeof(userbuf);
5259 <    nuh.hostsize = sizeof(hostbuf);
5258 >    nuh.usersize = sizeof(block_state.user.buf);
5259 >    nuh.hostsize = sizeof(block_state.host.buf);
5260  
5261      split_nuh(&nuh);
5609
5610    DupString(yy_match_item->user, userbuf);
5611    DupString(yy_match_item->host, hostbuf);
5262    }
5263   }
5264      break;
5265  
5266 <  case 348:
5267 < #line 2251 "ircd_parser.y"
5266 >  case 347:
5267 > /* Line 1787 of yacc.c  */
5268 > #line 1905 "conf_parser.y"
5269 >    {
5270 >  if (conf_parser_ctx.pass == 2)
5271 >    block_state.flags.value = 0;
5272 > }
5273 >    break;
5274 >
5275 >  case 351:
5276 > /* Line 1787 of yacc.c  */
5277 > #line 1912 "conf_parser.y"
5278      {
5279 <  if (ypass == 2)
5280 <    yy_match_item->action = 0;
5279 >  if (conf_parser_ctx.pass == 2)
5280 >    block_state.flags.value |= SHARED_KLINE;
5281   }
5282      break;
5283  
5284    case 352:
5285 < #line 2258 "ircd_parser.y"
5285 > /* Line 1787 of yacc.c  */
5286 > #line 1916 "conf_parser.y"
5287      {
5288 <  if (ypass == 2)
5289 <    yy_match_item->action |= SHARED_KLINE;
5288 >  if (conf_parser_ctx.pass == 2)
5289 >    block_state.flags.value |= SHARED_UNKLINE;
5290   }
5291      break;
5292  
5293    case 353:
5294 < #line 2262 "ircd_parser.y"
5294 > /* Line 1787 of yacc.c  */
5295 > #line 1920 "conf_parser.y"
5296      {
5297 <  if (ypass == 2)
5298 <    yy_match_item->action |= SHARED_TKLINE;
5297 >  if (conf_parser_ctx.pass == 2)
5298 >    block_state.flags.value |= SHARED_DLINE;
5299   }
5300      break;
5301  
5302    case 354:
5303 < #line 2266 "ircd_parser.y"
5303 > /* Line 1787 of yacc.c  */
5304 > #line 1924 "conf_parser.y"
5305      {
5306 <  if (ypass == 2)
5307 <    yy_match_item->action |= SHARED_UNKLINE;
5306 >  if (conf_parser_ctx.pass == 2)
5307 >    block_state.flags.value |= SHARED_UNDLINE;
5308   }
5309      break;
5310  
5311    case 355:
5312 < #line 2270 "ircd_parser.y"
5312 > /* Line 1787 of yacc.c  */
5313 > #line 1928 "conf_parser.y"
5314      {
5315 <  if (ypass == 2)
5316 <    yy_match_item->action |= SHARED_XLINE;
5315 >  if (conf_parser_ctx.pass == 2)
5316 >    block_state.flags.value |= SHARED_XLINE;
5317   }
5318      break;
5319  
5320    case 356:
5321 < #line 2274 "ircd_parser.y"
5321 > /* Line 1787 of yacc.c  */
5322 > #line 1932 "conf_parser.y"
5323      {
5324 <  if (ypass == 2)
5325 <    yy_match_item->action |= SHARED_TXLINE;
5324 >  if (conf_parser_ctx.pass == 2)
5325 >    block_state.flags.value |= SHARED_UNXLINE;
5326   }
5327      break;
5328  
5329    case 357:
5330 < #line 2278 "ircd_parser.y"
5330 > /* Line 1787 of yacc.c  */
5331 > #line 1936 "conf_parser.y"
5332      {
5333 <  if (ypass == 2)
5334 <    yy_match_item->action |= SHARED_UNXLINE;
5333 >  if (conf_parser_ctx.pass == 2)
5334 >    block_state.flags.value |= SHARED_RESV;
5335   }
5336      break;
5337  
5338    case 358:
5339 < #line 2282 "ircd_parser.y"
5339 > /* Line 1787 of yacc.c  */
5340 > #line 1940 "conf_parser.y"
5341      {
5342 <  if (ypass == 2)
5343 <    yy_match_item->action |= SHARED_RESV;
5342 >  if (conf_parser_ctx.pass == 2)
5343 >    block_state.flags.value |= SHARED_UNRESV;
5344   }
5345      break;
5346  
5347    case 359:
5348 < #line 2286 "ircd_parser.y"
5348 > /* Line 1787 of yacc.c  */
5349 > #line 1944 "conf_parser.y"
5350      {
5351 <  if (ypass == 2)
5352 <    yy_match_item->action |= SHARED_TRESV;
5351 >  if (conf_parser_ctx.pass == 2)
5352 >    block_state.flags.value |= SHARED_LOCOPS;
5353   }
5354      break;
5355  
5356    case 360:
5357 < #line 2290 "ircd_parser.y"
5357 > /* Line 1787 of yacc.c  */
5358 > #line 1948 "conf_parser.y"
5359      {
5360 <  if (ypass == 2)
5361 <    yy_match_item->action |= SHARED_UNRESV;
5360 >  if (conf_parser_ctx.pass == 2)
5361 >    block_state.flags.value = SHARED_ALL;
5362   }
5363      break;
5364  
5365    case 361:
5366 < #line 2294 "ircd_parser.y"
5366 > /* Line 1787 of yacc.c  */
5367 > #line 1957 "conf_parser.y"
5368      {
5369 <  if (ypass == 2)
5370 <    yy_match_item->action |= SHARED_LOCOPS;
5369 >  if (conf_parser_ctx.pass != 2)
5370 >    break;
5371 >
5372 >  reset_block_state();
5373 >
5374 >  strlcpy(block_state.name.buf, "*", sizeof(block_state.name.buf));
5375 >  block_state.flags.value = SHARED_ALL;
5376   }
5377      break;
5378  
5379    case 362:
5380 < #line 2298 "ircd_parser.y"
5380 > /* Line 1787 of yacc.c  */
5381 > #line 1966 "conf_parser.y"
5382      {
5383 <  if (ypass == 2)
5384 <    yy_match_item->action = SHARED_ALL;
5383 >  struct MaskItem *conf = NULL;
5384 >
5385 >  if (conf_parser_ctx.pass != 2)
5386 >    break;
5387 >
5388 >  conf = conf_make(CONF_CLUSTER);
5389 >  conf->flags = block_state.flags.value;
5390 >  conf->name = xstrdup(block_state.name.buf);
5391   }
5392      break;
5393  
5394 <  case 363:
5395 < #line 2307 "ircd_parser.y"
5394 >  case 368:
5395 > /* Line 1787 of yacc.c  */
5396 > #line 1981 "conf_parser.y"
5397      {
5398 <  if (ypass == 2)
5399 <  {
5717 <    yy_conf = make_conf_item(CLUSTER_TYPE);
5718 <    yy_conf->flags = SHARED_ALL;
5719 <  }
5398 >  if (conf_parser_ctx.pass == 2)
5399 >    strlcpy(block_state.name.buf, yylval.string, sizeof(block_state.name.buf));
5400   }
5401      break;
5402  
5403 <  case 364:
5404 < #line 2314 "ircd_parser.y"
5403 >  case 369:
5404 > /* Line 1787 of yacc.c  */
5405 > #line 1987 "conf_parser.y"
5406      {
5407 <  if (ypass == 2)
5408 <  {
5728 <    if (yy_conf->name == NULL)
5729 <      DupString(yy_conf->name, "*");
5730 <    yy_conf = NULL;
5731 <  }
5407 >  if (conf_parser_ctx.pass == 2)
5408 >    block_state.flags.value = 0;
5409   }
5410      break;
5411  
5412 <  case 370:
5413 < #line 2327 "ircd_parser.y"
5412 >  case 373:
5413 > /* Line 1787 of yacc.c  */
5414 > #line 1994 "conf_parser.y"
5415      {
5416 <  if (ypass == 2)
5417 <    DupString(yy_conf->name, yylval.string);
5416 >  if (conf_parser_ctx.pass == 2)
5417 >    block_state.flags.value |= SHARED_KLINE;
5418   }
5419      break;
5420  
5421 <  case 371:
5422 < #line 2333 "ircd_parser.y"
5421 >  case 374:
5422 > /* Line 1787 of yacc.c  */
5423 > #line 1998 "conf_parser.y"
5424      {
5425 <  if (ypass == 2)
5426 <    yy_conf->flags = 0;
5425 >  if (conf_parser_ctx.pass == 2)
5426 >    block_state.flags.value |= SHARED_UNKLINE;
5427   }
5428      break;
5429  
5430    case 375:
5431 < #line 2340 "ircd_parser.y"
5431 > /* Line 1787 of yacc.c  */
5432 > #line 2002 "conf_parser.y"
5433      {
5434 <  if (ypass == 2)
5435 <    yy_conf->flags |= SHARED_KLINE;
5434 >  if (conf_parser_ctx.pass == 2)
5435 >    block_state.flags.value |= SHARED_DLINE;
5436   }
5437      break;
5438  
5439    case 376:
5440 < #line 2344 "ircd_parser.y"
5440 > /* Line 1787 of yacc.c  */
5441 > #line 2006 "conf_parser.y"
5442      {
5443 <  if (ypass == 2)
5444 <    yy_conf->flags |= SHARED_TKLINE;
5443 >  if (conf_parser_ctx.pass == 2)
5444 >    block_state.flags.value |= SHARED_UNDLINE;
5445   }
5446      break;
5447  
5448    case 377:
5449 < #line 2348 "ircd_parser.y"
5449 > /* Line 1787 of yacc.c  */
5450 > #line 2010 "conf_parser.y"
5451      {
5452 <  if (ypass == 2)
5453 <    yy_conf->flags |= SHARED_UNKLINE;
5452 >  if (conf_parser_ctx.pass == 2)
5453 >    block_state.flags.value |= SHARED_XLINE;
5454   }
5455      break;
5456  
5457    case 378:
5458 < #line 2352 "ircd_parser.y"
5458 > /* Line 1787 of yacc.c  */
5459 > #line 2014 "conf_parser.y"
5460      {
5461 <  if (ypass == 2)
5462 <    yy_conf->flags |= SHARED_XLINE;
5461 >  if (conf_parser_ctx.pass == 2)
5462 >    block_state.flags.value |= SHARED_UNXLINE;
5463   }
5464      break;
5465  
5466    case 379:
5467 < #line 2356 "ircd_parser.y"
5467 > /* Line 1787 of yacc.c  */
5468 > #line 2018 "conf_parser.y"
5469      {
5470 <  if (ypass == 2)
5471 <    yy_conf->flags |= SHARED_TXLINE;
5470 >  if (conf_parser_ctx.pass == 2)
5471 >    block_state.flags.value |= SHARED_RESV;
5472   }
5473      break;
5474  
5475    case 380:
5476 < #line 2360 "ircd_parser.y"
5476 > /* Line 1787 of yacc.c  */
5477 > #line 2022 "conf_parser.y"
5478      {
5479 <  if (ypass == 2)
5480 <    yy_conf->flags |= SHARED_UNXLINE;
5479 >  if (conf_parser_ctx.pass == 2)
5480 >    block_state.flags.value |= SHARED_UNRESV;
5481   }
5482      break;
5483  
5484    case 381:
5485 < #line 2364 "ircd_parser.y"
5485 > /* Line 1787 of yacc.c  */
5486 > #line 2026 "conf_parser.y"
5487      {
5488 <  if (ypass == 2)
5489 <    yy_conf->flags |= SHARED_RESV;
5488 >  if (conf_parser_ctx.pass == 2)
5489 >    block_state.flags.value |= SHARED_LOCOPS;
5490   }
5491      break;
5492  
5493    case 382:
5494 < #line 2368 "ircd_parser.y"
5494 > /* Line 1787 of yacc.c  */
5495 > #line 2030 "conf_parser.y"
5496      {
5497 <  if (ypass == 2)
5498 <    yy_conf->flags |= SHARED_TRESV;
5497 >  if (conf_parser_ctx.pass == 2)
5498 >    block_state.flags.value = SHARED_ALL;
5499   }
5500      break;
5501  
5502    case 383:
5503 < #line 2372 "ircd_parser.y"
5503 > /* Line 1787 of yacc.c  */
5504 > #line 2039 "conf_parser.y"
5505      {
5818  if (ypass == 2)
5819    yy_conf->flags |= SHARED_UNRESV;
5820 }
5821    break;
5506  
5507 <  case 384:
5824 < #line 2376 "ircd_parser.y"
5825 <    {
5826 <  if (ypass == 2)
5827 <    yy_conf->flags |= SHARED_LOCOPS;
5828 < }
5507 >  if (conf_parser_ctx.pass != 2)
5508      break;
5509  
5510 <  case 385:
5511 < #line 2380 "ircd_parser.y"
5833 <    {
5834 <  if (ypass == 2)
5835 <    yy_conf->flags = SHARED_ALL;
5510 >  reset_block_state();
5511 >  block_state.port.value = PORTNUM;
5512   }
5513      break;
5514  
5515 <  case 386:
5516 < #line 2389 "ircd_parser.y"
5515 >  case 384:
5516 > /* Line 1787 of yacc.c  */
5517 > #line 2047 "conf_parser.y"
5518      {
5519 <  if (ypass == 2)
5520 <  {
5844 <    yy_conf = make_conf_item(SERVER_TYPE);
5845 <    yy_aconf = (struct AccessItem *)map_to_conf(yy_conf);
5846 <    yy_aconf->passwd = NULL;
5847 <    /* defaults */
5848 <    yy_aconf->port = PORTNUM;
5519 >  struct MaskItem *conf = NULL;
5520 >  struct addrinfo hints, *res;
5521  
5522 <    if (ConfigFileEntry.burst_away)
5851 <      yy_aconf->flags = CONF_FLAGS_BURST_AWAY;
5852 <  }
5853 <  else
5854 <  {
5855 <    MyFree(class_name);
5856 <    class_name = NULL;
5857 <  }
5858 < }
5522 >  if (conf_parser_ctx.pass != 2)
5523      break;
5524  
5525 <  case 387:
5526 < #line 2407 "ircd_parser.y"
5863 <    {
5864 <  if (ypass == 2)
5865 <  {
5866 <    struct CollectItem *yy_hconf=NULL;
5867 <    struct CollectItem *yy_lconf=NULL;
5868 <    dlink_node *ptr;
5869 <    dlink_node *next_ptr;
5870 < #ifdef HAVE_LIBCRYPTO
5871 <    if (yy_aconf->host &&
5872 <        ((yy_aconf->passwd && yy_aconf->spasswd) ||
5873 <         (yy_aconf->rsa_public_key && IsConfCryptLink(yy_aconf))))
5874 < #else /* !HAVE_LIBCRYPTO */
5875 <      if (yy_aconf->host && !IsConfCryptLink(yy_aconf) &&
5876 <          yy_aconf->passwd && yy_aconf->spasswd)
5877 < #endif /* !HAVE_LIBCRYPTO */
5878 <        {
5879 <          if (conf_add_server(yy_conf, class_name) == -1)
5880 <          {
5881 <            delete_conf_item(yy_conf);
5882 <            yy_conf = NULL;
5883 <            yy_aconf = NULL;
5884 <          }
5885 <        }
5886 <        else
5887 <        {
5888 <          /* Even if yy_conf ->name is NULL
5889 <           * should still unhook any hub/leaf confs still pending
5890 <           */
5891 <          unhook_hub_leaf_confs();
5892 <
5893 <          if (yy_conf->name != NULL)
5894 <          {
5895 < #ifndef HAVE_LIBCRYPTO
5896 <            if (IsConfCryptLink(yy_aconf))
5897 <              yyerror("Ignoring connect block -- no OpenSSL support");
5898 < #else
5899 <            if (IsConfCryptLink(yy_aconf) && !yy_aconf->rsa_public_key)
5900 <              yyerror("Ignoring connect block -- missing key");
5901 < #endif
5902 <            if (yy_aconf->host == NULL)
5903 <              yyerror("Ignoring connect block -- missing host");
5904 <            else if (!IsConfCryptLink(yy_aconf) &&
5905 <                    (!yy_aconf->passwd || !yy_aconf->spasswd))
5906 <              yyerror("Ignoring connect block -- missing password");
5907 <          }
5908 <
5909 <
5910 <          /* XXX
5911 <           * This fixes a try_connections() core (caused by invalid class_ptr
5912 <           * pointers) reported by metalrock. That's an ugly fix, but there
5913 <           * is currently no better way. The entire config subsystem needs an
5914 <           * rewrite ASAP. make_conf_item() shouldn't really add things onto
5915 <           * a doubly linked list immediately without any sanity checks!  -Michael
5916 <           */
5917 <          delete_conf_item(yy_conf);
5918 <
5919 <          yy_aconf = NULL;
5920 <          yy_conf = NULL;
5921 <        }
5922 <
5923 <      /*
5924 <       * yy_conf is still pointing at the server that is having
5925 <       * a connect block built for it. This means, y_aconf->name
5926 <       * points to the actual irc name this server will be known as.
5927 <       * Now this new server has a set or even just one hub_mask (or leaf_mask)
5928 <       * given in the link list at yy_hconf. Fill in the HUB confs
5929 <       * from this link list now.
5930 <       */        
5931 <      DLINK_FOREACH_SAFE(ptr, next_ptr, hub_conf_list.head)
5932 <      {
5933 <        struct ConfItem *new_hub_conf;
5934 <        struct MatchItem *match_item;
5935 <
5936 <        yy_hconf = ptr->data;
5937 <
5938 <        /* yy_conf == NULL is a fatal error for this connect block! */
5939 <        if ((yy_conf != NULL) && (yy_conf->name != NULL))
5940 <        {
5941 <          new_hub_conf = make_conf_item(HUB_TYPE);
5942 <          match_item = (struct MatchItem *)map_to_conf(new_hub_conf);
5943 <          DupString(new_hub_conf->name, yy_conf->name);
5944 <          if (yy_hconf->user != NULL)
5945 <            DupString(match_item->user, yy_hconf->user);
5946 <          else
5947 <            DupString(match_item->user, "*");
5948 <          if (yy_hconf->host != NULL)
5949 <            DupString(match_item->host, yy_hconf->host);
5950 <          else
5951 <            DupString(match_item->host, "*");
5952 <        }
5953 <        dlinkDelete(&yy_hconf->node, &hub_conf_list);
5954 <        free_collect_item(yy_hconf);
5955 <      }
5956 <
5957 <      /* Ditto for the LEAF confs */
5958 <
5959 <      DLINK_FOREACH_SAFE(ptr, next_ptr, leaf_conf_list.head)
5960 <      {
5961 <        struct ConfItem *new_leaf_conf;
5962 <        struct MatchItem *match_item;
5963 <
5964 <        yy_lconf = ptr->data;
5965 <
5966 <        if ((yy_conf != NULL) && (yy_conf->name != NULL))
5967 <        {
5968 <          new_leaf_conf = make_conf_item(LEAF_TYPE);
5969 <          match_item = (struct MatchItem *)map_to_conf(new_leaf_conf);
5970 <          DupString(new_leaf_conf->name, yy_conf->name);
5971 <          if (yy_lconf->user != NULL)
5972 <            DupString(match_item->user, yy_lconf->user);
5973 <          else
5974 <            DupString(match_item->user, "*");
5975 <          if (yy_lconf->host != NULL)
5976 <            DupString(match_item->host, yy_lconf->host);
5977 <          else
5978 <            DupString(match_item->host, "*");
5979 <        }
5980 <        dlinkDelete(&yy_lconf->node, &leaf_conf_list);
5981 <        free_collect_item(yy_lconf);
5982 <      }
5983 <      MyFree(class_name);
5984 <      class_name = NULL;
5985 <      yy_conf = NULL;
5986 <      yy_aconf = NULL;
5987 <  }
5988 < }
5525 >  if (!block_state.name.buf[0] ||
5526 >      !block_state.host.buf[0])
5527      break;
5528  
5529 <  case 412:
5530 < #line 2546 "ircd_parser.y"
5531 <    {
5994 <  if (ypass == 2)
5995 <  {
5996 <    if (yy_conf->name != NULL)
5997 <      yyerror("Multiple connect name entry");
5529 >  if (!block_state.rpass.buf[0] ||
5530 >      !block_state.spass.buf[0])
5531 >    break;
5532  
5533 <    MyFree(yy_conf->name);
5534 <    DupString(yy_conf->name, yylval.string);
6001 <  }
6002 < }
5533 >  if (has_wildcards(block_state.name.buf) ||
5534 >      has_wildcards(block_state.host.buf))
5535      break;
5536  
5537 <  case 413:
5538 < #line 2558 "ircd_parser.y"
5539 <    {
5540 <  if (ypass == 2)
5541 <  {
5542 <    if (yy_conf->name != NULL)
5543 <      yyerror("Multiple connect name entry");
5537 >  conf = conf_make(CONF_SERVER);
5538 >  conf->port = block_state.port.value;
5539 >  conf->flags = block_state.flags.value;
5540 >  conf->aftype = block_state.aftype.value;
5541 >  conf->host = xstrdup(block_state.host.buf);
5542 >  conf->name = xstrdup(block_state.name.buf);
5543 >  conf->passwd = xstrdup(block_state.rpass.buf);
5544 >  conf->spasswd = xstrdup(block_state.spass.buf);
5545  
5546 <    MyFree(yy_conf->name);
5547 <    DupString(yy_conf->name, yylval.string);
6015 <  }
6016 < }
6017 <    break;
5546 >  if (block_state.cert.buf[0])
5547 >    conf->certfp = xstrdup(block_state.cert.buf);
5548  
5549 <  case 414:
5550 < #line 2570 "ircd_parser.y"
6021 <    {
6022 <  if (ypass == 2)
6023 <  {
6024 <    MyFree(yy_aconf->host);
6025 <    DupString(yy_aconf->host, yylval.string);
6026 <  }
6027 < }
6028 <    break;
5549 >  if (block_state.ciph.buf[0])
5550 >    conf->cipher_list = xstrdup(block_state.ciph.buf);
5551  
5552 <  case 415:
5553 < #line 2579 "ircd_parser.y"
6032 <    {
6033 <  if (ypass == 2)
6034 <  {
6035 <    struct addrinfo hints, *res;
5552 >  dlinkMoveList(&block_state.leaf.list, &conf->leaf_list);
5553 >  dlinkMoveList(&block_state.hub.list, &conf->hub_list);
5554  
5555 +  if (block_state.bind.buf[0])
5556 +  {
5557      memset(&hints, 0, sizeof(hints));
5558  
5559      hints.ai_family   = AF_UNSPEC;
5560      hints.ai_socktype = SOCK_STREAM;
5561      hints.ai_flags    = AI_PASSIVE | AI_NUMERICHOST;
5562  
5563 <    if (irc_getaddrinfo(yylval.string, NULL, &hints, &res))
5564 <      ilog(L_ERROR, "Invalid netmask for server vhost(%s)", yylval.string);
5563 >    if (getaddrinfo(block_state.bind.buf, NULL, &hints, &res))
5564 >      ilog(LOG_TYPE_IRCD, "Invalid netmask for server vhost(%s)", block_state.bind.buf);
5565      else
5566      {
5567        assert(res != NULL);
5568  
5569 <      memcpy(&yy_aconf->my_ipnum, res->ai_addr, res->ai_addrlen);
5570 <      yy_aconf->my_ipnum.ss.ss_family = res->ai_family;
5571 <      yy_aconf->my_ipnum.ss_len = res->ai_addrlen;
5572 <      irc_freeaddrinfo(res);
5569 >      memcpy(&conf->bind, res->ai_addr, res->ai_addrlen);
5570 >      conf->bind.ss.ss_family = res->ai_family;
5571 >      conf->bind.ss_len = res->ai_addrlen;
5572 >      freeaddrinfo(res);
5573      }
5574    }
6055 }
6056    break;
6057
6058  case 416:
6059 #line 2605 "ircd_parser.y"
6060    {
6061  if (ypass == 2)
6062  {
6063    if ((yyvsp[(3) - (4)].string)[0] == ':')
6064      yyerror("Server passwords cannot begin with a colon");
6065    else if (strchr((yyvsp[(3) - (4)].string), ' ') != NULL)
6066      yyerror("Server passwords cannot contain spaces");
6067    else {
6068      if (yy_aconf->spasswd != NULL)
6069        memset(yy_aconf->spasswd, 0, strlen(yy_aconf->spasswd));
5575  
5576 <      MyFree(yy_aconf->spasswd);
5577 <      DupString(yy_aconf->spasswd, yylval.string);
6073 <    }
6074 <  }
5576 >  conf_add_class_to_conf(conf, block_state.class.buf);
5577 >  lookup_confhost(conf);
5578   }
5579      break;
5580  
5581 <  case 417:
5582 < #line 2623 "ircd_parser.y"
5581 >  case 402:
5582 > /* Line 1787 of yacc.c  */
5583 > #line 2119 "conf_parser.y"
5584      {
5585 <  if (ypass == 2)
5586 <  {
6083 <    if ((yyvsp[(3) - (4)].string)[0] == ':')
6084 <      yyerror("Server passwords cannot begin with a colon");
6085 <    else if (strchr((yyvsp[(3) - (4)].string), ' ') != NULL)
6086 <      yyerror("Server passwords cannot contain spaces");
6087 <    else {
6088 <      if (yy_aconf->passwd != NULL)
6089 <        memset(yy_aconf->passwd, 0, strlen(yy_aconf->passwd));
6090 <
6091 <      MyFree(yy_aconf->passwd);
6092 <      DupString(yy_aconf->passwd, yylval.string);
6093 <    }
6094 <  }
5585 >  if (conf_parser_ctx.pass == 2)
5586 >    strlcpy(block_state.name.buf, yylval.string, sizeof(block_state.name.buf));
5587   }
5588      break;
5589  
5590 <  case 418:
5591 < #line 2641 "ircd_parser.y"
5590 >  case 403:
5591 > /* Line 1787 of yacc.c  */
5592 > #line 2125 "conf_parser.y"
5593      {
5594 <  if (ypass == 2)
5595 <    yy_aconf->port = (yyvsp[(3) - (4)].number);
5594 >  if (conf_parser_ctx.pass == 2)
5595 >    strlcpy(block_state.host.buf, yylval.string, sizeof(block_state.host.buf));
5596   }
5597      break;
5598  
5599 <  case 419:
5600 < #line 2647 "ircd_parser.y"
5599 >  case 404:
5600 > /* Line 1787 of yacc.c  */
5601 > #line 2131 "conf_parser.y"
5602      {
5603 <  if (ypass == 2)
5604 <    yy_aconf->aftype = AF_INET;
5603 >  if (conf_parser_ctx.pass == 2)
5604 >    strlcpy(block_state.bind.buf, yylval.string, sizeof(block_state.bind.buf));
5605   }
5606      break;
5607  
5608 <  case 420:
5609 < #line 2651 "ircd_parser.y"
5608 >  case 405:
5609 > /* Line 1787 of yacc.c  */
5610 > #line 2137 "conf_parser.y"
5611      {
5612 < #ifdef IPV6
6118 <  if (ypass == 2)
6119 <    yy_aconf->aftype = AF_INET6;
6120 < #endif
6121 < }
5612 >  if (conf_parser_ctx.pass != 2)
5613      break;
5614  
5615 <  case 421:
5616 < #line 2659 "ircd_parser.y"
5617 <    {
5618 <  if (ypass == 2)
5619 <  {
5620 <    MyFree(yy_aconf->fakename);
6130 <    DupString(yy_aconf->fakename, yylval.string);
6131 <  }
5615 >  if ((yyvsp[(3) - (4)].string)[0] == ':')
5616 >    conf_error_report("Server passwords cannot begin with a colon");
5617 >  else if (strchr((yyvsp[(3) - (4)].string), ' ') != NULL)
5618 >    conf_error_report("Server passwords cannot contain spaces");
5619 >  else
5620 >    strlcpy(block_state.spass.buf, yylval.string, sizeof(block_state.spass.buf));
5621   }
5622      break;
5623  
5624 <  case 422:
5625 < #line 2668 "ircd_parser.y"
5624 >  case 406:
5625 > /* Line 1787 of yacc.c  */
5626 > #line 2150 "conf_parser.y"
5627      {
5628 < }
6139 <    break;
6140 <
6141 <  case 426:
6142 < #line 2672 "ircd_parser.y"
6143 <    { not_atom = 1; }
6144 <    break;
6145 <
6146 <  case 428:
6147 < #line 2673 "ircd_parser.y"
6148 <    { not_atom = 0; }
5628 >  if (conf_parser_ctx.pass != 2)
5629      break;
5630  
5631 <  case 430:
5632 < #line 2676 "ircd_parser.y"
5633 <    {
5634 <  if (ypass == 2)
5635 < #ifndef HAVE_LIBZ
5636 <    yyerror("Ignoring flags = compressed; -- no zlib support");
6157 < #else
6158 < {
6159 <   if (not_atom)ClearConfCompressed(yy_aconf);
6160 <   else SetConfCompressed(yy_aconf);
6161 < }
6162 < #endif
6163 < }
6164 <    break;
6165 <
6166 <  case 431:
6167 < #line 2687 "ircd_parser.y"
6168 <    {
6169 <  if (ypass == 2)
6170 <  {
6171 <    if (not_atom)ClearConfCryptLink(yy_aconf);
6172 <    else SetConfCryptLink(yy_aconf);
6173 <  }
5631 >  if ((yyvsp[(3) - (4)].string)[0] == ':')
5632 >    conf_error_report("Server passwords cannot begin with a colon");
5633 >  else if (strchr((yyvsp[(3) - (4)].string), ' ') != NULL)
5634 >    conf_error_report("Server passwords cannot contain spaces");
5635 >  else
5636 >    strlcpy(block_state.rpass.buf, yylval.string, sizeof(block_state.rpass.buf));
5637   }
5638      break;
5639  
5640 <  case 432:
5641 < #line 2694 "ircd_parser.y"
5640 >  case 407:
5641 > /* Line 1787 of yacc.c  */
5642 > #line 2163 "conf_parser.y"
5643      {
5644 <  if (ypass == 2)
5645 <  {
6182 <    if (not_atom)ClearConfAllowAutoConn(yy_aconf);
6183 <    else SetConfAllowAutoConn(yy_aconf);
6184 <  }
5644 >  if (conf_parser_ctx.pass == 2)
5645 >    strlcpy(block_state.cert.buf, yylval.string, sizeof(block_state.cert.buf));
5646   }
5647      break;
5648  
5649 <  case 433:
5650 < #line 2701 "ircd_parser.y"
5649 >  case 408:
5650 > /* Line 1787 of yacc.c  */
5651 > #line 2169 "conf_parser.y"
5652      {
5653 <  if (ypass == 2)
5654 <  {
6193 <    if (not_atom)ClearConfAwayBurst(yy_aconf);
6194 <    else SetConfAwayBurst(yy_aconf);
6195 <  }
5653 >  if (conf_parser_ctx.pass == 2)
5654 >    block_state.port.value = (yyvsp[(3) - (4)].number);
5655   }
5656      break;
5657  
5658 <  case 434:
5659 < #line 2708 "ircd_parser.y"
5658 >  case 409:
5659 > /* Line 1787 of yacc.c  */
5660 > #line 2175 "conf_parser.y"
5661      {
5662 <  if (ypass == 2)
5663 <  {
6204 <    if (not_atom)ClearConfTopicBurst(yy_aconf);
6205 <    else SetConfTopicBurst(yy_aconf);
6206 <  }
5662 >  if (conf_parser_ctx.pass == 2)
5663 >    block_state.aftype.value = AF_INET;
5664   }
5665      break;
5666  
5667 <  case 435:
5668 < #line 2718 "ircd_parser.y"
5669 <    {
6213 < #ifdef HAVE_LIBCRYPTO
6214 <  if (ypass == 2)
6215 <  {
6216 <    BIO *file;
6217 <
6218 <    if (yy_aconf->rsa_public_key != NULL)
6219 <    {
6220 <      RSA_free(yy_aconf->rsa_public_key);
6221 <      yy_aconf->rsa_public_key = NULL;
6222 <    }
6223 <
6224 <    if (yy_aconf->rsa_public_key_file != NULL)
6225 <    {
6226 <      MyFree(yy_aconf->rsa_public_key_file);
6227 <      yy_aconf->rsa_public_key_file = NULL;
6228 <    }
6229 <
6230 <    DupString(yy_aconf->rsa_public_key_file, yylval.string);
6231 <
6232 <    if ((file = BIO_new_file(yylval.string, "r")) == NULL)
6233 <    {
6234 <      yyerror("Ignoring rsa_public_key_file -- file doesn't exist");
6235 <      break;
6236 <    }
6237 <
6238 <    yy_aconf->rsa_public_key = (RSA *)PEM_read_bio_RSA_PUBKEY(file, NULL, 0, NULL);
6239 <
6240 <    if (yy_aconf->rsa_public_key == NULL)
5667 >  case 410:
5668 > /* Line 1787 of yacc.c  */
5669 > #line 2179 "conf_parser.y"
5670      {
5671 <      yyerror("Ignoring rsa_public_key_file -- Key invalid; check key syntax.");
5672 <      break;
5673 <    }
5674 <      
6246 <    BIO_set_close(file, BIO_CLOSE);
6247 <    BIO_free(file);
6248 <  }
6249 < #endif /* HAVE_LIBCRYPTO */
5671 > #ifdef IPV6
5672 >  if (conf_parser_ctx.pass == 2)
5673 >    block_state.aftype.value = AF_INET6;
5674 > #endif
5675   }
5676      break;
5677  
5678 <  case 436:
5679 < #line 2759 "ircd_parser.y"
5678 >  case 411:
5679 > /* Line 1787 of yacc.c  */
5680 > #line 2187 "conf_parser.y"
5681      {
5682 <  if (ypass == 2)
6257 <  {
6258 <    if (yylval.number)
6259 <      yy_aconf->flags |= CONF_FLAGS_ENCRYPTED;
6260 <    else
6261 <      yy_aconf->flags &= ~CONF_FLAGS_ENCRYPTED;
6262 <  }
5682 >  block_state.flags.value &= CONF_FLAGS_ENCRYPTED;
5683   }
5684      break;
5685  
5686 <  case 437:
5687 < #line 2770 "ircd_parser.y"
5686 >  case 415:
5687 > /* Line 1787 of yacc.c  */
5688 > #line 2193 "conf_parser.y"
5689      {
5690 <  if (ypass == 2)
5691 <  {
6271 <    if (yylval.number)
6272 <      yy_aconf->flags |= CONF_FLAGS_CRYPTLINK;
6273 <    else
6274 <      yy_aconf->flags &= ~CONF_FLAGS_CRYPTLINK;
6275 <  }
5690 >  if (conf_parser_ctx.pass == 2)
5691 >    block_state.flags.value |= CONF_FLAGS_ALLOW_AUTO_CONN;
5692   }
5693      break;
5694  
5695 <  case 438:
5696 < #line 2781 "ircd_parser.y"
5695 >  case 416:
5696 > /* Line 1787 of yacc.c  */
5697 > #line 2197 "conf_parser.y"
5698      {
5699 <  if (ypass == 2)
5700 <  {
6284 <    if (yylval.number)
6285 < #ifndef HAVE_LIBZ
6286 <      yyerror("Ignoring compressed=yes; -- no zlib support");
6287 < #else
6288 <      yy_aconf->flags |= CONF_FLAGS_COMPRESSED;
6289 < #endif
6290 <    else
6291 <      yy_aconf->flags &= ~CONF_FLAGS_COMPRESSED;
6292 <  }
5699 >  if (conf_parser_ctx.pass == 2)
5700 >    block_state.flags.value |= CONF_FLAGS_SSL;
5701   }
5702      break;
5703  
5704 <  case 439:
5705 < #line 2796 "ircd_parser.y"
5706 <    {
6299 <  if (ypass == 2)
6300 <  {
6301 <    if (yylval.number)
6302 <      yy_aconf->flags |= CONF_FLAGS_ALLOW_AUTO_CONN;
6303 <    else
6304 <      yy_aconf->flags &= ~CONF_FLAGS_ALLOW_AUTO_CONN;
6305 <  }
6306 < }
6307 <    break;
6308 <
6309 <  case 440:
6310 < #line 2807 "ircd_parser.y"
5704 >  case 417:
5705 > /* Line 1787 of yacc.c  */
5706 > #line 2203 "conf_parser.y"
5707      {
5708 <  if (ypass == 2)
5708 >  if (conf_parser_ctx.pass == 2)
5709    {
5710      if (yylval.number)
5711 <      SetConfTopicBurst(yy_aconf);
5711 >      block_state.flags.value |= CONF_FLAGS_ENCRYPTED;
5712      else
5713 <      ClearConfTopicBurst(yy_aconf);
5713 >      block_state.flags.value &= ~CONF_FLAGS_ENCRYPTED;
5714    }
5715   }
5716      break;
5717  
5718 <  case 441:
5719 < #line 2818 "ircd_parser.y"
5718 >  case 418:
5719 > /* Line 1787 of yacc.c  */
5720 > #line 2214 "conf_parser.y"
5721      {
5722 <  if (ypass == 2)
5723 <  {
6327 <    struct CollectItem *yy_tmp;
6328 <
6329 <    yy_tmp = (struct CollectItem *)MyMalloc(sizeof(struct CollectItem));
6330 <    DupString(yy_tmp->host, yylval.string);
6331 <    DupString(yy_tmp->user, "*");
6332 <    dlinkAdd(yy_tmp, &yy_tmp->node, &hub_conf_list);
6333 <  }
5722 >  if (conf_parser_ctx.pass == 2)
5723 >    dlinkAdd(xstrdup(yylval.string), make_dlink_node(), &block_state.hub.list);
5724   }
5725      break;
5726  
5727 <  case 442:
5728 < #line 2831 "ircd_parser.y"
5727 >  case 419:
5728 > /* Line 1787 of yacc.c  */
5729 > #line 2220 "conf_parser.y"
5730      {
5731 <  if (ypass == 2)
5732 <  {
6342 <    struct CollectItem *yy_tmp;
6343 <
6344 <    yy_tmp = (struct CollectItem *)MyMalloc(sizeof(struct CollectItem));
6345 <    DupString(yy_tmp->host, yylval.string);
6346 <    DupString(yy_tmp->user, "*");
6347 <    dlinkAdd(yy_tmp, &yy_tmp->node, &leaf_conf_list);
6348 <  }
5731 >  if (conf_parser_ctx.pass == 2)
5732 >    dlinkAdd(xstrdup(yylval.string), make_dlink_node(), &block_state.leaf.list);
5733   }
5734      break;
5735  
5736 <  case 443:
5737 < #line 2844 "ircd_parser.y"
5736 >  case 420:
5737 > /* Line 1787 of yacc.c  */
5738 > #line 2226 "conf_parser.y"
5739      {
5740 <  if (ypass == 2)
5741 <  {
6357 <    MyFree(class_name);
6358 <    DupString(class_name, yylval.string);
6359 <  }
5740 >  if (conf_parser_ctx.pass == 2)
5741 >    strlcpy(block_state.class.buf, yylval.string, sizeof(block_state.class.buf));
5742   }
5743      break;
5744  
5745 <  case 444:
5746 < #line 2853 "ircd_parser.y"
5745 >  case 421:
5746 > /* Line 1787 of yacc.c  */
5747 > #line 2232 "conf_parser.y"
5748      {
5749   #ifdef HAVE_LIBCRYPTO
5750 <  if (ypass == 2)
5751 <  {
6369 <    struct EncCapability *ecap;
6370 <    const char *cipher_name;
6371 <    int found = 0;
6372 <
6373 <    yy_aconf->cipher_preference = NULL;
6374 <    cipher_name = yylval.string;
6375 <
6376 <    for (ecap = CipherTable; ecap->name; ecap++)
6377 <    {
6378 <      if ((irccmp(ecap->name, cipher_name) == 0) &&
6379 <          (ecap->cap & CAP_ENC_MASK))
6380 <      {
6381 <        yy_aconf->cipher_preference = ecap;
6382 <        found = 1;
6383 <        break;
6384 <      }
6385 <    }
6386 <
6387 <    if (!found)
6388 <      yyerror("Invalid cipher");
6389 <  }
5750 >  if (conf_parser_ctx.pass == 2)
5751 >    strlcpy(block_state.ciph.buf, yylval.string, sizeof(block_state.ciph.buf));
5752   #else
5753 <  if (ypass == 2)
5754 <    yyerror("Ignoring cipher_preference -- no OpenSSL support");
5753 >  if (conf_parser_ctx.pass == 2)
5754 >    conf_error_report("Ignoring connect::ciphers -- no OpenSSL support");
5755   #endif
5756   }
5757      break;
5758  
5759 <  case 445:
5760 < #line 2888 "ircd_parser.y"
5759 >  case 422:
5760 > /* Line 1787 of yacc.c  */
5761 > #line 2247 "conf_parser.y"
5762      {
5763 <  if (ypass == 2)
5764 <  {
6402 <    userbuf[0] = hostbuf[0] = reasonbuf[0] = '\0';
6403 <    regex_ban = 0;
6404 <  }
5763 >  if (conf_parser_ctx.pass == 2)
5764 >    reset_block_state();
5765   }
5766      break;
5767  
5768 <  case 446:
5769 < #line 2895 "ircd_parser.y"
5770 <    {
6411 <  if (ypass == 2)
6412 <  {
6413 <    if (userbuf[0] && hostbuf[0])
5768 >  case 423:
5769 > /* Line 1787 of yacc.c  */
5770 > #line 2251 "conf_parser.y"
5771      {
5772 <      if (regex_ban)
6416 <      {
6417 <        pcre *exp_user = NULL;
6418 <        pcre *exp_host = NULL;
6419 <        const char *errptr = NULL;
6420 <
6421 <        if (!(exp_user = ircd_pcre_compile(userbuf, &errptr)) ||
6422 <            !(exp_host = ircd_pcre_compile(hostbuf, &errptr)))
6423 <        {
6424 <          ilog(L_ERROR, "Failed to add regular expression based K-Line: %s",
6425 <               errptr);
6426 <          break;
6427 <        }
6428 <
6429 <        yy_conf = make_conf_item(RKLINE_TYPE);
6430 <        yy_aconf = map_to_conf(yy_conf);
6431 <
6432 <        yy_aconf->regexuser = exp_user;
6433 <        yy_aconf->regexhost = exp_host;
6434 <
6435 <        DupString(yy_aconf->user, userbuf);
6436 <        DupString(yy_aconf->host, hostbuf);
6437 <
6438 <        if (reasonbuf[0])
6439 <          DupString(yy_aconf->reason, reasonbuf);
6440 <        else
6441 <          DupString(yy_aconf->reason, "No reason");
6442 <      }
6443 <      else
6444 <      {
6445 <        yy_conf = make_conf_item(KLINE_TYPE);
6446 <        yy_aconf = map_to_conf(yy_conf);
6447 <
6448 <        DupString(yy_aconf->user, userbuf);
6449 <        DupString(yy_aconf->host, hostbuf);
5772 >  struct MaskItem *conf = NULL;
5773  
5774 <        if (reasonbuf[0])
6452 <          DupString(yy_aconf->reason, reasonbuf);
6453 <        else
6454 <          DupString(yy_aconf->reason, "No reason");
6455 <        add_conf_by_address(CONF_KILL, yy_aconf);
6456 <      }
6457 <    }
6458 <    else
6459 <      delete_conf_item(yy_conf);
6460 <
6461 <    yy_conf = NULL;
6462 <    yy_aconf = NULL;
6463 <  }
6464 < }
5774 >  if (conf_parser_ctx.pass != 2)
5775      break;
5776  
5777 <  case 447:
5778 < #line 2952 "ircd_parser.y"
6469 <    {
6470 < }
5777 >  if (!block_state.user.buf[0] ||
5778 >      !block_state.host.buf[0])
5779      break;
5780  
5781 <  case 451:
5782 < #line 2957 "ircd_parser.y"
5783 <    {
5784 <  if (ypass == 2)
5785 <    regex_ban = 1;
5781 >  conf = conf_make(CONF_KLINE);
5782 >  conf->user = xstrdup(block_state.user.buf);
5783 >  conf->host = xstrdup(block_state.host.buf);
5784 >
5785 >  if (block_state.rpass.buf[0])
5786 >    conf->reason = xstrdup(block_state.rpass.buf);
5787 >  else
5788 >    conf->reason = xstrdup(CONF_NOREASON);
5789 >  add_conf_by_address(CONF_KLINE, conf);
5790   }
5791      break;
5792  
5793 <  case 458:
5794 < #line 2966 "ircd_parser.y"
5793 >  case 429:
5794 > /* Line 1787 of yacc.c  */
5795 > #line 2276 "conf_parser.y"
5796      {
5797 <  if (ypass == 2)
5797 >
5798 >  if (conf_parser_ctx.pass == 2)
5799    {
5800      struct split_nuh_item nuh;
5801  
5802      nuh.nuhmask  = yylval.string;
5803      nuh.nickptr  = NULL;
5804 <    nuh.userptr  = userbuf;
5805 <    nuh.hostptr  = hostbuf;
5804 >    nuh.userptr  = block_state.user.buf;
5805 >    nuh.hostptr  = block_state.host.buf;
5806  
5807      nuh.nicksize = 0;
5808 <    nuh.usersize = sizeof(userbuf);
5809 <    nuh.hostsize = sizeof(hostbuf);
5808 >    nuh.usersize = sizeof(block_state.user.buf);
5809 >    nuh.hostsize = sizeof(block_state.host.buf);
5810  
5811      split_nuh(&nuh);
5812    }
5813   }
5814      break;
5815  
5816 <  case 459:
5817 < #line 2985 "ircd_parser.y"
5816 >  case 430:
5817 > /* Line 1787 of yacc.c  */
5818 > #line 2296 "conf_parser.y"
5819      {
5820 <  if (ypass == 2)
5821 <    strlcpy(reasonbuf, yylval.string, sizeof(reasonbuf));
5820 >  if (conf_parser_ctx.pass == 2)
5821 >    strlcpy(block_state.rpass.buf, yylval.string, sizeof(block_state.rpass.buf));
5822   }
5823      break;
5824  
5825 <  case 460:
5826 < #line 2994 "ircd_parser.y"
5825 >  case 431:
5826 > /* Line 1787 of yacc.c  */
5827 > #line 2305 "conf_parser.y"
5828      {
5829 <  if (ypass == 2)
5830 <  {
6515 <    yy_conf = make_conf_item(DLINE_TYPE);
6516 <    yy_aconf = map_to_conf(yy_conf);
6517 <    /* default reason */
6518 <    DupString(yy_aconf->reason, "No reason");
6519 <  }
5829 >  if (conf_parser_ctx.pass == 2)
5830 >    reset_block_state();
5831   }
5832      break;
5833  
5834 <  case 461:
5835 < #line 3003 "ircd_parser.y"
5834 >  case 432:
5835 > /* Line 1787 of yacc.c  */
5836 > #line 2309 "conf_parser.y"
5837      {
5838 <  if (ypass == 2)
5838 >  struct MaskItem *conf = NULL;
5839 >
5840 >  if (conf_parser_ctx.pass != 2)
5841 >    break;
5842 >
5843 >  if (!block_state.addr.buf[0])
5844 >    break;
5845 >
5846 >  if (parse_netmask(block_state.addr.buf, NULL, NULL) != HM_HOST)
5847    {
5848 <    if (yy_aconf->host && parse_netmask(yy_aconf->host, NULL, NULL) != HM_HOST)
5849 <      add_conf_by_address(CONF_DLINE, yy_aconf);
5848 >    conf = conf_make(CONF_DLINE);
5849 >    conf->host = xstrdup(block_state.addr.buf);
5850 >
5851 >    if (block_state.rpass.buf[0])
5852 >      conf->reason = xstrdup(block_state.rpass.buf);
5853      else
5854 <      delete_conf_item(yy_conf);
5855 <    yy_conf = NULL;
6533 <    yy_aconf = NULL;
5854 >      conf->reason = xstrdup(CONF_NOREASON);
5855 >    add_conf_by_address(CONF_DLINE, conf);
5856    }
5857   }
5858      break;
5859  
5860 <  case 467:
5861 < #line 3019 "ircd_parser.y"
5860 >  case 438:
5861 > /* Line 1787 of yacc.c  */
5862 > #line 2335 "conf_parser.y"
5863      {
5864 <  if (ypass == 2)
5865 <  {
6543 <    MyFree(yy_aconf->host);
6544 <    DupString(yy_aconf->host, yylval.string);
6545 <  }
5864 >  if (conf_parser_ctx.pass == 2)
5865 >    strlcpy(block_state.addr.buf, yylval.string, sizeof(block_state.addr.buf));
5866   }
5867      break;
5868  
5869 <  case 468:
5870 < #line 3028 "ircd_parser.y"
5869 >  case 439:
5870 > /* Line 1787 of yacc.c  */
5871 > #line 2341 "conf_parser.y"
5872      {
5873 <  if (ypass == 2)
5874 <  {
6554 <    MyFree(yy_aconf->reason);
6555 <    DupString(yy_aconf->reason, yylval.string);
6556 <  }
5873 >  if (conf_parser_ctx.pass == 2)
5874 >    strlcpy(block_state.rpass.buf, yylval.string, sizeof(block_state.rpass.buf));
5875   }
5876      break;
5877  
5878 <  case 474:
5879 < #line 3045 "ircd_parser.y"
5878 >  case 445:
5879 > /* Line 1787 of yacc.c  */
5880 > #line 2355 "conf_parser.y"
5881      {
5882 <  if (ypass == 2)
5882 >  if (conf_parser_ctx.pass == 2)
5883    {
5884      if (yylval.string[0] && parse_netmask(yylval.string, NULL, NULL) != HM_HOST)
5885      {
5886 <      yy_conf = make_conf_item(EXEMPTDLINE_TYPE);
5887 <      yy_aconf = map_to_conf(yy_conf);
6569 <      DupString(yy_aconf->host, yylval.string);
5886 >      struct MaskItem *conf = conf_make(CONF_EXEMPT);
5887 >      conf->host = xstrdup(yylval.string);
5888  
5889 <      add_conf_by_address(CONF_EXEMPTDLINE, yy_aconf);
6572 <
6573 <      yy_conf = NULL;
6574 <      yy_aconf = NULL;
5889 >      add_conf_by_address(CONF_EXEMPT, conf);
5890      }
5891    }
5892   }
5893      break;
5894  
5895 <  case 475:
5896 < #line 3066 "ircd_parser.y"
5895 >  case 446:
5896 > /* Line 1787 of yacc.c  */
5897 > #line 2372 "conf_parser.y"
5898      {
5899 <  if (ypass == 2)
5900 <  {
6585 <    regex_ban = 0;
6586 <    reasonbuf[0] = gecos_name[0] = '\0';
6587 <  }
5899 >  if (conf_parser_ctx.pass == 2)
5900 >    reset_block_state();
5901   }
5902      break;
5903  
5904 <  case 476:
5905 < #line 3073 "ircd_parser.y"
5906 <    {
6594 <  if (ypass == 2)
6595 <  {
6596 <    if (gecos_name[0])
5904 >  case 447:
5905 > /* Line 1787 of yacc.c  */
5906 > #line 2376 "conf_parser.y"
5907      {
5908 <      if (regex_ban)
6599 <      {
6600 <        pcre *exp_p = NULL;
6601 <        const char *errptr = NULL;
6602 <
6603 <        if (!(exp_p = ircd_pcre_compile(gecos_name, &errptr)))
6604 <        {
6605 <          ilog(L_ERROR, "Failed to add regular expression based X-Line: %s",
6606 <               errptr);
6607 <          break;
6608 <        }
6609 <
6610 <        yy_conf = make_conf_item(RXLINE_TYPE);
6611 <        yy_conf->regexpname = exp_p;
6612 <      }
6613 <      else
6614 <        yy_conf = make_conf_item(XLINE_TYPE);
5908 >  struct MaskItem *conf = NULL;
5909  
5910 <      yy_match_item = map_to_conf(yy_conf);
5911 <      DupString(yy_conf->name, gecos_name);
5910 >  if (conf_parser_ctx.pass != 2)
5911 >    break;
5912  
5913 <      if (reasonbuf[0])
6620 <        DupString(yy_match_item->reason, reasonbuf);
6621 <      else
6622 <        DupString(yy_match_item->reason, "No reason");
6623 <    }
6624 <  }
6625 < }
5913 >  if (!block_state.name.buf[0])
5914      break;
5915  
5916 <  case 477:
5917 < #line 3108 "ircd_parser.y"
5918 <    {
5916 >  conf = conf_make(CONF_XLINE);
5917 >  conf->name = xstrdup(block_state.name.buf);
5918 >
5919 >  if (block_state.rpass.buf[0])
5920 >    conf->reason = xstrdup(block_state.rpass.buf);
5921 >  else
5922 >    conf->reason = xstrdup(CONF_NOREASON);
5923   }
5924      break;
5925  
5926 <  case 481:
5927 < #line 3113 "ircd_parser.y"
5926 >  case 453:
5927 > /* Line 1787 of yacc.c  */
5928 > #line 2398 "conf_parser.y"
5929      {
5930 <  if (ypass == 2)
5931 <    regex_ban = 1;
5930 >  if (conf_parser_ctx.pass == 2)
5931 >    strlcpy(block_state.name.buf, yylval.string, sizeof(block_state.name.buf));
5932   }
5933      break;
5934  
5935 <  case 488:
5936 < #line 3122 "ircd_parser.y"
5935 >  case 454:
5936 > /* Line 1787 of yacc.c  */
5937 > #line 2404 "conf_parser.y"
5938      {
5939 <  if (ypass == 2)
5940 <    strlcpy(gecos_name, yylval.string, sizeof(gecos_name));
5939 >  if (conf_parser_ctx.pass == 2)
5940 >    strlcpy(block_state.rpass.buf, yylval.string, sizeof(block_state.rpass.buf));
5941   }
5942      break;
5943  
5944 <  case 489:
5945 < #line 3128 "ircd_parser.y"
5944 >  case 508:
5945 > /* Line 1787 of yacc.c  */
5946 > #line 2449 "conf_parser.y"
5947      {
5948 <  if (ypass == 2)
6654 <    strlcpy(reasonbuf, yylval.string, sizeof(reasonbuf));
5948 >  ConfigFileEntry.max_watch = (yyvsp[(3) - (4)].number);
5949   }
5950      break;
5951  
5952 <  case 550:
5953 < #line 3173 "ircd_parser.y"
5952 >  case 509:
5953 > /* Line 1787 of yacc.c  */
5954 > #line 2454 "conf_parser.y"
5955      {
5956 <  ConfigFileEntry.max_watch = (yyvsp[(3) - (4)].number);
5956 >  if (conf_parser_ctx.pass == 2)
5957 >    ConfigFileEntry.cycle_on_host_change = yylval.number;
5958   }
5959      break;
5960  
5961 <  case 551:
5962 < #line 3178 "ircd_parser.y"
5961 >  case 510:
5962 > /* Line 1787 of yacc.c  */
5963 > #line 2460 "conf_parser.y"
5964      {
5965 <  ConfigFileEntry.gline_min_cidr = (yyvsp[(3) - (4)].number);
5965 >  if (conf_parser_ctx.pass == 2)
5966 >    ConfigFileEntry.glines = yylval.number;
5967   }
5968      break;
5969  
5970 <  case 552:
5971 < #line 3183 "ircd_parser.y"
5970 >  case 511:
5971 > /* Line 1787 of yacc.c  */
5972 > #line 2466 "conf_parser.y"
5973      {
5974 <  ConfigFileEntry.gline_min_cidr6 = (yyvsp[(3) - (4)].number);
5974 >  if (conf_parser_ctx.pass == 2)
5975 >    ConfigFileEntry.gline_time = (yyvsp[(3) - (4)].number);
5976   }
5977      break;
5978  
5979 <  case 553:
5980 < #line 3188 "ircd_parser.y"
5979 >  case 512:
5980 > /* Line 1787 of yacc.c  */
5981 > #line 2472 "conf_parser.y"
5982      {
5983 <  ConfigFileEntry.burst_away = yylval.number;
5983 >  if (conf_parser_ctx.pass == 2)
5984 >    ConfigFileEntry.gline_request_time = (yyvsp[(3) - (4)].number);
5985   }
5986      break;
5987  
5988 <  case 554:
5989 < #line 3193 "ircd_parser.y"
5988 >  case 513:
5989 > /* Line 1787 of yacc.c  */
5990 > #line 2478 "conf_parser.y"
5991      {
5992 <  ConfigFileEntry.use_whois_actually = yylval.number;
5992 >  ConfigFileEntry.gline_min_cidr = (yyvsp[(3) - (4)].number);
5993   }
5994      break;
5995  
5996 <  case 555:
5997 < #line 3198 "ircd_parser.y"
5996 >  case 514:
5997 > /* Line 1787 of yacc.c  */
5998 > #line 2483 "conf_parser.y"
5999      {
6000 <  GlobalSetOptions.rejecttime = yylval.number;
6000 >  ConfigFileEntry.gline_min_cidr6 = (yyvsp[(3) - (4)].number);
6001   }
6002      break;
6003  
6004 <  case 556:
6005 < #line 3203 "ircd_parser.y"
6004 >  case 515:
6005 > /* Line 1787 of yacc.c  */
6006 > #line 2488 "conf_parser.y"
6007      {
6008    ConfigFileEntry.tkline_expire_notices = yylval.number;
6009   }
6010      break;
6011  
6012 <  case 557:
6013 < #line 3208 "ircd_parser.y"
6012 >  case 516:
6013 > /* Line 1787 of yacc.c  */
6014 > #line 2493 "conf_parser.y"
6015      {
6016    ConfigFileEntry.kill_chase_time_limit = (yyvsp[(3) - (4)].number);
6017   }
6018      break;
6019  
6020 <  case 558:
6021 < #line 3213 "ircd_parser.y"
6020 >  case 517:
6021 > /* Line 1787 of yacc.c  */
6022 > #line 2498 "conf_parser.y"
6023      {
6024    ConfigFileEntry.hide_spoof_ips = yylval.number;
6025   }
6026      break;
6027  
6028 <  case 559:
6029 < #line 3218 "ircd_parser.y"
6028 >  case 518:
6029 > /* Line 1787 of yacc.c  */
6030 > #line 2503 "conf_parser.y"
6031      {
6032    ConfigFileEntry.ignore_bogus_ts = yylval.number;
6033   }
6034      break;
6035  
6036 <  case 560:
6037 < #line 3223 "ircd_parser.y"
6038 <    {
6731 <  ConfigFileEntry.disable_remote = yylval.number;
6732 < }
6733 <    break;
6734 <
6735 <  case 561:
6736 < #line 3228 "ircd_parser.y"
6036 >  case 519:
6037 > /* Line 1787 of yacc.c  */
6038 > #line 2508 "conf_parser.y"
6039      {
6040    ConfigFileEntry.failed_oper_notice = yylval.number;
6041   }
6042      break;
6043  
6044 <  case 562:
6045 < #line 3233 "ircd_parser.y"
6044 >  case 520:
6045 > /* Line 1787 of yacc.c  */
6046 > #line 2513 "conf_parser.y"
6047      {
6048    ConfigFileEntry.anti_nick_flood = yylval.number;
6049   }
6050      break;
6051  
6052 <  case 563:
6053 < #line 3238 "ircd_parser.y"
6052 >  case 521:
6053 > /* Line 1787 of yacc.c  */
6054 > #line 2518 "conf_parser.y"
6055      {
6056    ConfigFileEntry.max_nick_time = (yyvsp[(3) - (4)].number);
6057   }
6058      break;
6059  
6060 <  case 564:
6061 < #line 3243 "ircd_parser.y"
6060 >  case 522:
6061 > /* Line 1787 of yacc.c  */
6062 > #line 2523 "conf_parser.y"
6063      {
6064    ConfigFileEntry.max_nick_changes = (yyvsp[(3) - (4)].number);
6065   }
6066      break;
6067  
6068 <  case 565:
6069 < #line 3248 "ircd_parser.y"
6068 >  case 523:
6069 > /* Line 1787 of yacc.c  */
6070 > #line 2528 "conf_parser.y"
6071      {
6072    ConfigFileEntry.max_accept = (yyvsp[(3) - (4)].number);
6073   }
6074      break;
6075  
6076 <  case 566:
6077 < #line 3253 "ircd_parser.y"
6076 >  case 524:
6077 > /* Line 1787 of yacc.c  */
6078 > #line 2533 "conf_parser.y"
6079      {
6080    ConfigFileEntry.anti_spam_exit_message_time = (yyvsp[(3) - (4)].number);
6081   }
6082      break;
6083  
6084 <  case 567:
6085 < #line 3258 "ircd_parser.y"
6084 >  case 525:
6085 > /* Line 1787 of yacc.c  */
6086 > #line 2538 "conf_parser.y"
6087      {
6088    ConfigFileEntry.ts_warn_delta = (yyvsp[(3) - (4)].number);
6089   }
6090      break;
6091  
6092 <  case 568:
6093 < #line 3263 "ircd_parser.y"
6092 >  case 526:
6093 > /* Line 1787 of yacc.c  */
6094 > #line 2543 "conf_parser.y"
6095      {
6096 <  if (ypass == 2)
6096 >  if (conf_parser_ctx.pass == 2)
6097      ConfigFileEntry.ts_max_delta = (yyvsp[(3) - (4)].number);
6098   }
6099      break;
6100  
6101 <  case 569:
6102 < #line 3269 "ircd_parser.y"
6103 <    {
6104 <  if (((yyvsp[(3) - (4)].number) > 0) && ypass == 1)
6105 <  {
6106 <    ilog(L_CRIT, "You haven't read your config file properly.");
6107 <    ilog(L_CRIT, "There is a line in the example conf that will kill your server if not removed.");
6108 <    ilog(L_CRIT, "Consider actually reading/editing the conf file, and removing this line.");
6101 >  case 527:
6102 > /* Line 1787 of yacc.c  */
6103 > #line 2549 "conf_parser.y"
6104 >    {
6105 >  if (((yyvsp[(3) - (4)].number) > 0) && conf_parser_ctx.pass == 1)
6106 >  {
6107 >    ilog(LOG_TYPE_IRCD, "You haven't read your config file properly.");
6108 >    ilog(LOG_TYPE_IRCD, "There is a line in the example conf that will kill your server if not removed.");
6109 >    ilog(LOG_TYPE_IRCD, "Consider actually reading/editing the conf file, and removing this line.");
6110      exit(0);
6111    }
6112   }
6113      break;
6114  
6115 <  case 570:
6116 < #line 3280 "ircd_parser.y"
6117 <    {
6808 <  ConfigFileEntry.kline_with_reason = yylval.number;
6809 < }
6810 <    break;
6811 <
6812 <  case 571:
6813 < #line 3285 "ircd_parser.y"
6814 <    {
6815 <  if (ypass == 2)
6816 <  {
6817 <    MyFree(ConfigFileEntry.kline_reason);
6818 <    DupString(ConfigFileEntry.kline_reason, yylval.string);
6819 <  }
6820 < }
6821 <    break;
6822 <
6823 <  case 572:
6824 < #line 3294 "ircd_parser.y"
6115 >  case 528:
6116 > /* Line 1787 of yacc.c  */
6117 > #line 2560 "conf_parser.y"
6118      {
6119    ConfigFileEntry.invisible_on_connect = yylval.number;
6120   }
6121      break;
6122  
6123 <  case 573:
6124 < #line 3299 "ircd_parser.y"
6123 >  case 529:
6124 > /* Line 1787 of yacc.c  */
6125 > #line 2565 "conf_parser.y"
6126      {
6127    ConfigFileEntry.warn_no_nline = yylval.number;
6128   }
6129      break;
6130  
6131 <  case 574:
6132 < #line 3304 "ircd_parser.y"
6131 >  case 530:
6132 > /* Line 1787 of yacc.c  */
6133 > #line 2570 "conf_parser.y"
6134      {
6135    ConfigFileEntry.stats_e_disabled = yylval.number;
6136   }
6137      break;
6138  
6139 <  case 575:
6140 < #line 3309 "ircd_parser.y"
6139 >  case 531:
6140 > /* Line 1787 of yacc.c  */
6141 > #line 2575 "conf_parser.y"
6142      {
6143    ConfigFileEntry.stats_o_oper_only = yylval.number;
6144   }
6145      break;
6146  
6147 <  case 576:
6148 < #line 3314 "ircd_parser.y"
6147 >  case 532:
6148 > /* Line 1787 of yacc.c  */
6149 > #line 2580 "conf_parser.y"
6150      {
6151    ConfigFileEntry.stats_P_oper_only = yylval.number;
6152   }
6153      break;
6154  
6155 <  case 577:
6156 < #line 3319 "ircd_parser.y"
6155 >  case 533:
6156 > /* Line 1787 of yacc.c  */
6157 > #line 2585 "conf_parser.y"
6158 >    {
6159 >  ConfigFileEntry.stats_u_oper_only = yylval.number;
6160 > }
6161 >    break;
6162 >
6163 >  case 534:
6164 > /* Line 1787 of yacc.c  */
6165 > #line 2590 "conf_parser.y"
6166      {
6167    ConfigFileEntry.stats_k_oper_only = 2 * yylval.number;
6168   }
6169      break;
6170  
6171 <  case 578:
6172 < #line 3322 "ircd_parser.y"
6171 >  case 535:
6172 > /* Line 1787 of yacc.c  */
6173 > #line 2593 "conf_parser.y"
6174      {
6175    ConfigFileEntry.stats_k_oper_only = 1;
6176   }
6177      break;
6178  
6179 <  case 579:
6180 < #line 3327 "ircd_parser.y"
6179 >  case 536:
6180 > /* Line 1787 of yacc.c  */
6181 > #line 2598 "conf_parser.y"
6182      {
6183    ConfigFileEntry.stats_i_oper_only = 2 * yylval.number;
6184   }
6185      break;
6186  
6187 <  case 580:
6188 < #line 3330 "ircd_parser.y"
6187 >  case 537:
6188 > /* Line 1787 of yacc.c  */
6189 > #line 2601 "conf_parser.y"
6190      {
6191    ConfigFileEntry.stats_i_oper_only = 1;
6192   }
6193      break;
6194  
6195 <  case 581:
6196 < #line 3335 "ircd_parser.y"
6195 >  case 538:
6196 > /* Line 1787 of yacc.c  */
6197 > #line 2606 "conf_parser.y"
6198      {
6199    ConfigFileEntry.pace_wait = (yyvsp[(3) - (4)].number);
6200   }
6201      break;
6202  
6203 <  case 582:
6204 < #line 3340 "ircd_parser.y"
6203 >  case 539:
6204 > /* Line 1787 of yacc.c  */
6205 > #line 2611 "conf_parser.y"
6206      {
6207    ConfigFileEntry.caller_id_wait = (yyvsp[(3) - (4)].number);
6208   }
6209      break;
6210  
6211 <  case 583:
6212 < #line 3345 "ircd_parser.y"
6211 >  case 540:
6212 > /* Line 1787 of yacc.c  */
6213 > #line 2616 "conf_parser.y"
6214      {
6215    ConfigFileEntry.opers_bypass_callerid = yylval.number;
6216   }
6217      break;
6218  
6219 <  case 584:
6220 < #line 3350 "ircd_parser.y"
6219 >  case 541:
6220 > /* Line 1787 of yacc.c  */
6221 > #line 2621 "conf_parser.y"
6222      {
6223    ConfigFileEntry.pace_wait_simple = (yyvsp[(3) - (4)].number);
6224   }
6225      break;
6226  
6227 <  case 585:
6228 < #line 3355 "ircd_parser.y"
6227 >  case 542:
6228 > /* Line 1787 of yacc.c  */
6229 > #line 2626 "conf_parser.y"
6230      {
6231    ConfigFileEntry.short_motd = yylval.number;
6232   }
6233      break;
6234  
6235 <  case 586:
6236 < #line 3360 "ircd_parser.y"
6235 >  case 543:
6236 > /* Line 1787 of yacc.c  */
6237 > #line 2631 "conf_parser.y"
6238      {
6239    ConfigFileEntry.no_oper_flood = yylval.number;
6240   }
6241      break;
6242  
6243 <  case 587:
6244 < #line 3365 "ircd_parser.y"
6243 >  case 544:
6244 > /* Line 1787 of yacc.c  */
6245 > #line 2636 "conf_parser.y"
6246      {
6247    ConfigFileEntry.true_no_oper_flood = yylval.number;
6248   }
6249      break;
6250  
6251 <  case 588:
6252 < #line 3370 "ircd_parser.y"
6251 >  case 545:
6252 > /* Line 1787 of yacc.c  */
6253 > #line 2641 "conf_parser.y"
6254      {
6255    ConfigFileEntry.oper_pass_resv = yylval.number;
6256   }
6257      break;
6258  
6259 <  case 589:
6260 < #line 3375 "ircd_parser.y"
6261 <    {
6945 <  if (ypass == 2)
6946 <  {
6947 <    if (strlen(yylval.string) > LOCALE_LENGTH-2)
6948 <      yylval.string[LOCALE_LENGTH-1] = '\0';
6949 <
6950 <    set_locale(yylval.string);
6951 <  }
6952 < }
6953 <    break;
6954 <
6955 <  case 590:
6956 < #line 3386 "ircd_parser.y"
6957 <    {
6958 <  ConfigFileEntry.idletime = (yyvsp[(3) - (4)].number);
6959 < }
6960 <    break;
6961 <
6962 <  case 591:
6963 < #line 3391 "ircd_parser.y"
6259 >  case 546:
6260 > /* Line 1787 of yacc.c  */
6261 > #line 2646 "conf_parser.y"
6262      {
6263    ConfigFileEntry.dots_in_ident = (yyvsp[(3) - (4)].number);
6264   }
6265      break;
6266  
6267 <  case 592:
6268 < #line 3396 "ircd_parser.y"
6267 >  case 547:
6268 > /* Line 1787 of yacc.c  */
6269 > #line 2651 "conf_parser.y"
6270      {
6271    ConfigFileEntry.max_targets = (yyvsp[(3) - (4)].number);
6272   }
6273      break;
6274  
6275 <  case 593:
6276 < #line 3401 "ircd_parser.y"
6275 >  case 548:
6276 > /* Line 1787 of yacc.c  */
6277 > #line 2656 "conf_parser.y"
6278      {
6279 <  if (ypass == 2)
6980 <  {
6981 <    MyFree(ConfigFileEntry.servlink_path);
6982 <    DupString(ConfigFileEntry.servlink_path, yylval.string);
6983 <  }
6984 < }
6985 <    break;
6986 <
6987 <  case 594:
6988 < #line 3410 "ircd_parser.y"
6989 <    {
6990 < #ifdef HAVE_LIBCRYPTO
6991 <  if (ypass == 2)
6992 <  {
6993 <    struct EncCapability *ecap;
6994 <    const char *cipher_name;
6995 <    int found = 0;
6996 <
6997 <    ConfigFileEntry.default_cipher_preference = NULL;
6998 <    cipher_name = yylval.string;
6999 <
7000 <    for (ecap = CipherTable; ecap->name; ecap++)
7001 <    {
7002 <      if ((irccmp(ecap->name, cipher_name) == 0) &&
7003 <          (ecap->cap & CAP_ENC_MASK))
7004 <      {
7005 <        ConfigFileEntry.default_cipher_preference = ecap;
7006 <        found = 1;
7007 <        break;
7008 <      }
7009 <    }
7010 <
7011 <    if (!found)
7012 <      yyerror("Invalid cipher");
7013 <  }
7014 < #else
7015 <  if (ypass == 2)
7016 <    yyerror("Ignoring default_cipher_preference -- no OpenSSL support");
7017 < #endif
6279 >  ConfigFileEntry.use_egd = yylval.number;
6280   }
6281      break;
6282  
6283 <  case 595:
6284 < #line 3442 "ircd_parser.y"
6283 >  case 549:
6284 > /* Line 1787 of yacc.c  */
6285 > #line 2661 "conf_parser.y"
6286      {
6287 <  if (ypass == 2)
6287 >  if (conf_parser_ctx.pass == 2)
6288    {
6289 <    ConfigFileEntry.compression_level = (yyvsp[(3) - (4)].number);
6290 < #ifndef HAVE_LIBZ
7028 <    yyerror("Ignoring compression_level -- no zlib support");
7029 < #else
7030 <    if ((ConfigFileEntry.compression_level < 1) ||
7031 <        (ConfigFileEntry.compression_level > 9))
7032 <    {
7033 <      yyerror("Ignoring invalid compression_level, using default");
7034 <      ConfigFileEntry.compression_level = 0;
7035 <    }
7036 < #endif
6289 >    MyFree(ConfigFileEntry.egdpool_path);
6290 >    ConfigFileEntry.egdpool_path = xstrdup(yylval.string);
6291    }
6292   }
6293      break;
6294  
6295 <  case 596:
6296 < #line 3460 "ircd_parser.y"
6297 <    {
7044 <  ConfigFileEntry.use_egd = yylval.number;
7045 < }
7046 <    break;
7047 <
7048 <  case 597:
7049 < #line 3465 "ircd_parser.y"
6295 >  case 550:
6296 > /* Line 1787 of yacc.c  */
6297 > #line 2670 "conf_parser.y"
6298      {
6299 <  if (ypass == 2)
6299 >  if (conf_parser_ctx.pass == 2 && valid_servname(yylval.string))
6300    {
6301 <    MyFree(ConfigFileEntry.egdpool_path);
6302 <    DupString(ConfigFileEntry.egdpool_path, yylval.string);
6301 >    MyFree(ConfigFileEntry.service_name);
6302 >    ConfigFileEntry.service_name = xstrdup(yylval.string);
6303    }
6304   }
6305      break;
6306  
6307 <  case 598:
6308 < #line 3474 "ircd_parser.y"
6307 >  case 551:
6308 > /* Line 1787 of yacc.c  */
6309 > #line 2679 "conf_parser.y"
6310      {
6311    ConfigFileEntry.ping_cookie = yylval.number;
6312   }
6313      break;
6314  
6315 <  case 599:
6316 < #line 3479 "ircd_parser.y"
6315 >  case 552:
6316 > /* Line 1787 of yacc.c  */
6317 > #line 2684 "conf_parser.y"
6318      {
6319    ConfigFileEntry.disable_auth = yylval.number;
6320   }
6321      break;
6322  
6323 <  case 600:
6324 < #line 3484 "ircd_parser.y"
6323 >  case 553:
6324 > /* Line 1787 of yacc.c  */
6325 > #line 2689 "conf_parser.y"
6326      {
6327    ConfigFileEntry.throttle_time = yylval.number;
6328   }
6329      break;
6330  
6331 <  case 601:
6332 < #line 3489 "ircd_parser.y"
6331 >  case 554:
6332 > /* Line 1787 of yacc.c  */
6333 > #line 2694 "conf_parser.y"
6334      {
6335    ConfigFileEntry.oper_umodes = 0;
6336   }
6337      break;
6338  
6339 <  case 605:
6340 < #line 3495 "ircd_parser.y"
6339 >  case 558:
6340 > /* Line 1787 of yacc.c  */
6341 > #line 2700 "conf_parser.y"
6342      {
6343    ConfigFileEntry.oper_umodes |= UMODE_BOTS;
6344   }
6345      break;
6346  
6347 <  case 606:
6348 < #line 3498 "ircd_parser.y"
6347 >  case 559:
6348 > /* Line 1787 of yacc.c  */
6349 > #line 2703 "conf_parser.y"
6350      {
6351    ConfigFileEntry.oper_umodes |= UMODE_CCONN;
6352   }
6353      break;
6354  
6355 <  case 607:
6356 < #line 3501 "ircd_parser.y"
6355 >  case 560:
6356 > /* Line 1787 of yacc.c  */
6357 > #line 2706 "conf_parser.y"
6358      {
6359 <  ConfigFileEntry.oper_umodes |= UMODE_CCONN_FULL;
6359 >  ConfigFileEntry.oper_umodes |= UMODE_DEAF;
6360   }
6361      break;
6362  
6363 <  case 608:
6364 < #line 3504 "ircd_parser.y"
6363 >  case 561:
6364 > /* Line 1787 of yacc.c  */
6365 > #line 2709 "conf_parser.y"
6366      {
6367 <  ConfigFileEntry.oper_umodes |= UMODE_DEAF;
6367 >  ConfigFileEntry.oper_umodes |= UMODE_DEBUG;
6368   }
6369      break;
6370  
6371 <  case 609:
6372 < #line 3507 "ircd_parser.y"
6371 >  case 562:
6372 > /* Line 1787 of yacc.c  */
6373 > #line 2712 "conf_parser.y"
6374      {
6375 <  ConfigFileEntry.oper_umodes |= UMODE_DEBUG;
6375 >  ConfigFileEntry.oper_umodes |= UMODE_FULL;
6376   }
6377      break;
6378  
6379 <  case 610:
6380 < #line 3510 "ircd_parser.y"
6379 >  case 563:
6380 > /* Line 1787 of yacc.c  */
6381 > #line 2715 "conf_parser.y"
6382      {
6383 <  ConfigFileEntry.oper_umodes |= UMODE_FULL;
6383 >  ConfigFileEntry.oper_umodes |= UMODE_HIDDEN;
6384   }
6385      break;
6386  
6387 <  case 611:
6388 < #line 3513 "ircd_parser.y"
6387 >  case 564:
6388 > /* Line 1787 of yacc.c  */
6389 > #line 2718 "conf_parser.y"
6390      {
6391    ConfigFileEntry.oper_umodes |= UMODE_SKILL;
6392   }
6393      break;
6394  
6395 <  case 612:
6396 < #line 3516 "ircd_parser.y"
6395 >  case 565:
6396 > /* Line 1787 of yacc.c  */
6397 > #line 2721 "conf_parser.y"
6398      {
6399    ConfigFileEntry.oper_umodes |= UMODE_NCHANGE;
6400   }
6401      break;
6402  
6403 <  case 613:
6404 < #line 3519 "ircd_parser.y"
6403 >  case 566:
6404 > /* Line 1787 of yacc.c  */
6405 > #line 2724 "conf_parser.y"
6406      {
6407    ConfigFileEntry.oper_umodes |= UMODE_REJ;
6408   }
6409      break;
6410  
6411 <  case 614:
6412 < #line 3522 "ircd_parser.y"
6411 >  case 567:
6412 > /* Line 1787 of yacc.c  */
6413 > #line 2727 "conf_parser.y"
6414      {
6415    ConfigFileEntry.oper_umodes |= UMODE_UNAUTH;
6416   }
6417      break;
6418  
6419 <  case 615:
6420 < #line 3525 "ircd_parser.y"
6419 >  case 568:
6420 > /* Line 1787 of yacc.c  */
6421 > #line 2730 "conf_parser.y"
6422      {
6423    ConfigFileEntry.oper_umodes |= UMODE_SPY;
6424   }
6425      break;
6426  
6427 <  case 616:
6428 < #line 3528 "ircd_parser.y"
6427 >  case 569:
6428 > /* Line 1787 of yacc.c  */
6429 > #line 2733 "conf_parser.y"
6430      {
6431    ConfigFileEntry.oper_umodes |= UMODE_EXTERNAL;
6432   }
6433      break;
6434  
6435 <  case 617:
6436 < #line 3531 "ircd_parser.y"
6435 >  case 570:
6436 > /* Line 1787 of yacc.c  */
6437 > #line 2736 "conf_parser.y"
6438      {
6439    ConfigFileEntry.oper_umodes |= UMODE_OPERWALL;
6440   }
6441      break;
6442  
6443 <  case 618:
6444 < #line 3534 "ircd_parser.y"
6443 >  case 571:
6444 > /* Line 1787 of yacc.c  */
6445 > #line 2739 "conf_parser.y"
6446      {
6447    ConfigFileEntry.oper_umodes |= UMODE_SERVNOTICE;
6448   }
6449      break;
6450  
6451 <  case 619:
6452 < #line 3537 "ircd_parser.y"
6451 >  case 572:
6452 > /* Line 1787 of yacc.c  */
6453 > #line 2742 "conf_parser.y"
6454      {
6455    ConfigFileEntry.oper_umodes |= UMODE_INVISIBLE;
6456   }
6457      break;
6458  
6459 <  case 620:
6460 < #line 3540 "ircd_parser.y"
6459 >  case 573:
6460 > /* Line 1787 of yacc.c  */
6461 > #line 2745 "conf_parser.y"
6462      {
6463    ConfigFileEntry.oper_umodes |= UMODE_WALLOP;
6464   }
6465      break;
6466  
6467 <  case 621:
6468 < #line 3543 "ircd_parser.y"
6467 >  case 574:
6468 > /* Line 1787 of yacc.c  */
6469 > #line 2748 "conf_parser.y"
6470      {
6471    ConfigFileEntry.oper_umodes |= UMODE_SOFTCALLERID;
6472   }
6473      break;
6474  
6475 <  case 622:
6476 < #line 3546 "ircd_parser.y"
6475 >  case 575:
6476 > /* Line 1787 of yacc.c  */
6477 > #line 2751 "conf_parser.y"
6478      {
6479    ConfigFileEntry.oper_umodes |= UMODE_CALLERID;
6480   }
6481      break;
6482  
6483 <  case 623:
6484 < #line 3549 "ircd_parser.y"
6483 >  case 576:
6484 > /* Line 1787 of yacc.c  */
6485 > #line 2754 "conf_parser.y"
6486      {
6487    ConfigFileEntry.oper_umodes |= UMODE_LOCOPS;
6488   }
6489      break;
6490  
6491 <  case 624:
6492 < #line 3554 "ircd_parser.y"
6491 >  case 577:
6492 > /* Line 1787 of yacc.c  */
6493 > #line 2757 "conf_parser.y"
6494      {
6495 <  ConfigFileEntry.oper_only_umodes = 0;
6495 >  ConfigFileEntry.oper_umodes |= UMODE_REGONLY;
6496   }
6497      break;
6498  
6499 <  case 628:
6500 < #line 3560 "ircd_parser.y"
6499 >  case 578:
6500 > /* Line 1787 of yacc.c  */
6501 > #line 2760 "conf_parser.y"
6502      {
6503 <  ConfigFileEntry.oper_only_umodes |= UMODE_BOTS;
6503 >  ConfigFileEntry.oper_umodes |= UMODE_FARCONNECT;
6504   }
6505      break;
6506  
6507 <  case 629:
6508 < #line 3563 "ircd_parser.y"
6507 >  case 579:
6508 > /* Line 1787 of yacc.c  */
6509 > #line 2765 "conf_parser.y"
6510      {
6511 <  ConfigFileEntry.oper_only_umodes |= UMODE_CCONN;
6511 >  ConfigFileEntry.oper_only_umodes = 0;
6512   }
6513      break;
6514  
6515 <  case 630:
6516 < #line 3566 "ircd_parser.y"
6515 >  case 583:
6516 > /* Line 1787 of yacc.c  */
6517 > #line 2771 "conf_parser.y"
6518      {
6519 <  ConfigFileEntry.oper_only_umodes |= UMODE_CCONN_FULL;
6519 >  ConfigFileEntry.oper_only_umodes |= UMODE_BOTS;
6520   }
6521      break;
6522  
6523 <  case 631:
6524 < #line 3569 "ircd_parser.y"
6523 >  case 584:
6524 > /* Line 1787 of yacc.c  */
6525 > #line 2774 "conf_parser.y"
6526 >    {
6527 >  ConfigFileEntry.oper_only_umodes |= UMODE_CCONN;
6528 > }
6529 >    break;
6530 >
6531 >  case 585:
6532 > /* Line 1787 of yacc.c  */
6533 > #line 2777 "conf_parser.y"
6534      {
6535    ConfigFileEntry.oper_only_umodes |= UMODE_DEAF;
6536   }
6537      break;
6538  
6539 <  case 632:
6540 < #line 3572 "ircd_parser.y"
6539 >  case 586:
6540 > /* Line 1787 of yacc.c  */
6541 > #line 2780 "conf_parser.y"
6542      {
6543    ConfigFileEntry.oper_only_umodes |= UMODE_DEBUG;
6544   }
6545      break;
6546  
6547 <  case 633:
6548 < #line 3575 "ircd_parser.y"
6547 >  case 587:
6548 > /* Line 1787 of yacc.c  */
6549 > #line 2783 "conf_parser.y"
6550      {
6551    ConfigFileEntry.oper_only_umodes |= UMODE_FULL;
6552   }
6553      break;
6554  
6555 <  case 634:
6556 < #line 3578 "ircd_parser.y"
6555 >  case 588:
6556 > /* Line 1787 of yacc.c  */
6557 > #line 2786 "conf_parser.y"
6558      {
6559    ConfigFileEntry.oper_only_umodes |= UMODE_SKILL;
6560   }
6561      break;
6562  
6563 <  case 635:
6564 < #line 3581 "ircd_parser.y"
6563 >  case 589:
6564 > /* Line 1787 of yacc.c  */
6565 > #line 2789 "conf_parser.y"
6566 >    {
6567 >  ConfigFileEntry.oper_only_umodes |= UMODE_HIDDEN;
6568 > }
6569 >    break;
6570 >
6571 >  case 590:
6572 > /* Line 1787 of yacc.c  */
6573 > #line 2792 "conf_parser.y"
6574      {
6575    ConfigFileEntry.oper_only_umodes |= UMODE_NCHANGE;
6576   }
6577      break;
6578  
6579 <  case 636:
6580 < #line 3584 "ircd_parser.y"
6579 >  case 591:
6580 > /* Line 1787 of yacc.c  */
6581 > #line 2795 "conf_parser.y"
6582      {
6583    ConfigFileEntry.oper_only_umodes |= UMODE_REJ;
6584   }
6585      break;
6586  
6587 <  case 637:
6588 < #line 3587 "ircd_parser.y"
6587 >  case 592:
6588 > /* Line 1787 of yacc.c  */
6589 > #line 2798 "conf_parser.y"
6590      {
6591    ConfigFileEntry.oper_only_umodes |= UMODE_UNAUTH;
6592   }
6593      break;
6594  
6595 <  case 638:
6596 < #line 3590 "ircd_parser.y"
6595 >  case 593:
6596 > /* Line 1787 of yacc.c  */
6597 > #line 2801 "conf_parser.y"
6598      {
6599    ConfigFileEntry.oper_only_umodes |= UMODE_SPY;
6600   }
6601      break;
6602  
6603 <  case 639:
6604 < #line 3593 "ircd_parser.y"
6603 >  case 594:
6604 > /* Line 1787 of yacc.c  */
6605 > #line 2804 "conf_parser.y"
6606      {
6607    ConfigFileEntry.oper_only_umodes |= UMODE_EXTERNAL;
6608   }
6609      break;
6610  
6611 <  case 640:
6612 < #line 3596 "ircd_parser.y"
6611 >  case 595:
6612 > /* Line 1787 of yacc.c  */
6613 > #line 2807 "conf_parser.y"
6614      {
6615    ConfigFileEntry.oper_only_umodes |= UMODE_OPERWALL;
6616   }
6617      break;
6618  
6619 <  case 641:
6620 < #line 3599 "ircd_parser.y"
6619 >  case 596:
6620 > /* Line 1787 of yacc.c  */
6621 > #line 2810 "conf_parser.y"
6622      {
6623    ConfigFileEntry.oper_only_umodes |= UMODE_SERVNOTICE;
6624   }
6625      break;
6626  
6627 <  case 642:
6628 < #line 3602 "ircd_parser.y"
6627 >  case 597:
6628 > /* Line 1787 of yacc.c  */
6629 > #line 2813 "conf_parser.y"
6630      {
6631    ConfigFileEntry.oper_only_umodes |= UMODE_INVISIBLE;
6632   }
6633      break;
6634  
6635 <  case 643:
6636 < #line 3605 "ircd_parser.y"
6635 >  case 598:
6636 > /* Line 1787 of yacc.c  */
6637 > #line 2816 "conf_parser.y"
6638      {
6639    ConfigFileEntry.oper_only_umodes |= UMODE_WALLOP;
6640   }
6641      break;
6642  
6643 <  case 644:
6644 < #line 3608 "ircd_parser.y"
6643 >  case 599:
6644 > /* Line 1787 of yacc.c  */
6645 > #line 2819 "conf_parser.y"
6646      {
6647    ConfigFileEntry.oper_only_umodes |= UMODE_SOFTCALLERID;
6648   }
6649      break;
6650  
6651 <  case 645:
6652 < #line 3611 "ircd_parser.y"
6651 >  case 600:
6652 > /* Line 1787 of yacc.c  */
6653 > #line 2822 "conf_parser.y"
6654      {
6655    ConfigFileEntry.oper_only_umodes |= UMODE_CALLERID;
6656   }
6657      break;
6658  
6659 <  case 646:
6660 < #line 3614 "ircd_parser.y"
6659 >  case 601:
6660 > /* Line 1787 of yacc.c  */
6661 > #line 2825 "conf_parser.y"
6662      {
6663    ConfigFileEntry.oper_only_umodes |= UMODE_LOCOPS;
6664   }
6665      break;
6666  
6667 <  case 647:
6668 < #line 3619 "ircd_parser.y"
6669 <    {
7363 <  ConfigFileEntry.min_nonwildcard = (yyvsp[(3) - (4)].number);
7364 < }
7365 <    break;
7366 <
7367 <  case 648:
7368 < #line 3624 "ircd_parser.y"
7369 <    {
7370 <  ConfigFileEntry.min_nonwildcard_simple = (yyvsp[(3) - (4)].number);
7371 < }
7372 <    break;
7373 <
7374 <  case 649:
7375 < #line 3629 "ircd_parser.y"
7376 <    {
7377 <  ConfigFileEntry.default_floodcount = (yyvsp[(3) - (4)].number);
7378 < }
7379 <    break;
7380 <
7381 <  case 650:
7382 < #line 3634 "ircd_parser.y"
7383 <    {
7384 <  ConfigFileEntry.client_flood = (yyvsp[(3) - (4)].number);
7385 < }
7386 <    break;
7387 <
7388 <  case 651:
7389 < #line 3639 "ircd_parser.y"
7390 <    {
7391 <  ConfigFileEntry.dot_in_ip6_addr = yylval.number;
7392 < }
7393 <    break;
7394 <
7395 <  case 652:
7396 < #line 3647 "ircd_parser.y"
7397 <    {
7398 <  if (ypass == 2)
7399 <  {
7400 <    yy_conf = make_conf_item(GDENY_TYPE);
7401 <    yy_aconf = map_to_conf(yy_conf);
7402 <  }
7403 < }
7404 <    break;
7405 <
7406 <  case 653:
7407 < #line 3654 "ircd_parser.y"
7408 <    {
7409 <  if (ypass == 2)
7410 <  {
7411 <    /*
7412 <     * since we re-allocate yy_conf/yy_aconf after the end of action=, at the
7413 <     * end we will have one extra, so we should free it.
7414 <     */
7415 <    if (yy_conf->name == NULL || yy_aconf->user == NULL)
7416 <    {
7417 <      delete_conf_item(yy_conf);
7418 <      yy_conf = NULL;
7419 <      yy_aconf = NULL;
7420 <    }
7421 <  }
7422 < }
7423 <    break;
7424 <
7425 <  case 663:
7426 < #line 3680 "ircd_parser.y"
7427 <    {
7428 <  if (ypass == 2)
7429 <    ConfigFileEntry.glines = yylval.number;
7430 < }
7431 <    break;
7432 <
7433 <  case 664:
7434 < #line 3686 "ircd_parser.y"
7435 <    {
7436 <  if (ypass == 2)
7437 <    ConfigFileEntry.gline_time = (yyvsp[(3) - (4)].number);
7438 < }
7439 <    break;
7440 <
7441 <  case 665:
7442 < #line 3692 "ircd_parser.y"
7443 <    {
7444 <  if (ypass == 2)
7445 <    ConfigFileEntry.gline_logging = 0;
7446 < }
7447 <    break;
7448 <
7449 <  case 669:
7450 < #line 3698 "ircd_parser.y"
6667 >  case 602:
6668 > /* Line 1787 of yacc.c  */
6669 > #line 2828 "conf_parser.y"
6670      {
6671 <  if (ypass == 2)
7453 <    ConfigFileEntry.gline_logging |= GDENY_REJECT;
6671 >  ConfigFileEntry.oper_only_umodes |= UMODE_REGONLY;
6672   }
6673      break;
6674  
6675 <  case 670:
6676 < #line 3702 "ircd_parser.y"
6675 >  case 603:
6676 > /* Line 1787 of yacc.c  */
6677 > #line 2831 "conf_parser.y"
6678      {
6679 <  if (ypass == 2)
7461 <    ConfigFileEntry.gline_logging |= GDENY_BLOCK;
6679 >  ConfigFileEntry.oper_only_umodes |= UMODE_FARCONNECT;
6680   }
6681      break;
6682  
6683 <  case 671:
6684 < #line 3708 "ircd_parser.y"
6683 >  case 604:
6684 > /* Line 1787 of yacc.c  */
6685 > #line 2836 "conf_parser.y"
6686      {
6687 <  if (ypass == 2)
7469 <  {
7470 <    struct split_nuh_item nuh;
7471 <
7472 <    nuh.nuhmask  = yylval.string;
7473 <    nuh.nickptr  = NULL;
7474 <    nuh.userptr  = userbuf;
7475 <    nuh.hostptr  = hostbuf;
7476 <
7477 <    nuh.nicksize = 0;
7478 <    nuh.usersize = sizeof(userbuf);
7479 <    nuh.hostsize = sizeof(hostbuf);
7480 <
7481 <    split_nuh(&nuh);
7482 <
7483 <    if (yy_aconf->user == NULL)
7484 <    {
7485 <      DupString(yy_aconf->user, userbuf);
7486 <      DupString(yy_aconf->host, hostbuf);
7487 <    }
7488 <    else
7489 <    {
7490 <      struct CollectItem *yy_tmp = MyMalloc(sizeof(struct CollectItem));
7491 <
7492 <      DupString(yy_tmp->user, userbuf);
7493 <      DupString(yy_tmp->host, hostbuf);
7494 <
7495 <      dlinkAdd(yy_tmp, &yy_tmp->node, &col_conf_list);
7496 <    }
7497 <  }
7498 < }
7499 <    break;
7500 <
7501 <  case 672:
7502 < #line 3742 "ircd_parser.y"
7503 <    {
7504 <  if (ypass == 2)  
7505 <  {
7506 <    MyFree(yy_conf->name);
7507 <    DupString(yy_conf->name, yylval.string);
7508 <  }
7509 < }
7510 <    break;
7511 <
7512 <  case 673:
7513 < #line 3751 "ircd_parser.y"
7514 <    {
7515 <  if (ypass == 2)
7516 <    yy_aconf->flags = 0;
7517 < }
7518 <    break;
7519 <
7520 <  case 674:
7521 < #line 3755 "ircd_parser.y"
7522 <    {
7523 <  if (ypass == 2)
7524 <  {
7525 <    struct CollectItem *yy_tmp = NULL;
7526 <    dlink_node *ptr, *next_ptr;
7527 <
7528 <    DLINK_FOREACH_SAFE(ptr, next_ptr, col_conf_list.head)
7529 <    {
7530 <      struct AccessItem *new_aconf;
7531 <      struct ConfItem *new_conf;
7532 <
7533 <      yy_tmp = ptr->data;
7534 <      new_conf = make_conf_item(GDENY_TYPE);
7535 <      new_aconf = map_to_conf(new_conf);
7536 <
7537 <      new_aconf->flags = yy_aconf->flags;
7538 <
7539 <      if (yy_conf->name != NULL)
7540 <        DupString(new_conf->name, yy_conf->name);
7541 <      else
7542 <        DupString(new_conf->name, "*");
7543 <      if (yy_aconf->user != NULL)
7544 <         DupString(new_aconf->user, yy_tmp->user);
7545 <      else  
7546 <        DupString(new_aconf->user, "*");
7547 <      if (yy_aconf->host != NULL)
7548 <        DupString(new_aconf->host, yy_tmp->host);
7549 <      else
7550 <        DupString(new_aconf->host, "*");
7551 <
7552 <      dlinkDelete(&yy_tmp->node, &col_conf_list);
7553 <    }
7554 <
7555 <    /*
7556 <     * In case someone has fed us with more than one action= after user/name
7557 <     * which would leak memory  -Michael
7558 <     */
7559 <    if (yy_conf->name == NULL || yy_aconf->user == NULL)
7560 <      delete_conf_item(yy_conf);
7561 <
7562 <    yy_conf = make_conf_item(GDENY_TYPE);
7563 <    yy_aconf = map_to_conf(yy_conf);
7564 <  }
6687 >  ConfigFileEntry.min_nonwildcard = (yyvsp[(3) - (4)].number);
6688   }
6689      break;
6690  
6691 <  case 677:
6692 < #line 3802 "ircd_parser.y"
6691 >  case 605:
6692 > /* Line 1787 of yacc.c  */
6693 > #line 2841 "conf_parser.y"
6694      {
6695 <  if (ypass == 2)
7572 <    yy_aconf->flags |= GDENY_REJECT;
6695 >  ConfigFileEntry.min_nonwildcard_simple = (yyvsp[(3) - (4)].number);
6696   }
6697      break;
6698  
6699 <  case 678:
6700 < #line 3806 "ircd_parser.y"
6699 >  case 606:
6700 > /* Line 1787 of yacc.c  */
6701 > #line 2846 "conf_parser.y"
6702      {
6703 <  if (ypass == 2)
7580 <    yy_aconf->flags |= GDENY_BLOCK;
6703 >  ConfigFileEntry.default_floodcount = (yyvsp[(3) - (4)].number);
6704   }
6705      break;
6706  
6707 <  case 701:
6708 < #line 3830 "ircd_parser.y"
6707 >  case 623:
6708 > /* Line 1787 of yacc.c  */
6709 > #line 2869 "conf_parser.y"
6710      {
6711    ConfigChannel.disable_fake_channels = yylval.number;
6712   }
6713      break;
6714  
6715 <  case 702:
6716 < #line 3835 "ircd_parser.y"
6717 <    {
7594 <  ConfigChannel.restrict_channels = yylval.number;
7595 < }
7596 <    break;
7597 <
7598 <  case 703:
7599 < #line 3840 "ircd_parser.y"
7600 <    {
7601 <  ConfigChannel.disable_local_channels = yylval.number;
7602 < }
7603 <    break;
7604 <
7605 <  case 704:
7606 < #line 3845 "ircd_parser.y"
7607 <    {
7608 <  ConfigChannel.use_except = yylval.number;
7609 < }
7610 <    break;
7611 <
7612 <  case 705:
7613 < #line 3850 "ircd_parser.y"
7614 <    {
7615 <  ConfigChannel.use_invex = yylval.number;
7616 < }
7617 <    break;
7618 <
7619 <  case 706:
7620 < #line 3855 "ircd_parser.y"
7621 <    {
7622 <  ConfigChannel.use_knock = yylval.number;
7623 < }
7624 <    break;
7625 <
7626 <  case 707:
7627 < #line 3860 "ircd_parser.y"
6715 >  case 624:
6716 > /* Line 1787 of yacc.c  */
6717 > #line 2874 "conf_parser.y"
6718      {
6719    ConfigChannel.knock_delay = (yyvsp[(3) - (4)].number);
6720   }
6721      break;
6722  
6723 <  case 708:
6724 < #line 3865 "ircd_parser.y"
6723 >  case 625:
6724 > /* Line 1787 of yacc.c  */
6725 > #line 2879 "conf_parser.y"
6726      {
6727    ConfigChannel.knock_delay_channel = (yyvsp[(3) - (4)].number);
6728   }
6729      break;
6730  
6731 <  case 709:
6732 < #line 3870 "ircd_parser.y"
6731 >  case 626:
6732 > /* Line 1787 of yacc.c  */
6733 > #line 2884 "conf_parser.y"
6734      {
6735    ConfigChannel.max_chans_per_user = (yyvsp[(3) - (4)].number);
6736   }
6737      break;
6738  
6739 <  case 710:
6740 < #line 3875 "ircd_parser.y"
6739 >  case 627:
6740 > /* Line 1787 of yacc.c  */
6741 > #line 2889 "conf_parser.y"
6742      {
6743 <  ConfigChannel.quiet_on_ban = yylval.number;
6743 >  ConfigChannel.max_chans_per_oper = (yyvsp[(3) - (4)].number);
6744   }
6745      break;
6746  
6747 <  case 711:
6748 < #line 3880 "ircd_parser.y"
6747 >  case 628:
6748 > /* Line 1787 of yacc.c  */
6749 > #line 2894 "conf_parser.y"
6750      {
6751    ConfigChannel.max_bans = (yyvsp[(3) - (4)].number);
6752   }
6753      break;
6754  
6755 <  case 712:
6756 < #line 3885 "ircd_parser.y"
6755 >  case 629:
6756 > /* Line 1787 of yacc.c  */
6757 > #line 2899 "conf_parser.y"
6758      {
6759    ConfigChannel.default_split_user_count = (yyvsp[(3) - (4)].number);
6760   }
6761      break;
6762  
6763 <  case 713:
6764 < #line 3890 "ircd_parser.y"
6763 >  case 630:
6764 > /* Line 1787 of yacc.c  */
6765 > #line 2904 "conf_parser.y"
6766      {
6767    ConfigChannel.default_split_server_count = (yyvsp[(3) - (4)].number);
6768   }
6769      break;
6770  
6771 <  case 714:
6772 < #line 3895 "ircd_parser.y"
6771 >  case 631:
6772 > /* Line 1787 of yacc.c  */
6773 > #line 2909 "conf_parser.y"
6774      {
6775    ConfigChannel.no_create_on_split = yylval.number;
6776   }
6777      break;
6778  
6779 <  case 715:
6780 < #line 3900 "ircd_parser.y"
6779 >  case 632:
6780 > /* Line 1787 of yacc.c  */
6781 > #line 2914 "conf_parser.y"
6782      {
6783    ConfigChannel.no_join_on_split = yylval.number;
6784   }
6785      break;
6786  
6787 <  case 716:
6788 < #line 3905 "ircd_parser.y"
6787 >  case 633:
6788 > /* Line 1787 of yacc.c  */
6789 > #line 2919 "conf_parser.y"
6790      {
6791 <  ConfigChannel.burst_topicwho = yylval.number;
6791 >  GlobalSetOptions.joinfloodcount = yylval.number;
6792   }
6793      break;
6794  
6795 <  case 717:
6796 < #line 3910 "ircd_parser.y"
6795 >  case 634:
6796 > /* Line 1787 of yacc.c  */
6797 > #line 2924 "conf_parser.y"
6798      {
6799 <  GlobalSetOptions.joinfloodcount = yylval.number;
6799 >  GlobalSetOptions.joinfloodtime = yylval.number;
6800   }
6801      break;
6802  
6803 <  case 718:
6804 < #line 3915 "ircd_parser.y"
6803 >  case 647:
6804 > /* Line 1787 of yacc.c  */
6805 > #line 2944 "conf_parser.y"
6806      {
6807 <  GlobalSetOptions.joinfloodtime = yylval.number;
6807 >  if (conf_parser_ctx.pass == 2)
6808 >    ConfigServerHide.flatten_links = yylval.number;
6809   }
6810      break;
6811  
6812 <  case 730:
6813 < #line 3934 "ircd_parser.y"
6812 >  case 648:
6813 > /* Line 1787 of yacc.c  */
6814 > #line 2950 "conf_parser.y"
6815      {
6816 <  if (ypass == 2)
6817 <    ConfigServerHide.flatten_links = yylval.number;
6816 >  if (conf_parser_ctx.pass == 2)
6817 >    ConfigServerHide.disable_remote_commands = yylval.number;
6818   }
6819      break;
6820  
6821 <  case 731:
6822 < #line 3940 "ircd_parser.y"
6821 >  case 649:
6822 > /* Line 1787 of yacc.c  */
6823 > #line 2956 "conf_parser.y"
6824      {
6825 <  if (ypass == 2)
6825 >  if (conf_parser_ctx.pass == 2)
6826      ConfigServerHide.hide_servers = yylval.number;
6827   }
6828      break;
6829  
6830 <  case 732:
6831 < #line 3946 "ircd_parser.y"
6830 >  case 650:
6831 > /* Line 1787 of yacc.c  */
6832 > #line 2962 "conf_parser.y"
6833 >    {
6834 >  if (conf_parser_ctx.pass == 2)
6835 >    ConfigServerHide.hide_services = yylval.number;
6836 > }
6837 >    break;
6838 >
6839 >  case 651:
6840 > /* Line 1787 of yacc.c  */
6841 > #line 2968 "conf_parser.y"
6842      {
6843 <  if (ypass == 2)
6843 >  if (conf_parser_ctx.pass == 2)
6844    {
6845      MyFree(ConfigServerHide.hidden_name);
6846 <    DupString(ConfigServerHide.hidden_name, yylval.string);
6846 >    ConfigServerHide.hidden_name = xstrdup(yylval.string);
6847    }
6848   }
6849      break;
6850  
6851 <  case 733:
6852 < #line 3955 "ircd_parser.y"
6851 >  case 652:
6852 > /* Line 1787 of yacc.c  */
6853 > #line 2977 "conf_parser.y"
6854      {
6855 <  if (ypass == 2)
6855 >  if (conf_parser_ctx.pass == 2)
6856    {
6857      if (((yyvsp[(3) - (4)].number) > 0) && ConfigServerHide.links_disabled == 1)
6858      {
# Line 7750 | Line 6865 | yyreduce:
6865   }
6866      break;
6867  
6868 <  case 734:
6869 < #line 3969 "ircd_parser.y"
6868 >  case 653:
6869 > /* Line 1787 of yacc.c  */
6870 > #line 2991 "conf_parser.y"
6871      {
6872 <  if (ypass == 2)
6872 >  if (conf_parser_ctx.pass == 2)
6873      ConfigServerHide.hidden = yylval.number;
6874   }
6875      break;
6876  
6877 <  case 735:
6878 < #line 3975 "ircd_parser.y"
6879 <    {
7764 <  if (ypass == 2)
7765 <    ConfigServerHide.disable_hidden = yylval.number;
7766 < }
7767 <    break;
7768 <
7769 <  case 736:
7770 < #line 3981 "ircd_parser.y"
6877 >  case 654:
6878 > /* Line 1787 of yacc.c  */
6879 > #line 2997 "conf_parser.y"
6880      {
6881 <  if (ypass == 2)
6881 >  if (conf_parser_ctx.pass == 2)
6882      ConfigServerHide.hide_server_ips = yylval.number;
6883   }
6884      break;
6885  
6886  
6887 < /* Line 1267 of yacc.c.  */
6888 < #line 7780 "ircd_parser.c"
6887 > /* Line 1787 of yacc.c  */
6888 > #line 6889 "conf_parser.c"
6889        default: break;
6890      }
6891 +  /* User semantic actions sometimes alter yychar, and that requires
6892 +     that yytoken be updated with the new translation.  We take the
6893 +     approach of translating immediately before every use of yytoken.
6894 +     One alternative is translating here after every semantic action,
6895 +     but that translation would be missed if the semantic action invokes
6896 +     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
6897 +     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
6898 +     incorrect destructor might then be invoked immediately.  In the
6899 +     case of YYERROR or YYBACKUP, subsequent parser actions might lead
6900 +     to an incorrect destructor call or verbose syntax error message
6901 +     before the lookahead is translated.  */
6902    YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
6903  
6904    YYPOPSTACK (yylen);
# Line 7787 | Line 6907 | yyreduce:
6907  
6908    *++yyvsp = yyval;
6909  
7790
6910    /* Now `shift' the result of the reduction.  Determine what state
6911       that goes to, based on the state we popped back to and the rule
6912       number reduced by.  */
# Line 7807 | Line 6926 | yyreduce:
6926   | yyerrlab -- here on detecting error |
6927   `------------------------------------*/
6928   yyerrlab:
6929 +  /* Make sure we have latest lookahead translation.  See comments at
6930 +     user semantic actions for why this is necessary.  */
6931 +  yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);
6932 +
6933    /* If not already recovering from an error, report this error.  */
6934    if (!yyerrstatus)
6935      {
# Line 7814 | Line 6937 | yyerrlab:
6937   #if ! YYERROR_VERBOSE
6938        yyerror (YY_("syntax error"));
6939   #else
6940 + # define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
6941 +                                        yyssp, yytoken)
6942        {
6943 <        YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
6944 <        if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
6945 <          {
6946 <            YYSIZE_T yyalloc = 2 * yysize;
6947 <            if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
6948 <              yyalloc = YYSTACK_ALLOC_MAXIMUM;
6949 <            if (yymsg != yymsgbuf)
6950 <              YYSTACK_FREE (yymsg);
6951 <            yymsg = (char *) YYSTACK_ALLOC (yyalloc);
6952 <            if (yymsg)
6953 <              yymsg_alloc = yyalloc;
6954 <            else
6955 <              {
6956 <                yymsg = yymsgbuf;
6957 <                yymsg_alloc = sizeof yymsgbuf;
6958 <              }
6959 <          }
6960 <
6961 <        if (0 < yysize && yysize <= yymsg_alloc)
6962 <          {
6963 <            (void) yysyntax_error (yymsg, yystate, yychar);
6964 <            yyerror (yymsg);
6965 <          }
6966 <        else
6967 <          {
7843 <            yyerror (YY_("syntax error"));
7844 <            if (yysize != 0)
7845 <              goto yyexhaustedlab;
7846 <          }
6943 >        char const *yymsgp = YY_("syntax error");
6944 >        int yysyntax_error_status;
6945 >        yysyntax_error_status = YYSYNTAX_ERROR;
6946 >        if (yysyntax_error_status == 0)
6947 >          yymsgp = yymsg;
6948 >        else if (yysyntax_error_status == 1)
6949 >          {
6950 >            if (yymsg != yymsgbuf)
6951 >              YYSTACK_FREE (yymsg);
6952 >            yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);
6953 >            if (!yymsg)
6954 >              {
6955 >                yymsg = yymsgbuf;
6956 >                yymsg_alloc = sizeof yymsgbuf;
6957 >                yysyntax_error_status = 2;
6958 >              }
6959 >            else
6960 >              {
6961 >                yysyntax_error_status = YYSYNTAX_ERROR;
6962 >                yymsgp = yymsg;
6963 >              }
6964 >          }
6965 >        yyerror (yymsgp);
6966 >        if (yysyntax_error_status == 2)
6967 >          goto yyexhaustedlab;
6968        }
6969 + # undef YYSYNTAX_ERROR
6970   #endif
6971      }
6972  
# Line 7852 | Line 6974 | yyerrlab:
6974  
6975    if (yyerrstatus == 3)
6976      {
6977 <      /* If just tried and failed to reuse look-ahead token after an
6977 >      /* If just tried and failed to reuse lookahead token after an
6978           error, discard it.  */
6979  
6980        if (yychar <= YYEOF)
# Line 7869 | Line 6991 | yyerrlab:
6991          }
6992      }
6993  
6994 <  /* Else will try to reuse look-ahead token after shifting the error
6994 >  /* Else will try to reuse lookahead token after shifting the error
6995       token.  */
6996    goto yyerrlab1;
6997  
# Line 7903 | Line 7025 | yyerrlab1:
7025    for (;;)
7026      {
7027        yyn = yypact[yystate];
7028 <      if (yyn != YYPACT_NINF)
7028 >      if (!yypact_value_is_default (yyn))
7029          {
7030            yyn += YYTERROR;
7031            if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
# Line 7926 | Line 7048 | yyerrlab1:
7048        YY_STACK_PRINT (yyss, yyssp);
7049      }
7050  
7051 <  if (yyn == YYFINAL)
7930 <    YYACCEPT;
7931 <
7051 >  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
7052    *++yyvsp = yylval;
7053 +  YY_IGNORE_MAYBE_UNINITIALIZED_END
7054  
7055  
7056    /* Shift the error token.  */
# Line 7953 | Line 7074 | yyabortlab:
7074    yyresult = 1;
7075    goto yyreturn;
7076  
7077 < #ifndef yyoverflow
7077 > #if !defined yyoverflow || YYERROR_VERBOSE
7078   /*-------------------------------------------------.
7079   | yyexhaustedlab -- memory exhaustion comes here.  |
7080   `-------------------------------------------------*/
# Line 7964 | Line 7085 | yyexhaustedlab:
7085   #endif
7086  
7087   yyreturn:
7088 <  if (yychar != YYEOF && yychar != YYEMPTY)
7089 <     yydestruct ("Cleanup: discarding lookahead",
7090 <                 yytoken, &yylval);
7088 >  if (yychar != YYEMPTY)
7089 >    {
7090 >      /* Make sure we have latest lookahead translation.  See comments at
7091 >         user semantic actions for why this is necessary.  */
7092 >      yytoken = YYTRANSLATE (yychar);
7093 >      yydestruct ("Cleanup: discarding lookahead",
7094 >                  yytoken, &yylval);
7095 >    }
7096    /* Do not reclaim the symbols of the rule which action triggered
7097       this YYABORT or YYACCEPT.  */
7098    YYPOPSTACK (yylen);
# Line 7990 | Line 7116 | yyreturn:
7116   }
7117  
7118  
7993

Comparing:
ircd-hybrid-7.2/src/ircd_parser.c (property svn:keywords), Revision 913 by michael, Wed Nov 7 23:20:12 2007 UTC vs.
ircd-hybrid/trunk/src/conf_parser.c (property svn:keywords), Revision 2283 by michael, Tue Jun 18 19:13:20 2013 UTC

# Line 0 | Line 1
1 + Id Revision

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)