Alessandro Bonazzi
e075990ed3
Files correlati : Commento : Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
25 lines
645 B
Raku
25 lines
645 B
Raku
/* m_36_sjis.t: Handling of 0x5c in shift-JIS multi-byte character. */
|
|
|
|
#define str( a) # a
|
|
|
|
/* 36.1: 0x5c in multi-byte character is not an escape character */
|
|
|
|
#pragma __setlocale( "sjis") /* For MCPP */
|
|
#pragma setlocale( "japanese") /* For Visual C */
|
|
|
|
#if 'Žš' == '\x8e\x9a' && '•\' != '\x95\x5c'
|
|
Bad handling of '\\' in multi-byte character.
|
|
#endif
|
|
|
|
/* 36.ext and 36.2 are expanded to:
|
|
"•\Ž¦"; "\"•\Ž¦\"";
|
|
or "•\\Ž¦"; "\"•\\Ž¦\""; */
|
|
|
|
/* 36.ext: */
|
|
"•\Ž¦";
|
|
|
|
/* 36.2: # operater should not insert '\\' before 0x5c in multi-byte
|
|
character. */
|
|
str( "•\Ž¦");
|
|
|