File: parse.h

package info (click to toggle)
gpsim 0.20.14-7.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,932 kB
  • ctags: 5,975
  • sloc: cpp: 25,431; ansic: 12,617; sh: 8,774; asm: 3,735; yacc: 678; lex: 432; makefile: 304
file content (132 lines) | stat: -rw-r--r-- 3,294 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/* A Bison parser, made by GNU Bison 1.875a.  */

/* Skeleton parser for Yacc-like parsing with Bison,
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  */

/* As a special exception, when this file is copied by Bison into a
   Bison output file, you may use that output file without restriction.
   This special exception was added by the Free Software Foundation
   in version 1.24 of Bison.  */

/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     ABORT = 258,
     ATTACH = 259,
     BREAK = 260,
     BUS = 261,
     CLEAR = 262,
     DISASSEMBLE = 263,
     DUMP = 264,
     FREQUENCY = 265,
     HELP = 266,
     LOAD = 267,
     LOG = 268,
     LIST = 269,
     NODE = 270,
     MODULE = 271,
     PROCESSOR = 272,
     QUIT = 273,
     RESET = 274,
     RUN = 275,
     SET = 276,
     STEP = 277,
     STIMULUS = 278,
     SYMBOL = 279,
     TRACE = 280,
     gpsim_VERSION = 281,
     X = 282,
     END_OF_COMMAND = 283,
     IGNORED = 284,
     SPANNING_LINES = 285,
     STRING = 286,
     INDIRECT = 287,
     END_OF_INPUT = 288,
     BIT_FLAG = 289,
     NUMERIC_OPTION = 290,
     STRING_OPTION = 291,
     NUMBER = 292,
     FLOAT_NUMBER = 293
   };
#endif
#define ABORT 258
#define ATTACH 259
#define BREAK 260
#define BUS 261
#define CLEAR 262
#define DISASSEMBLE 263
#define DUMP 264
#define FREQUENCY 265
#define HELP 266
#define LOAD 267
#define LOG 268
#define LIST 269
#define NODE 270
#define MODULE 271
#define PROCESSOR 272
#define QUIT 273
#define RESET 274
#define RUN 275
#define SET 276
#define STEP 277
#define STIMULUS 278
#define SYMBOL 279
#define TRACE 280
#define gpsim_VERSION 281
#define X 282
#define END_OF_COMMAND 283
#define IGNORED 284
#define SPANNING_LINES 285
#define STRING 286
#define INDIRECT 287
#define END_OF_INPUT 288
#define BIT_FLAG 289
#define NUMERIC_OPTION 290
#define STRING_OPTION 291
#define NUMBER 292
#define FLOAT_NUMBER 293




#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 83 "parse.yy"
typedef union YYSTYPE {
  guint32              i;
  guint64             li;
  float                f;
  char                *s;
  cmd_options        *co;
  cmd_options_num   *con;
  cmd_options_float *cof;
  cmd_options_str   *cos;
} YYSTYPE;
/* Line 1240 of yacc.c.  */
#line 124 "y.tab.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif

extern YYSTYPE yylval;