Re: [cc65] Character set translation

Date view Thread view Subject view

From: Mike McCarty (jmccarty_at_ssd.usa.alcatel.com)
Date: 2002-02-15 16:27:43


On Fri, 15 Feb 2002, groepaz wrote:

[snip]

> i guess we should simply evaluate what kinda problems it could
> trigger.... if there are potentially none, there shouldnt be a reason
> not to do it :o) (and ofcoz, if it'd just introduce other nasty
> problems at another point, please do NOT do it ;=P)
> 
> whatever, couldnt you just introduce a #pragma or sth for the compiler
> so anyone can handle that crap like he wants themselves?
> 
> #pragma charmap 0x20 0x60      /* replace spaces by shift-spaces */
> 
> sth like that?

I had thought earlier that providing a file of mappings would be easy enough.
I dunno whether a #pragma to give the file, or maybe a command line option.

Perhaps #pragma option -charmap filename.ext

This could extend to all command line options.

Mike
-- 
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
I can explain it for you, but I can't understand it for you.
I don't speak for Alcatel      <- They make me say that.



----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-02-15 16:29:29 CET