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.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to