Re: Question to EXTRACT_ONLY
- In reply to: Tatsuki Makino : "Re: Question to EXTRACT_ONLY"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Nov 2022 11:17:00 UTC
Thanks, On 29.11.22 11:22, Tatsuki Makino wrote: > Hello. > > Gleb Popov wrote on 2022/11/29 15:47: >> On Tue, Nov 29, 2022 at 12:14 AM Matthias Fechner <idefix@fechner.net> wrote: >>> But what does the last `:` at the end of this string? >> This one is a correct interpretation. >> >> As for the first one, I'm also unsure about the last ":" Maybe it is a >> part of the :N argument? >> > I found something about this in function ApplyModifiers in /usr/src/contrib/bmake/var.c. > I can't explain it well, but it seems to me that : is treated merely as a delimiter. > It does not give an error for the last character being : . > If there is a specification that the last character should not be a : , then this is a bug :) > I am not sure about that :) I changed it now this way, this works as expected: https://reviews.freebsd.org/D37525 Thanks Matthias