Alessandro Bonazzi e075990ed3 Patch level : 12.0 no-patch
Files correlati     :
Commento            :

Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
2020-11-28 16:24:08 +01:00

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( "¦");