summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-05-21 22:35:15 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-05-21 22:35:15 +0000
commit13765c85de4dc05031cfb5d6273ea7e178b9807b (patch)
tree9b7456f3898d45002e885cca29df8a06680246f6 /parser.h
parent670a9cb260d5f37076650f3eb5aa6c305796b0f7 (diff)
downloadperl-13765c85de4dc05031cfb5d6273ea7e178b9807b.tar.gz
move PL_error_count into the PL_parser struct
p4raw-id: //depot/perl@31255
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/parser.h b/parser.h
index 7e42c8041a..f62ac3d15c 100644
--- a/parser.h
+++ b/parser.h
@@ -77,6 +77,7 @@ typedef struct yy_parser {
HV *in_my_stash; /* declared class of this "my" declaration */
PerlIO *rsfp; /* current source file pointer */
AV *rsfp_filters; /* holds chain of active source filters */
+ U8 error_count; /* how many compile errors so far, max 10 */
#ifdef PERL_MAD
SV *endwhite;