4 /* A Bison parser, made by GNU Bison 2.4.1. */
6 /* Skeleton interface for Bison's Yacc-like parsers in C
8 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
9 Free Software Foundation, Inc.
11 This program is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <http://www.gnu.org/licenses/>. */
24 /* As a special exception, you may create a larger work that contains
25 part or all of the Bison parser skeleton and distribute that work
26 under terms of your choice, so long as that work isn't itself a
27 parser generator using the skeleton or a modified version thereof
28 as a parser skeleton. Alternatively, if you modify or redistribute
29 the parser skeleton itself, you may (at your option) remove this
30 special exception, which will cause the skeleton and the resulting
31 Bison output files to be licensed under the GNU General Public
32 License without this special exception.
34 This special exception was added by the Free Software Foundation in
35 version 2.2 of Bison. */
41 /* Put the tokens into the symbol table, so that GDB and other debuggers
55 T_Broadcastclient
= 269,
56 T_Broadcastdelay
= 270,
114 T_Manycastclient
= 328,
115 T_Manycastserver
= 329,
128 T_Multicastclient
= 342,
141 T_NtpSignDsocket
= 355,
162 T_Saveconfigdir
= 376,
188 T_WanderThreshold
= 402,
198 T_Sim_Duration
= 412,
199 T_Server_Offset
= 413,
213 #define T_Autokey 262
214 #define T_Automax 263
215 #define T_Average 264
216 #define T_Bclient 265
219 #define T_Broadcast 268
220 #define T_Broadcastclient 269
221 #define T_Broadcastdelay 270
223 #define T_Calibrate 272
224 #define T_Calldelay 273
225 #define T_Ceiling 274
226 #define T_Clockstats 275
228 #define T_ControlKey 277
230 #define T_Cryptostats 279
232 #define T_Default 281
234 #define T_Disable 283
235 #define T_Discard 284
236 #define T_Dispersion 285
238 #define T_Driftfile 287
244 #define T_Filegen 293
254 #define T_Huffpuff 303
258 #define T_Includefile 307
259 #define T_Integer 308
260 #define T_Interface 309
262 #define T_Ipv4_flag 311
264 #define T_Ipv6_flag 313
268 #define T_Keysdir 317
271 #define T_Leapfile 320
272 #define T_Limited 321
275 #define T_Logconfig 324
276 #define T_Logfile 325
277 #define T_Loopstats 326
278 #define T_Lowpriotrap 327
279 #define T_Manycastclient 328
280 #define T_Manycastserver 329
282 #define T_Maxclock 331
283 #define T_Maxdist 332
284 #define T_Maxpoll 333
285 #define T_Minclock 334
286 #define T_Mindist 335
287 #define T_Minimum 336
288 #define T_Minpoll 337
289 #define T_Minsane 338
291 #define T_Monitor 340
293 #define T_Multicastclient 342
296 #define T_Nomodify 345
299 #define T_Noquery 348
300 #define T_Noselect 349
301 #define T_Noserve 350
303 #define T_Notrust 352
305 #define T_Ntpport 354
306 #define T_NtpSignDsocket 355
310 #define T_Peerstats 359
313 #define T_Pidfile 362
316 #define T_Preempt 365
318 #define T_Protostats 367
321 #define T_Randfile 370
322 #define T_Rawstats 371
324 #define T_Requestkey 373
325 #define T_Restrict 374
327 #define T_Saveconfigdir 376
331 #define T_Statistics 380
333 #define T_Statsdir 382
335 #define T_Stepout 384
336 #define T_Stratum 385
338 #define T_Sysstats 387
342 #define T_Timingstats 391
347 #define T_Trustedkey 396
350 #define T_Unconfig 399
352 #define T_Version 401
353 #define T_WanderThreshold 402
355 #define T_Wildcard 404
361 #define T_Simulate 410
362 #define T_Beep_Delay 411
363 #define T_Sim_Duration 412
364 #define T_Server_Offset 413
365 #define T_Duration 414
366 #define T_Freq_Offset 415
369 #define T_Prop_Delay 418
370 #define T_Proc_Delay 419
375 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
376 typedef union YYSTYPE
379 /* Line 1676 of yacc.c */
380 #line 50 "ntp_parser.y"
387 struct attr_val
*Attr_val
;
388 struct address_node
*Address_node
;
389 struct setvar_node
*Set_var
;
391 /* Simulation types */
392 server_info
*Sim_server
;
393 script_info
*Sim_script
;
397 /* Line 1676 of yacc.c */
398 #line 397 "../../ntpd/ntp_parser.h"
400 # define YYSTYPE_IS_TRIVIAL 1
401 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
402 # define YYSTYPE_IS_DECLARED 1
405 extern YYSTYPE yylval
;