]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
authorTom Tromey <tromey@redhat.com>
Mon, 1 Feb 1999 23:15:57 +0000 (23:15 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 1 Feb 1999 23:15:57 +0000 (23:15 +0000)
lex source.
(lang_yacc_finish): Likewise.
(lang_lex_finish): Likewise.

ChangeLog
automake.in

index fe97ae65a9561889a760b07d1c0747a40d6ff249..12bd9cd23ad71aa3a01170922cfc5e6d2617b0ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+1999-02-02  Tom Tromey  <tromey@cygnus.com>
+
+       * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
+       lex source.
+       (lang_yacc_finish): Likewise.
+       (lang_lex_finish): Likewise.
+
 1999-02-01  Tom Tromey  <tromey@cygnus.com>
 
        * automake.in (handle_dist_worker): Correctly find find in $$d,
index ac3b71bcb7055afdb0b04a562db7dd8331337c48..08b7a17155ceb674d7d66bf12d73a9c111c5a63d 100755 (executable)
@@ -313,11 +313,11 @@ $obsolete_rx = '(' . join ('|', keys %obsolete_macros) . ')';
 &register_language ('yacc', '', 1,
                    'y');
 &register_language ('yaccxx', 'CXXLINK', 0,
-                   'y++', 'yy', 'yxx');
+                   'y++', 'yy', 'yxx', 'ypp');
 &register_language ('lex', '', 1,
                    'l');
 &register_language ('lexxx', 'CXXLINK', 0,
-                   'l++', 'll', 'lxx');
+                   'l++', 'll', 'lxx', 'lpp');
 &register_language ('asm', '', 0,
                    's', 'S');
 &register_language ('f77', 'F77LINK', 0,
@@ -4672,7 +4672,7 @@ sub lang_yacc_finish
        # Now generate rule to make the header file.  This should only
        # be generated if `yacc -d' specified.  But right now there is
        # no way to determine that.  FIXME: examine AM_YFLAGS?
-       $file =~ /^(.*)\.(y|yy|y\+\+|yxx)$/;
+       $file =~ /^(.*)\.(y|yy|y\+\+|yxx|ypp)$/;
        $base = $1;
        ($hname = $2) =~ tr/y/h/;
        ($cname = $2) =~ tr/y/c/;
@@ -4730,7 +4730,7 @@ sub lang_lex_finish
        # statically, and the GNU rules say that yacc/lex output files
        # should be removed by maintainer-clean.  So that's what we
        # do.
-       $file =~ /^(.*)\.(l|ll|l\+\+|lxx)$/;
+       $file =~ /^(.*)\.(l|ll|l\+\+|lxx|lpp)$/;
        ($cname = $2) =~ tr/y/c/;
        push (@maintainer_clean_files, $1 . $cname);
     }