tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] How to use char "\"


From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] How to use char "\"
Date: Wed, 01 Oct 2014 00:06:24 +0800
User-agent: KMail/4.14.1 (Linux/3.16-2-amd64; KDE/4.14.1; x86_64; ; )

Le mardi 30 septembre 2014, 11:56:43 JFC Morfin a écrit :
> May be not the right place to ask?

It's ok but you should have created a new mail instead of replying to an email 
and changing the subject.

> I am trying to port my old bcc32 libraries under tcc.
> 
> I have a problem with the char "\". For example in the line:
> 
>     strpbrk (file_name,"\*?")
> 
> ir order to know if i have a simple file name, tcc tells me "unknown
> escape sequence".

The manpage doesn't say that the strings accept escape sequence. Is it even 
defined in the standard? Sounds like a bug in TinyCC.

> 
> When I want use as a char both text[i]='\' and text[i]='\\' do not
> work. Since I am there working on text strings I cannot equate '\' to
> ascii 28 first.

'\' should be correct. What is the error you get?

Best regards,

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]