+Tue Jun 2 13:27:34 1998 Tom Tromey <tromey@cygnus.com>
+
+ * automake.in (read_am_file): Error if blank line or comment
+ follows trailing backslash. Test syntax.test.
+ (file_contents_with_transform): Likewise.
+
Thu May 28 18:49:47 1998 Ian Lance Taylor <ian@cygnus.com>
* automake.in (handle_configure): Always use $(SHELL) when running
LL_info_TEXINFOS = ...
will put info files for language LL into $(infodir)/LL.
-* something like this fails:
-
- foo = q \
-
- lib_LTLIBRARIES = foo.la
-
- this should give an error.
-
* dependency tracking doesn't work well when a file is removed
the new code to track header dependencies exacerbates this
what is the fix?
{
# Stick a single white line before the incoming macro or rule.
$spacing = "\n";
+ &am_line_error ($., "blank line following trailing backslash")
+ if $saw_bk;
}
elsif (/$COMMENT_PATTERN/o)
{
# Stick comments before the incoming macro or rule.
$comment .= $spacing . $_;
$spacing = '';
+ &am_line_error ($., "comment following trailing backslash")
+ if $saw_bk;
}
elsif ($saw_bk)
{
{
# Stick a single white line before the incoming macro or rule.
$spacing = "\n";
+ &am_line_error ($., "blank line following trailing backslash")
+ if $saw_bk;
}
elsif (/$COMMENT_PATTERN/o)
{
# Stick comments before the incoming macro or rule.
$comment .= $spacing . $_;
$spacing = '';
+ &am_line_error ($., "comment following trailing backslash")
+ if $saw_bk;
}
elsif ($saw_bk)
{