From a674abe702cc0c017209a3186c32df050ff21f41 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 22 May 2013 02:14:19 -0400 Subject: Make MFLAGS and MAKEFLAGS more reliable and predictable. Ensure all simple flags are kept in the initial batch of flags. Do not allow any flags with options in that batch. If there are only non-simple flags ensure MAKEFLAGS begins with " ". Don't let MFLAGS start with "- ". --- read.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'read.c') diff --git a/read.c b/read.c index 613480c..87cd554 100644 --- a/read.c +++ b/read.c @@ -456,7 +456,10 @@ eval_buffer (char *buffer, const gmk_floc *floc) else if (reading_file) ebuf.floc = *reading_file; else - ebuf.floc.filenm = NULL; + { + ebuf.floc.filenm = NULL; + ebuf.floc.lineno = 1; + } curfile = reading_file; reading_file = &ebuf.floc; -- cgit v1.2.3