< prev index next >

make/jdk/src/classes/build/tools/generatecharacter/GenerateCharacter.java

Print this page
rev 52923 : 8226346: Build better binary builders
Reviewed-by: andrew

*** 931,944 **** */ static String genTables() { int n = sizes.length; StringBuffer result = new StringBuffer(); // liu : Add a comment showing the source of this table result.append(commentStart + " The following tables and code generated using:" + commentEnd + "\n "); result.append(commentStart + ' ' + commandLineDescription + commentEnd + "\n "); ! if (plane == 0 && bLatin1 == false) { genCaseMapTableDeclaration(result); genCaseMapTable(initializers, specialCaseMaps); } int totalBytes = 0; --- 931,945 ---- */ static String genTables() { int n = sizes.length; StringBuffer result = new StringBuffer(); // liu : Add a comment showing the source of this table + if (debug) { result.append(commentStart + " The following tables and code generated using:" + commentEnd + "\n "); result.append(commentStart + ' ' + commandLineDescription + commentEnd + "\n "); ! } if (plane == 0 && bLatin1 == false) { genCaseMapTableDeclaration(result); genCaseMapTable(initializers, specialCaseMaps); } int totalBytes = 0;
*** 1601,1610 **** --- 1602,1612 ---- /* The command line arguments are decoded and used to set the following global variables. */ static boolean verbose = false; + static boolean debug = false; static boolean nobidi = false; static boolean nomirror = false; static boolean identifiers = false; static boolean Csyntax = false; static String TemplateFileName = null;
*** 1680,1689 **** --- 1682,1693 ---- desc.append(" " + args[j]); } for (int j = 0; j < args.length; j++) { if (args[j].equals("-verbose") || args[j].equals("-v")) verbose = true; + else if (args[j].equals("-d")) + debug = true; else if (args[j].equals("-nobidi")) nobidi = true; else if (args[j].equals("-nomirror")) nomirror = true; else if (args[j].equals("-identifiers"))
< prev index next >