Fix CursorMove command to correctly honour EdgeScroll settings.
[fvwm.git] / modules / FvwmScript / script.h
blob494f194242536c4cb783da12d542677a0ca4d5d1
1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 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. */
23 /* As a special exception, you may create a larger work that contains
24 part or all of the Bison parser skeleton and distribute that work
25 under terms of your choice, so long as that work isn't itself a
26 parser generator using the skeleton or a modified version thereof
27 as a parser skeleton. Alternatively, if you modify or redistribute
28 the parser skeleton itself, you may (at your option) remove this
29 special exception, which will cause the skeleton and the resulting
30 Bison output files to be licensed under the GNU General Public
31 License without this special exception.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
36 /* Tokens. */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPE
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
40 know about them. */
41 enum yytokentype {
42 STR = 258,
43 GSTR = 259,
44 VAR = 260,
45 FONT = 261,
46 NUMBER = 262,
47 WINDOWTITLE = 263,
48 WINDOWLOCALETITLE = 264,
49 WINDOWSIZE = 265,
50 WINDOWPOSITION = 266,
51 USEGETTEXT = 267,
52 FORECOLOR = 268,
53 BACKCOLOR = 269,
54 SHADCOLOR = 270,
55 LICOLOR = 271,
56 COLORSET = 272,
57 OBJECT = 273,
58 INIT = 274,
59 PERIODICTASK = 275,
60 QUITFUNC = 276,
61 MAIN = 277,
62 END = 278,
63 PROP = 279,
64 TYPE = 280,
65 SIZE = 281,
66 POSITION = 282,
67 VALUE = 283,
68 VALUEMIN = 284,
69 VALUEMAX = 285,
70 TITLE = 286,
71 SWALLOWEXEC = 287,
72 ICON = 288,
73 FLAGS = 289,
74 WARP = 290,
75 WRITETOFILE = 291,
76 LOCALETITLE = 292,
77 HIDDEN = 293,
78 NOFOCUS = 294,
79 NORELIEFSTRING = 295,
80 CENTER = 296,
81 LEFT = 297,
82 RIGHT = 298,
83 CASE = 299,
84 SINGLECLIC = 300,
85 DOUBLECLIC = 301,
86 BEG = 302,
87 POINT = 303,
88 EXEC = 304,
89 HIDE = 305,
90 SHOW = 306,
91 CHFONT = 307,
92 CHFORECOLOR = 308,
93 CHBACKCOLOR = 309,
94 CHCOLORSET = 310,
95 CHWINDOWTITLE = 311,
96 CHWINDOWTITLEFARG = 312,
97 KEY = 313,
98 GETVALUE = 314,
99 GETMINVALUE = 315,
100 GETMAXVALUE = 316,
101 GETFORE = 317,
102 GETBACK = 318,
103 GETHILIGHT = 319,
104 GETSHADOW = 320,
105 CHVALUE = 321,
106 CHVALUEMAX = 322,
107 CHVALUEMIN = 323,
108 ADD = 324,
109 DIV = 325,
110 MULT = 326,
111 GETTITLE = 327,
112 GETOUTPUT = 328,
113 STRCOPY = 329,
114 NUMTOHEX = 330,
115 HEXTONUM = 331,
116 QUIT = 332,
117 LAUNCHSCRIPT = 333,
118 GETSCRIPTFATHER = 334,
119 SENDTOSCRIPT = 335,
120 RECEIVFROMSCRIPT = 336,
121 GET = 337,
122 SET = 338,
123 SENDSIGN = 339,
124 REMAINDEROFDIV = 340,
125 GETTIME = 341,
126 GETSCRIPTARG = 342,
127 GETPID = 343,
128 SENDMSGANDGET = 344,
129 PARSE = 345,
130 LASTSTRING = 346,
131 GETTEXT = 347,
132 IF = 348,
133 THEN = 349,
134 ELSE = 350,
135 FOR = 351,
136 TO = 352,
137 DO = 353,
138 WHILE = 354,
139 BEGF = 355,
140 ENDF = 356,
141 EQUAL = 357,
142 INFEQ = 358,
143 SUPEQ = 359,
144 INF = 360,
145 SUP = 361,
146 DIFF = 362
148 #endif
149 /* Tokens. */
150 #define STR 258
151 #define GSTR 259
152 #define VAR 260
153 #define FONT 261
154 #define NUMBER 262
155 #define WINDOWTITLE 263
156 #define WINDOWLOCALETITLE 264
157 #define WINDOWSIZE 265
158 #define WINDOWPOSITION 266
159 #define USEGETTEXT 267
160 #define FORECOLOR 268
161 #define BACKCOLOR 269
162 #define SHADCOLOR 270
163 #define LICOLOR 271
164 #define COLORSET 272
165 #define OBJECT 273
166 #define INIT 274
167 #define PERIODICTASK 275
168 #define QUITFUNC 276
169 #define MAIN 277
170 #define END 278
171 #define PROP 279
172 #define TYPE 280
173 #define SIZE 281
174 #define POSITION 282
175 #define VALUE 283
176 #define VALUEMIN 284
177 #define VALUEMAX 285
178 #define TITLE 286
179 #define SWALLOWEXEC 287
180 #define ICON 288
181 #define FLAGS 289
182 #define WARP 290
183 #define WRITETOFILE 291
184 #define LOCALETITLE 292
185 #define HIDDEN 293
186 #define NOFOCUS 294
187 #define NORELIEFSTRING 295
188 #define CENTER 296
189 #define LEFT 297
190 #define RIGHT 298
191 #define CASE 299
192 #define SINGLECLIC 300
193 #define DOUBLECLIC 301
194 #define BEG 302
195 #define POINT 303
196 #define EXEC 304
197 #define HIDE 305
198 #define SHOW 306
199 #define CHFONT 307
200 #define CHFORECOLOR 308
201 #define CHBACKCOLOR 309
202 #define CHCOLORSET 310
203 #define CHWINDOWTITLE 311
204 #define CHWINDOWTITLEFARG 312
205 #define KEY 313
206 #define GETVALUE 314
207 #define GETMINVALUE 315
208 #define GETMAXVALUE 316
209 #define GETFORE 317
210 #define GETBACK 318
211 #define GETHILIGHT 319
212 #define GETSHADOW 320
213 #define CHVALUE 321
214 #define CHVALUEMAX 322
215 #define CHVALUEMIN 323
216 #define ADD 324
217 #define DIV 325
218 #define MULT 326
219 #define GETTITLE 327
220 #define GETOUTPUT 328
221 #define STRCOPY 329
222 #define NUMTOHEX 330
223 #define HEXTONUM 331
224 #define QUIT 332
225 #define LAUNCHSCRIPT 333
226 #define GETSCRIPTFATHER 334
227 #define SENDTOSCRIPT 335
228 #define RECEIVFROMSCRIPT 336
229 #define GET 337
230 #define SET 338
231 #define SENDSIGN 339
232 #define REMAINDEROFDIV 340
233 #define GETTIME 341
234 #define GETSCRIPTARG 342
235 #define GETPID 343
236 #define SENDMSGANDGET 344
237 #define PARSE 345
238 #define LASTSTRING 346
239 #define GETTEXT 347
240 #define IF 348
241 #define THEN 349
242 #define ELSE 350
243 #define FOR 351
244 #define TO 352
245 #define DO 353
246 #define WHILE 354
247 #define BEGF 355
248 #define ENDF 356
249 #define EQUAL 357
250 #define INFEQ 358
251 #define SUPEQ 359
252 #define INF 360
253 #define SUP 361
254 #define DIFF 362
259 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
260 typedef union YYSTYPE
261 #line 368 "script.y"
262 { char *str;
263 int number;
265 /* Line 1489 of yacc.c. */
266 #line 267 "y.tab.h"
267 YYSTYPE;
268 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
269 # define YYSTYPE_IS_DECLARED 1
270 # define YYSTYPE_IS_TRIVIAL 1
271 #endif
273 extern YYSTYPE yylval;