Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2005 14:04:40 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Hartmut Brandt <harti@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/make main.c var.c var.h
Message-ID:  <20050510210440.GT51193@elvis.mu.org>
In-Reply-To: <200505100806.j4A86Edq046232@repoman.freebsd.org>
References:  <200505100806.j4A86Edq046232@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
What about a flag/variable that if set enables "full POSIX mode"?

* Hartmut Brandt <harti@FreeBSD.org> [050510 01:06] wrote:
> harti       2005-05-10 08:06:13 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.bin/make         main.c var.c var.h 
>   Log:
>   Make make a little bit more POSIXish with regard to option parsing:
>   take everything after -- as either a macro assignment or a target.
>   Note that make still reorders arguments before --: anything starting
>   with a dash is considered an option, anything which contains an equal
>   sign is considered a macro assignment and everything else a target.
>   This still is not POSIX with regard to the options, but it will probably
>   not change because it has been make's behaviour for ages.
>   Add a new function Var_Match() that correctly skips a macro call by just
>   doing the same as Var_Subst() but without producing output. This will help
>   making the parser more robust.
>   
>   Patches:        7.190,7.191
>   Submitted by:   Max Okumoto <okumoto@ucsd.edu>
>   
>   Revision  Changes    Path
>   1.138     +18 -4     src/usr.bin/make/main.c
>   1.147     +45 -8     src/usr.bin/make/var.c
>   1.19      +1 -0      src/usr.bin/make/var.h

-- 
- Alfred Perlstein
- email: bright@mu.org cell: 408-480-4684



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050510210440.GT51193>