JIS0208_to_Unicode.cc: Declare java_exceptions pragma.
* gnu/gcj/convert/JIS0208_to_Unicode.cc: Declare java_exceptions pragma. * gnu/gcj/convert/JIS0212_to_Unicode.cc: Likewise. * gnu/gcj/convert/Unicode_to_JIS.cc: Likewise. * gnu/gcj/convert/gen-from-JIS.c: Put java_exceptions pragma in output file. From-SVN: r46400
This commit is contained in:
parent
299b5f9ee9
commit
33d4b70f02
5 changed files with 13 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
/* This file is automatically generated from JIS0208.TXT. */
|
||||
#pragma GCC java_exceptions
|
||||
unsigned short JIS0208_to_Unicode[84][94] = {
|
||||
/* 1st byte: 33 */ {
|
||||
/* 2nd byte: 33 */ 0x3000,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* This file is automatically generated from JIS0212.TXT. */
|
||||
#pragma GCC java_exceptions
|
||||
unsigned short JIS0212_to_Unicode[76][94] = {
|
||||
/* 1st byte: 34 */ {
|
||||
0,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* This file is automatically generated. */
|
||||
#pragma GCC java_exceptions
|
||||
unsigned short Unicode_to_JIS[] = {
|
||||
/* branch: 0x0XXX */ 16,
|
||||
/* branch: 0x1XXX */ 0,
|
||||
|
|
|
@ -106,6 +106,8 @@ main(int argc, char** argv)
|
|||
|
||||
fprintf(out,"/* This file is automatically generated from %s.TXT. */\n",
|
||||
argv[1]);
|
||||
fprintf(out,"#pragma GCC java_exceptions\n",
|
||||
argv[1]);
|
||||
fprintf(out, "unsigned short %s_to_Unicode[%d][%d] = {\n",
|
||||
argv[1], max1 - min1 + 1, max2 - min2 + 1);
|
||||
i = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue