[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] How to use char "\"
From: |
Charles Gordon |
Subject: |
Re: [Tinycc-devel] How to use char "\" |
Date: |
Wed, 1 Oct 2014 00:30:05 +0200 |
On 30 sept. 2014, at 23:58, Evan Langlois <address@hidden> wrote:
>> Not exactly: the C Standard *allows* ? to be escaped as \?, it does not
>> specify that it should be.
>
> Hmm .. I stand corrected! OK - so if it sees \? its ? and if it sees ? it
> checks to see if its a trigraph, and if it sees \??= then it cries.
To prevent trigraph expansion, the second ? should be escaped.
\??= would trigger the warning "unsupported escape sequence '\#’” because
trigraph expansion occurs before escape sequence conversion.
None of this is relevant in tcc, but it is still part of the C standard.
A more recent and less problematic oddity in the C standard syntax is digraphs.
Good news! tcc does not support digraphs either!
Chqrlie.
- Re: [Tinycc-devel] How to use char "\", (continued)
- Re: [Tinycc-devel] How to use char "\", Daniel Glöckner, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", Jefsey, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", Evan Langlois, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", JFC Morfin, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", Evan Langlois, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", arnold, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", Evan Langlois, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", Charles Gordon, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", Charles Gordon, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", Evan Langlois, 2014/09/30
- Re: [Tinycc-devel] How to use char "\",
Charles Gordon <=
- Re: [Tinycc-devel] How to use char "\", JFC Morfin, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", grischka, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", Charles Gordon, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", Charles Gordon, 2014/09/30
- Re: [Tinycc-devel] How to use char "\", Evan Langlois, 2014/09/30