Change 29549 by [EMAIL PROTECTED] on 2006/12/13 17:24:49

        make -Dpv display the parser stack before reduction
        (rather than afterwards)

Affected files ...

... //depot/perl/perly.c#93 edit

Differences ...

==== //depot/perl/perly.c#93 (text) ====
Index: perl/perly.c
--- perl/perly.c#92~29543~      2006-12-12 17:47:34.000000000 -0800
+++ perl/perly.c        2006-12-13 09:24:49.000000000 -0800
@@ -672,7 +672,7 @@
       GCC warning that YYVAL may be used uninitialized.  */
     yyval = yyvsp[1-yylen];
 
-
+    YY_STACK_PRINT (yyss, yyssp, yyvs, yyns);
     YY_REDUCE_PRINT (yyn);
 
     /* running external code may trigger a die (eg 'use nosuchmodule'):
@@ -752,16 +752,6 @@
        yystate = yytable[yystate];
     else
        yystate = yydefgoto[yyn - YYNTOKENS];
-
-#ifdef DEBUGGING
-    /* tmp push yystate for stack print; this is normally pushed later in
-     * yynewstate */
-    yyssp++;
-    *yyssp = yystate;
-    YY_STACK_PRINT (yyss, yyssp, yyvs, yyns);
-    yyssp--;
-#endif
-
     goto yynewstate;
 
 
End of Patch.

Reply via email to