This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldiag: Add some ‘in regex’ variants
[perl5.git] / x2p / a2p.c
index 4186cdf..8d6e9cd 100644 (file)
--- a/x2p/a2p.c
+++ b/x2p/a2p.c
@@ -2181,7 +2181,7 @@ int yyparse (void);
 #define YYERROR goto yyerrlab
 
 #if YYDEBUG
-#  if defined(WIN32) && !defined(__BORLANDC__)
+#  if defined(WIN32)
 EXTERN_C _CRTIMP char *getenv(const char *);
 #  else
 EXTERN_C char *getenv(const char *);
@@ -2191,9 +2191,9 @@ EXTERN_C char *getenv(const char *);
 int
 yyparse(void)
 {
-    register int yym, yyn, yystate;
+    int yym, yyn, yystate;
 #if YYDEBUG
-    register const char *yys;
+    const char *yys;
 
     if ((yys = getenv("YYDEBUG")))
     {