summaryrefslogtreecommitdiff
path: root/perly.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-09 20:48:18 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-09 20:48:18 +0000
commit00e74f145ac4513e21f301b1f6ee9d0075465ab5 (patch)
tree83d05eaea8f9c9fc05f95ef9de0dd2a9a209d563 /perly.c
parentaf5683d1a11b86657bb9d3800d54c4d65ca7b5a0 (diff)
downloadperl-00e74f145ac4513e21f301b1f6ee9d0075465ab5.tar.gz
Add the madly parser. I believe that this is all the C code. Now to
find the bugs that stowed away. p4raw-id: //depot/perl@27447
Diffstat (limited to 'perly.c')
-rw-r--r--perly.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/perly.c b/perly.c
index 03d0599a2d..18f8606bff 100644
--- a/perly.c
+++ b/perly.c
@@ -297,8 +297,8 @@ Perl_yyparse (pTHX)
int yylen;
#ifdef PERL_MAD
- /*if (PL_madskills)
- return madparse();*/
+ if (PL_madskills)
+ return madparse();
#endif
YYDPRINTF ((Perl_debug_log, "Starting parse\n"));
@@ -409,7 +409,7 @@ Perl_yyparse (pTHX)
if (yychar == YYEMPTY) {
YYDPRINTF ((Perl_debug_log, "Reading a token: "));
#ifdef PERL_MAD
- yychar = /*PL_madskills ? madlex() :*/ yylex();
+ yychar = PL_madskills ? madlex() : yylex();
#else
yychar = yylex();
#endif