diff options
author | Paul Smith <psmith@gnu.org> | 1999-03-04 17:03:56 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-03-04 17:03:56 +0000 |
commit | ede263043c9a31110da168ee84a59b1bbb6791c3 (patch) | |
tree | f573c9ff40281c2d5300187ca9b06e90bdf75be0 | |
parent | a8f71737990878c1960a30080cfcc626f274c0da (diff) | |
download | gunmake-ede263043c9a31110da168ee84a59b1bbb6791c3.tar.gz |
Fix a bug where conditional variables weren't being expanded correctly.
-rw-r--r-- | .cvsignore | 7 | ||||
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | variable.c | 1 |
3 files changed, 14 insertions, 0 deletions
@@ -11,6 +11,13 @@ makebook* *.dep *.dvi *.toc *.aux *.log *.cp *.cps *.fn *.fns *.vr *.vrs *.tp *.tps *.ky *.kys *.pg *.pgs +README aclocal.m4 config.h.in config.h configure Makefile.in +build.sh.in build.sh SMakefile config.ami README.DOS Makefile.DOS configh.dos +NMakefile config.h.W32 config.h-vms glob/Makefile.in + +.deps .dep_segment glob/.deps + +_* sun4 i386 i386-netbsd hp300-netbsd hp300 rs6000 sun3 news800 amiga hp700 hp834 mips sol2 i486-linux @@ -1,3 +1,9 @@ +1999-03-04 Paul D. Smith <psmith@gnu.org> + + * variable.c (try_variable_definition): If we see a conditional + variable and we decide to set it, re-type it as recursive so it + will be expanded properly later. + 1999-02-22 Paul D. Smith <psmith@gnu.org> * NEWS: Mention new .LIBPATTERNS feature. @@ -792,6 +792,7 @@ try_variable_definition (flocp, line, origin) free(expanded_name); return v; } + flavor = f_recursive; /* FALLTHROUGH */ case f_recursive: /* A recursive variable definition "var = value". |