disallow eval { goto &foo }
[p5sagit/p5-mst-13.2.git] / mg.h
diff --git a/mg.h b/mg.h
index 844cdbb..76903ca 100644 (file)
--- a/mg.h
+++ b/mg.h
@@ -25,7 +25,7 @@ struct mgvtbl {
 
 struct magic {
     MAGIC*     mg_moremagic;
-    MGVTBL*    mg_virtual;     /* pointer to magic functions */
+    const MGVTBL* mg_virtual;  /* pointer to magic functions */
     U16                mg_private;
     char       mg_type;
     U8         mg_flags;