summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-01-02 01:51:05 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-01-02 01:51:05 +0000
commit199e78b72f538ce004dd96ef2f457b84b88279cc (patch)
tree309f7138682f0b3373cad16cdf3482ad9cfe145e /perl.h
parent6ef55633ec162e15cc77d16a7154bf022d691dbc (diff)
downloadperl-199e78b72f538ce004dd96ef2f457b84b88279cc.tar.gz
move easy lexer state variables into PL_parser
(where "easy" == "only appear in toke.c") p4raw-id: //depot/perl@29655
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 1b9f6ce2f4..9d1c1b188c 100644
--- a/perl.h
+++ b/perl.h
@@ -3242,7 +3242,6 @@ typedef struct crypt_data { /* straight from /usr/include/crypt.h */
# define YYTOKENTYPE
#endif
#include "perly.h"
-#include "parser.h"
#ifdef PERL_MAD
struct nexttoken {
@@ -3279,6 +3278,8 @@ struct _sublex_info {
char *super_bufend; /* PL_bufend that was */
};
+#include "parser.h"
+
typedef struct magic_state MGS; /* struct magic_state defined in mg.c */
struct scan_data_t; /* Used in S_* functions in regcomp.c */