+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,
®ister_language ('yacc', '', 1,
'y');
®ister_language ('yaccxx', 'CXXLINK', 0,
- 'y++', 'yy', 'yxx');
+ 'y++', 'yy', 'yxx', 'ypp');
®ister_language ('lex', '', 1,
'l');
®ister_language ('lexxx', 'CXXLINK', 0,
- 'l++', 'll', 'lxx');
+ 'l++', 'll', 'lxx', 'lpp');
®ister_language ('asm', '', 0,
's', 'S');
®ister_language ('f77', 'F77LINK', 0,
# 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/;
# 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);
}