save old PL_curcop value in parser struct
[p5sagit/p5-mst-13.2.git] / parser.h
index 02509e4..affe7be 100644 (file)
--- a/parser.h
+++ b/parser.h
@@ -96,6 +96,8 @@ typedef struct yy_parser {
     I32                nexttoke;
 #endif
 
+    COP                *saved_curcop;  /* the previous PL_curcop */
+
 } yy_parser;