diff options
author | Roland McGrath <roland@redhat.com> | 1993-11-10 11:06:04 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-11-10 11:06:04 +0000 |
commit | acd7330a5fe2eca37f103620e44a31ef3a61b719 (patch) | |
tree | eed028b9bf572483e1d59b0570d4ef5b431f333a | |
parent | 78454538f92163c3a7bb23e19e5b196f1f68d4bb (diff) | |
download | gunmake-acd7330a5fe2eca37f103620e44a31ef3a61b719.tar.gz |
Formerly read.c.~69~
-rw-r--r-- | read.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -587,6 +587,13 @@ read_makefile (filename, flags) else if (try_variable_definition (filename, lineno, p, o_file)) /* This line has been dealt with. */ ; + else if (lb.buffer[0] == '\t') + /* This line starts with a tab but was not caught above + because there was no preceding target, and the line + might have been usable as a variable definition. + But now it is definitely lossage. */ + makefile_fatal (filename, lineno, + "commands commence before first target"); else { /* This line describes some target files. */ |