This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document that -F doesn't accept whitespace in patterns.
[perl5.git] / perly.h
CommitLineData
d8118cad 1#ifdef PERL_CORE
9a9798c2 2/* A Bison parser, made by GNU Bison 2.0. */
0de566d7
DM
3
4/* Skeleton parser for Yacc-like parsing with Bison,
9a9798c2 5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
0de566d7
DM
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
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
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
19 Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
21
22/* As a special exception, when this file is copied by Bison into a
23 Bison output file, you may use that output file without restriction.
24 This special exception was added by the Free Software Foundation
25 in version 1.24 of Bison. */
26
27/* Tokens. */
28#ifndef YYTOKENTYPE
29# define YYTOKENTYPE
30 /* Put the tokens into the symbol table, so that GDB and other debuggers
31 know about them. */
32 enum yytokentype {
33 WORD = 258,
34 METHOD = 259,
35 FUNCMETH = 260,
36 THING = 261,
37 PMFUNC = 262,
38 PRIVATEREF = 263,
39 FUNC0SUB = 264,
40 UNIOPSUB = 265,
41 LSTOPSUB = 266,
42 LABEL = 267,
43 FORMAT = 268,
44 SUB = 269,
45 ANONSUB = 270,
46 PACKAGE = 271,
47 USE = 272,
48 WHILE = 273,
49 UNTIL = 274,
50 IF = 275,
51 UNLESS = 276,
52 ELSE = 277,
53 ELSIF = 278,
54 CONTINUE = 279,
55 FOR = 280,
56 LOOPEX = 281,
57 DOTDOT = 282,
58 FUNC0 = 283,
59 FUNC1 = 284,
60 FUNC = 285,
61 UNIOP = 286,
62 LSTOP = 287,
63 RELOP = 288,
64 EQOP = 289,
65 MULOP = 290,
66 ADDOP = 291,
67 DOLSHARP = 292,
68 DO = 293,
69 HASHBRACK = 294,
70 NOAMP = 295,
71 LOCAL = 296,
72 MY = 297,
73 MYSUB = 298,
a72a1c8b
RGS
74 REQUIRE = 299,
75 COLONATTR = 300,
76 PREC_LOW = 301,
77 DOROP = 302,
78 OROP = 303,
79 ANDOP = 304,
80 NOTOP = 305,
81 ASSIGNOP = 306,
82 DORDOR = 307,
83 OROR = 308,
84 ANDAND = 309,
85 BITOROP = 310,
86 BITANDOP = 311,
87 SHIFTOP = 312,
88 MATCHOP = 313,
89 REFGEN = 314,
90 UMINUS = 315,
91 POWOP = 316,
92 POSTDEC = 317,
93 POSTINC = 318,
94 PREDEC = 319,
95 PREINC = 320,
96 ARROW = 321
0de566d7
DM
97 };
98#endif
99#define WORD 258
100#define METHOD 259
101#define FUNCMETH 260
102#define THING 261
103#define PMFUNC 262
104#define PRIVATEREF 263
105#define FUNC0SUB 264
106#define UNIOPSUB 265
107#define LSTOPSUB 266
108#define LABEL 267
109#define FORMAT 268
110#define SUB 269
111#define ANONSUB 270
112#define PACKAGE 271
113#define USE 272
114#define WHILE 273
115#define UNTIL 274
116#define IF 275
117#define UNLESS 276
118#define ELSE 277
119#define ELSIF 278
120#define CONTINUE 279
121#define FOR 280
122#define LOOPEX 281
123#define DOTDOT 282
124#define FUNC0 283
125#define FUNC1 284
126#define FUNC 285
127#define UNIOP 286
128#define LSTOP 287
129#define RELOP 288
130#define EQOP 289
131#define MULOP 290
132#define ADDOP 291
133#define DOLSHARP 292
134#define DO 293
135#define HASHBRACK 294
136#define NOAMP 295
137#define LOCAL 296
138#define MY 297
139#define MYSUB 298
a72a1c8b
RGS
140#define REQUIRE 299
141#define COLONATTR 300
142#define PREC_LOW 301
143#define DOROP 302
144#define OROP 303
145#define ANDOP 304
146#define NOTOP 305
147#define ASSIGNOP 306
148#define DORDOR 307
149#define OROR 308
150#define ANDAND 309
151#define BITOROP 310
152#define BITANDOP 311
153#define SHIFTOP 312
154#define MATCHOP 313
155#define REFGEN 314
156#define UMINUS 315
157#define POWOP 316
158#define POSTDEC 317
159#define POSTINC 318
160#define PREDEC 319
161#define PREINC 320
162#define ARROW 321
0de566d7 163
d8118cad 164
0de566d7
DM
165
166
167#endif /* PERL_CORE */
168#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
166f8a29 169#line 30 "perly.y"
0de566d7 170typedef union YYSTYPE {
79072805
LW
171 I32 ival;
172 char *pval;
173 OP *opval;
174 GV *gvval;
175} YYSTYPE;
9a9798c2 176/* Line 1318 of yacc.c. */
a72a1c8b 177#line 176 "perly.h"
0de566d7
DM
178# define yystype YYSTYPE /* obsolescent; will be withdrawn */
179# define YYSTYPE_IS_DECLARED 1
180# define YYSTYPE_IS_TRIVIAL 1
181#endif
182
183
184
185
186