Commit graph

70 commits

Author SHA1 Message Date
Roland McGrath
e9fcf7ea88 Use plain stat instead of safe_stat.
(find_semicolon): Function removed.
(read_makefile): Don't use find_semicolon or remove_comments for rule lines.
Use find_char_unquote directly and handle quoted comments properly.
(multi_glob): Call dir_setup_glob on our glob_t and use GLOB_ALTDIRFUNC flag.
1995-12-12 03:31:40 +00:00
Roland McGrath
f9a914c035 (read_all_makefiles): Properly append default makefiles to the end of the
`read_makefiles' chain.
1995-06-20 07:47:01 +00:00
Roland McGrath
cbfc50cb51 (parse_file_seq): Rearranged l(a b)' -> l(a) l(b)' loop to not
skip the elt immediately preceding `l(...'.
1995-03-13 05:45:44 +00:00
Roland McGrath
13d0eeb8e5 (find_char_unquote): Make second arg a string of stop chars instead of a
single stop char.  Stop when any char in the string is hit.
All callers changed.
(find_semicolon): Pass stop chars "#;" to one find_char_unquote call,
instead of using two calls.  If the match is not a ; but a #, return zero.
1995-03-10 20:33:40 +00:00
Roland McGrath
aceefb74da (read_makefile, parse_file_seq): Fix typo __MS_DOS__ -> __MSDOS__. 1995-03-10 19:07:26 +00:00
Roland McGrath
1adf3a07dc (read_makefile, parse_file_seq) [__MS_DOS__]: Don't see : as separator in
"C:\...".
1995-03-09 01:42:12 +00:00
Roland McGrath
bc1e6b66f1 (read_makefile): For bogus line starting with tab, ignore it if blank after
removing comments.
1995-02-06 22:58:07 +00:00
Roland McGrath
90dffad2cc (read_makefile): Free FILENAME if we allocated it. From Jim Meyering. 1994-07-25 22:07:41 +00:00
Roland McGrath
7c7552336d (construct_include_path): Use safe_stat in place of stat. 1994-07-04 21:55:13 +00:00
Roland McGrath
4a8a7637f3 (read_makefile): Check for a shell command first, and then strip leading
tabs before further checking if it's not a shell command line.
1994-06-24 10:34:03 +00:00
Roland McGrath
65d0cd98a9 (do_define): Call collapse_continuations on each line before all else. 1994-05-05 08:15:00 +00:00
Roland McGrath
e6bce5ef88 (read_makefile): Fix `override define' parsing to skip whitespace after
`define' properly.
1994-04-22 21:57:47 +00:00
Roland McGrath
8f581d3bc0 (parse_file_seq): Fix typo in last change. Remove unused variable. 1994-04-21 21:28:59 +00:00
Roland McGrath
5c807f5457 (find_char_unquote): New function, generalized from find_percent.
(find_percent, find_semicolon, parse_file_seq): Use that.
1994-04-21 20:36:47 +00:00
Roland McGrath
eb08818828 (read_makefile): Don't mark makefiles as precious. Just like other
targets, they can be left inconsistent and in need of remaking by aborted
commands.
1994-04-21 01:39:36 +00:00
Roland McGrath
f2c10dedf0 (read_makefile): Write no error msg for -include file. 1994-04-20 22:42:32 +00:00
Roland McGrath
108cca9aa5 (record_files): Set double_colon pointer instead of flag. 1994-04-05 10:14:49 +00:00
Roland McGrath
0513e29593 (read_makefile): Remove unused variable.
(parse_file_seq): When removing an elt that is just `)', properly fix up
the previous elt's next pointer.
1994-04-01 23:44:10 +00:00
Roland McGrath
d3fbc4f345 entered into RCS 1994-03-23 14:12:55 +00:00
Roland McGrath
5d3189c952 Formerly read.c.~75~ 1994-03-04 05:10:22 +00:00
Roland McGrath
4b7d940657 Formerly read.c.~74~ 1994-02-16 22:55:31 +00:00
Roland McGrath
bb55335906 Formerly read.c.~73~ 1994-02-01 00:07:17 +00:00
Roland McGrath
2932fb1bca Formerly read.c.~72~ 1993-12-23 22:56:05 +00:00
Roland McGrath
d519e2c19b Formerly read.c.~71~ 1993-12-14 20:09:51 +00:00
Roland McGrath
f935610ca9 Formerly read.c.~70~ 1993-12-02 20:44:03 +00:00
Roland McGrath
acd7330a5f Formerly read.c.~69~ 1993-11-10 11:06:04 +00:00
Roland McGrath
3aeb946943 Formerly read.c.~68~ 1993-10-25 19:25:17 +00:00
Roland McGrath
8171a9ba6e Formerly read.c.~67~ 1993-08-18 19:01:46 +00:00
Roland McGrath
f0929a13c3 Formerly read.c.~66~ 1993-07-15 02:25:00 +00:00
Roland McGrath
250e638f44 Formerly read.c.~65~ 1993-07-14 23:04:39 +00:00
Roland McGrath
f84518396b Formerly read.c.~64~ 1993-06-25 20:03:54 +00:00
Roland McGrath
e176cf73a5 Formerly read.c.~63~ 1993-06-10 22:20:53 +00:00
Roland McGrath
3d6b586776 Formerly read.c.~62~ 1993-06-10 01:31:02 +00:00
Roland McGrath
f363e41c27 Formerly read.c.~61~ 1993-06-08 00:36:13 +00:00
Roland McGrath
6382676838 Formerly read.c.~60~ 1993-06-02 21:42:39 +00:00
Roland McGrath
0bcabeb134 Formerly read.c.~59~ 1993-05-19 21:15:51 +00:00
Roland McGrath
bc0276c3cb Formerly read.c.~58~ 1993-05-14 22:25:11 +00:00
Roland McGrath
f1daf67200 Formerly read.c.~57~ 1993-05-03 21:14:22 +00:00
Roland McGrath
44ecfc2f36 Formerly read.c.~56~ 1993-04-15 22:30:01 +00:00
Roland McGrath
e4c66e2f88 Formerly read.c.~55~ 1993-03-08 18:50:09 +00:00
Roland McGrath
db6a102206 Formerly read.c.~54~ 1993-02-21 19:28:27 +00:00
Roland McGrath
db545dffcc Formerly read.c.~53~ 1993-02-04 00:01:08 +00:00
Roland McGrath
afa97833cc Formerly read.c.~52~ 1993-02-01 00:24:58 +00:00
Roland McGrath
c2b69b5d9d Formerly read.c.~51~ 1993-01-19 00:14:29 +00:00
Roland McGrath
5893545370 Formerly read.c.~50~ 1993-01-14 19:26:47 +00:00
Roland McGrath
c8d4d2305d Formerly read.c.~49~ 1993-01-06 22:57:21 +00:00
Roland McGrath
2d89aa53df Formerly read.c.~48~ 1992-12-29 00:20:25 +00:00
Roland McGrath
ede645439a Formerly read.c.~47~ 1992-12-23 21:14:20 +00:00
Roland McGrath
0aa6e8609e Formerly read.c.~46~ 1992-12-22 22:31:08 +00:00
Roland McGrath
289417e089 Formerly read.c.~45~ 1992-12-09 21:02:53 +00:00