2 Commits

Author SHA1 Message Date
wtc
dd57c99a8b In make_file() and parse_file_seq(), when we see a char sequence
like 'C:/', we must make sure that there is exactly one letter
before the ':', so that it is indeed a drive letter.
Without these two fixes, the following two makefiles fail.

----------- Makefile 1 -----------------
all: c:/input c:/output
c:/input c:/output:c:/%put:/tmp
	@echo $@
---------- end of Makefile 1  ----------

Without the fix to make_file(), 'c:/%put:/tmp' would be incorrectly
parsed as a single token.  But it should be parsed as two tokens:
'c:/%put' and '/tmp'.  (This is a static pattern rule.)

---------- Makefile2 ------------------
c:/foobar:/tmp
	@echo $@
-------- end of Makefile2 -------------

Without the fix to parse_file_seq(), 'c:/foobar:/tmp' would be
parsed as one token, and make would complain about missing
separator.


git-svn-id: svn://10.0.0.236/trunk@1088 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 23:05:13 +00:00
cyeh
a925c92350 checking in sources to customized version of gmake
git-svn-id: svn://10.0.0.236/trunk@196 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:35:47 +00:00