[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] configury (was const_wanted)
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] configury (was const_wanted) |
Date: |
Fri, 12 Aug 2011 16:25:14 +0200 |
User-agent: |
KMail/1.13.7 (Linux/2.6.39-2-amd64; KDE/4.6.5; x86_64; ; ) |
Le lundi 8 août 2011 18:03:16, grischka a écrit :
[SNIP]
>
> Oops! If this is \\\\\\\\b/include with 8 backslashes, then
> I think we must use something else.
>
> What about ?B as in "?B/include"? Or maybe "{B}/include"?
cstr_new(&str);
for (p = in; c = *p, c != '\0' && c != PATHSEP; ++p) {
- if (c == '\b') {
- cstr_cat(&str, s->tcc_lib_path);
+ if (c == '{' && p[1] && p[2] == '}') {
+ c = p[1], p += 2;
+ if (c == 'B')
+ cstr_cat(&str, s->tcc_lib_path);
} else {
cstr_ccat(&str, c);
}
I guess you did it this way to avoid just forbidding {b} but allowing any {x}
with x ≠ b. Anyway, you saved me from more time of pickyness, as I was trying
all the solution to do it without knowing which one you'd prefer. Does
bikeschedshrink exist?
Best regards,
Thomas Preud'homme
signature.asc
Description: This is a digitally signed message part.
- Re: [Tinycc-devel] const_wanted, (continued)
- Re: [Tinycc-devel] const_wanted, Thomas Preud'homme, 2011/08/03
- Re: [Tinycc-devel] configury (was const_wanted), grischka, 2011/08/03
- Re: [Tinycc-devel] configury (was const_wanted), Thomas Preud'homme, 2011/08/03
- Re: [Tinycc-devel] configury (was const_wanted), grischka, 2011/08/03
- Re: [Tinycc-devel] configury (was const_wanted), Thomas Preud'homme, 2011/08/06
- Re: [Tinycc-devel] configury (was const_wanted), grischka, 2011/08/06
- Re: [Tinycc-devel] configury (was const_wanted), Thomas Preud'homme, 2011/08/06
- Re: [Tinycc-devel] configury (was const_wanted), grischka, 2011/08/07
- Re: [Tinycc-devel] configury (was const_wanted), Thomas Preud'homme, 2011/08/08
- Re: [Tinycc-devel] configury (was const_wanted), grischka, 2011/08/08
- Re: [Tinycc-devel] configury (was const_wanted),
Thomas Preud'homme <=
- Re: [Tinycc-devel] configury (was const_wanted), grischka, 2011/08/12