#define STRING 257 #define NUMBER 258 #define ERROR 259 #define AFTER 260 #define BLOCK 261 #define DELAY 262 #define DEVICE 263 #define DROP 264 #define EQUAL 265 #define EVERY 266 #define EXEC 267 #define FOR 268 #define LESS 269 #define LOG 270 #define MORE 271 #define NOT 272 #define ON 273 #define POLL 274 #define PROTO 275 #define QUEUE 276 #define RAISE 277 #define READ 278 #define SIZE 279 #define SLEEP 280 #define SPEED 281 #define THAN 282 #define TIMEOUT 283 #define TO 284 #define TUNE 285 #define UPS 286 #define WRITE 287 #define LEMERG 288 #define LALERT 289 #define LCRIT 290 #define LERR 291 #define LWARNING 292 #define LNOTICE 293 #define LINFO 294 #define LDEBUG 295 #define NOP 296 typedef union { char *string; double number; struct ups_reg *ups_reg; struct ups_trig *ups_trig; struct event *event; struct action *action; struct when *when; } YYSTYPE; extern YYSTYPE yylval;