Add -hiertype option to xsubpp for easier mapping C++ with namespaces.
[p5sagit/p5-mst-13.2.git] / x2p / a2py.c
index d4cb59f..1b14fdd 100644 (file)
@@ -59,7 +59,7 @@ main(register int argc, register char **argv, register char **env)
     STR *tmpstr;
 
        #ifdef NETWARE
-               fnInitGpfGlobals();     // For importing the CLIB calls in place of Watcom calls
+               fnInitGpfGlobals();     /* For importing the CLIB calls in place of Watcom calls */
        #endif  /* NETWARE */
 
     myname = argv[0];
@@ -200,6 +200,8 @@ main(register int argc, register char **argv, register char **env)
          "The operation I've selected may be wrong for the operand types.\n");
     }
     exit(0);
+    /* by ANSI specs return is needed. This also shuts up VC++ and his warnings */
+    return(0);
 }
 
 #define RETURN(retval) return (bufptr = s,retval)