Control: tags -1 + patch

I believe the following patch fixes the problem, and it was just added
to the Debian package uploaded to the archive.

--- perl-byacc-2.0.orig/main.c
+++ perl-byacc-2.0/main.c
@@ -314,6 +314,12 @@ end_of_option:;
     if (language != PERL && perl5005flag)
         fprintf(stderr, "%s: Warning: -5 has no effect without Perl mode.\n",
                myname);
+    if (language == PERL && !perl_package)
+    {
+        fprintf(stderr, "%s: Perl mode require package name.\n",
+               myname);
+       exit(1);
+    }
 
 no_more_options:;
     if (i + 1 != argc) usage();

Reply via email to