summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-19 22:15:44 +0000
committerrubidium <rubidium@openttd.org>2011-11-19 22:15:44 +0000
commitb8866be0939c6b51372f92027d32555ab95b97eb (patch)
treea2e52e85bea9791527651e6dd04fca37e673a738 /src/table
parentd86e6b6162017976e50a4632df10bb286f448d96 (diff)
downloadopenttd-b8866be0939c6b51372f92027d32555ab95b97eb.tar.xz
(svn r23269) -Codechange: rename some control/string codes/IDs to be more consistent
Diffstat (limited to 'src/table')
-rw-r--r--src/table/control_codes.h42
-rw-r--r--src/table/strgen_tables.h206
2 files changed, 124 insertions, 124 deletions
diff --git a/src/table/control_codes.h b/src/table/control_codes.h
index 3e7eaf5ca..61399c834 100644
--- a/src/table/control_codes.h
+++ b/src/table/control_codes.h
@@ -45,15 +45,15 @@ enum StringControlCode {
SCC_PRESIDENT_NAME,
SCC_ENGINE_NAME,
- SCC_CURRENCY_COMPACT,
- SCC_CURRENCY,
+ SCC_CURRENCY_SHORT,
+ SCC_CURRENCY_LONG,
- SCC_CARGO,
+ SCC_CARGO_LONG,
SCC_CARGO_SHORT,
SCC_POWER,
- SCC_VOLUME,
+ SCC_VOLUME_LONG,
SCC_VOLUME_SHORT,
- SCC_WEIGHT,
+ SCC_WEIGHT_LONG,
SCC_WEIGHT_SHORT,
SCC_FORCE,
SCC_VELOCITY,
@@ -84,7 +84,7 @@ enum StringControlCode {
SCC_GENDER_LIST,
SCC_GENDER_INDEX,
SCC_ARG_INDEX,
- SCC_SETCASE,
+ SCC_SET_CASE,
SCC_SWITCH_CASE,
/* Colour codes */
@@ -144,21 +144,21 @@ enum StringControlCode {
/* Special printable symbols.
* These are mapped to the original glyphs */
- SCC_LESSTHAN = SCC_SPRITE_START + 0x3C,
- SCC_GREATERTHAN = SCC_SPRITE_START + 0x3E,
- SCC_UPARROW = SCC_SPRITE_START + 0xA0,
- SCC_DOWNARROW = SCC_SPRITE_START + 0xAA,
- SCC_CHECKMARK = SCC_SPRITE_START + 0xAC,
- SCC_CROSS = SCC_SPRITE_START + 0xAD,
- SCC_RIGHTARROW = SCC_SPRITE_START + 0xAF,
- SCC_TRAIN = SCC_SPRITE_START + 0xB4,
- SCC_LORRY = SCC_SPRITE_START + 0xB5,
- SCC_BUS = SCC_SPRITE_START + 0xB6,
- SCC_PLANE = SCC_SPRITE_START + 0xB7,
- SCC_SHIP = SCC_SPRITE_START + 0xB8,
- SCC_SUPERSCRIPT_M1 = SCC_SPRITE_START + 0xB9,
- SCC_SMALLUPARROW = SCC_SPRITE_START + 0xBC,
- SCC_SMALLDOWNARROW = SCC_SPRITE_START + 0xBD,
+ SCC_LESS_THAN = SCC_SPRITE_START + 0x3C,
+ SCC_GREATER_THAN = SCC_SPRITE_START + 0x3E,
+ SCC_UP_ARROW = SCC_SPRITE_START + 0xA0,
+ SCC_DOWN_ARROW = SCC_SPRITE_START + 0xAA,
+ SCC_CHECKMARK = SCC_SPRITE_START + 0xAC,
+ SCC_CROSS = SCC_SPRITE_START + 0xAD,
+ SCC_RIGHT_ARROW = SCC_SPRITE_START + 0xAF,
+ SCC_TRAIN = SCC_SPRITE_START + 0xB4,
+ SCC_LORRY = SCC_SPRITE_START + 0xB5,
+ SCC_BUS = SCC_SPRITE_START + 0xB6,
+ SCC_PLANE = SCC_SPRITE_START + 0xB7,
+ SCC_SHIP = SCC_SPRITE_START + 0xB8,
+ SCC_SUPERSCRIPT_M1 = SCC_SPRITE_START + 0xB9,
+ SCC_SMALL_UP_ARROW = SCC_SPRITE_START + 0xBC,
+ SCC_SMALL_DOWN_ARROW = SCC_SPRITE_START + 0xBD,
};
#endif /* CONTROL_CODES_H */
diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h
index 9979b10f3..e3e9ec9df 100644
--- a/src/table/strgen_tables.h
+++ b/src/table/strgen_tables.h
@@ -35,116 +35,116 @@ static void EmitGender(char *buf, int value);
static const CmdStruct _cmd_structs[] = {
/* Font size */
- {"TINYFONT", EmitSingleChar, SCC_TINYFONT, 0, C_NONE},
- {"BIGFONT", EmitSingleChar, SCC_BIGFONT, 0, C_NONE},
+ {"TINY_FONT", EmitSingleChar, SCC_TINYFONT, 0, C_NONE},
+ {"BIG_FONT", EmitSingleChar, SCC_BIGFONT, 0, C_NONE},
/* Colors */
- {"BLUE", EmitSingleChar, SCC_BLUE, 0, C_NONE},
- {"SILVER", EmitSingleChar, SCC_SILVER, 0, C_NONE},
- {"GOLD", EmitSingleChar, SCC_GOLD, 0, C_NONE},
- {"RED", EmitSingleChar, SCC_RED, 0, C_NONE},
- {"PURPLE", EmitSingleChar, SCC_PURPLE, 0, C_NONE},
- {"LTBROWN", EmitSingleChar, SCC_LTBROWN, 0, C_NONE},
- {"ORANGE", EmitSingleChar, SCC_ORANGE, 0, C_NONE},
- {"GREEN", EmitSingleChar, SCC_GREEN, 0, C_NONE},
- {"YELLOW", EmitSingleChar, SCC_YELLOW, 0, C_NONE},
- {"DKGREEN", EmitSingleChar, SCC_DKGREEN, 0, C_NONE},
- {"CREAM", EmitSingleChar, SCC_CREAM, 0, C_NONE},
- {"BROWN", EmitSingleChar, SCC_BROWN, 0, C_NONE},
- {"WHITE", EmitSingleChar, SCC_WHITE, 0, C_NONE},
- {"LTBLUE", EmitSingleChar, SCC_LTBLUE, 0, C_NONE},
- {"GRAY", EmitSingleChar, SCC_GRAY, 0, C_NONE},
- {"DKBLUE", EmitSingleChar, SCC_DKBLUE, 0, C_NONE},
- {"BLACK", EmitSingleChar, SCC_BLACK, 0, C_NONE},
-
- {"CURRCOMPACT", EmitSingleChar, SCC_CURRENCY_COMPACT, 1, C_NONE}, // compact currency
- {"REV", EmitSingleChar, SCC_REVISION, 0, C_NONE}, // openttd revision string
- {"SHORTCARGO", EmitSingleChar, SCC_CARGO_SHORT, 2, C_NONE}, // short cargo description, only ### tons, or ### litres
-
- {"STRING1", EmitSingleChar, SCC_STRING1, 2, C_CASE | C_GENDER}, // included string that consumes the string id and ONE argument
- {"STRING2", EmitSingleChar, SCC_STRING2, 3, C_CASE | C_GENDER}, // included string that consumes the string id and TWO arguments
- {"STRING3", EmitSingleChar, SCC_STRING3, 4, C_CASE | C_GENDER}, // included string that consumes the string id and THREE arguments
- {"STRING4", EmitSingleChar, SCC_STRING4, 5, C_CASE | C_GENDER}, // included string that consumes the string id and FOUR arguments
- {"STRING5", EmitSingleChar, SCC_STRING5, 6, C_CASE | C_GENDER}, // included string that consumes the string id and FIVE arguments
-
- {"STATIONFEATURES", EmitSingleChar, SCC_STATION_FEATURES, 1, C_NONE}, // station features string, icons of the features
- {"INDUSTRY", EmitSingleChar, SCC_INDUSTRY_NAME, 1, C_CASE | C_GENDER}, // industry, takes an industry #, can have cases
- {"CARGO", EmitSingleChar, SCC_CARGO, 2, C_NONE | C_GENDER},
- {"POWER", EmitSingleChar, SCC_POWER, 1, C_NONE},
- {"VOLUME", EmitSingleChar, SCC_VOLUME, 1, C_NONE},
- {"VOLUME_S", EmitSingleChar, SCC_VOLUME_SHORT, 1, C_NONE},
- {"WEIGHT", EmitSingleChar, SCC_WEIGHT, 1, C_NONE},
- {"WEIGHT_S", EmitSingleChar, SCC_WEIGHT_SHORT, 1, C_NONE},
- {"FORCE", EmitSingleChar, SCC_FORCE, 1, C_NONE},
- {"VELOCITY", EmitSingleChar, SCC_VELOCITY, 1, C_NONE},
- {"HEIGHT", EmitSingleChar, SCC_HEIGHT, 1, C_NONE},
-
- {"P", EmitPlural, 0, 0, C_DONTCOUNT}, // plural specifier
- {"G", EmitGender, 0, 0, C_DONTCOUNT}, // gender specifier
-
- {"DATE_TINY", EmitSingleChar, SCC_DATE_TINY, 1, C_NONE},
- {"DATE_SHORT", EmitSingleChar, SCC_DATE_SHORT, 1, C_CASE},
- {"DATE_LONG", EmitSingleChar, SCC_DATE_LONG, 1, C_CASE},
- {"DATE_ISO", EmitSingleChar, SCC_DATE_ISO, 1, C_NONE},
-
- {"STRING", EmitSingleChar, SCC_STRING, 1, C_CASE | C_GENDER},
- {"RAW_STRING", EmitSingleChar, SCC_RAW_STRING_POINTER, 1, C_NONE | C_GENDER},
+ {"BLUE", EmitSingleChar, SCC_BLUE, 0, C_NONE},
+ {"SILVER", EmitSingleChar, SCC_SILVER, 0, C_NONE},
+ {"GOLD", EmitSingleChar, SCC_GOLD, 0, C_NONE},
+ {"RED", EmitSingleChar, SCC_RED, 0, C_NONE},
+ {"PURPLE", EmitSingleChar, SCC_PURPLE, 0, C_NONE},
+ {"LTBROWN", EmitSingleChar, SCC_LTBROWN, 0, C_NONE},
+ {"ORANGE", EmitSingleChar, SCC_ORANGE, 0, C_NONE},
+ {"GREEN", EmitSingleChar, SCC_GREEN, 0, C_NONE},
+ {"YELLOW", EmitSingleChar, SCC_YELLOW, 0, C_NONE},
+ {"DKGREEN", EmitSingleChar, SCC_DKGREEN, 0, C_NONE},
+ {"CREAM", EmitSingleChar, SCC_CREAM, 0, C_NONE},
+ {"BROWN", EmitSingleChar, SCC_BROWN, 0, C_NONE},
+ {"WHITE", EmitSingleChar, SCC_WHITE, 0, C_NONE},
+ {"LTBLUE", EmitSingleChar, SCC_LTBLUE, 0, C_NONE},
+ {"GRAY", EmitSingleChar, SCC_GRAY, 0, C_NONE},
+ {"DKBLUE", EmitSingleChar, SCC_DKBLUE, 0, C_NONE},
+ {"BLACK", EmitSingleChar, SCC_BLACK, 0, C_NONE},
+
+ {"REV", EmitSingleChar, SCC_REVISION, 0, C_NONE}, // openttd revision string
+
+ {"STRING1", EmitSingleChar, SCC_STRING1, 2, C_CASE | C_GENDER}, // included string that consumes the string id and ONE argument
+ {"STRING2", EmitSingleChar, SCC_STRING2, 3, C_CASE | C_GENDER}, // included string that consumes the string id and TWO arguments
+ {"STRING3", EmitSingleChar, SCC_STRING3, 4, C_CASE | C_GENDER}, // included string that consumes the string id and THREE arguments
+ {"STRING4", EmitSingleChar, SCC_STRING4, 5, C_CASE | C_GENDER}, // included string that consumes the string id and FOUR arguments
+ {"STRING5", EmitSingleChar, SCC_STRING5, 6, C_CASE | C_GENDER}, // included string that consumes the string id and FIVE arguments
+
+ {"STATION_FEATURES", EmitSingleChar, SCC_STATION_FEATURES, 1, C_NONE}, // station features string, icons of the features
+ {"INDUSTRY", EmitSingleChar, SCC_INDUSTRY_NAME, 1, C_CASE | C_GENDER}, // industry, takes an industry #, can have cases
+ {"CARGO_LONG", EmitSingleChar, SCC_CARGO_LONG, 2, C_NONE | C_GENDER},
+ {"CARGO_SHORT", EmitSingleChar, SCC_CARGO_SHORT, 2, C_NONE}, // short cargo description, only ### tons, or ### litres
+ {"POWER", EmitSingleChar, SCC_POWER, 1, C_NONE},
+ {"VOLUME_LONG", EmitSingleChar, SCC_VOLUME_LONG, 1, C_NONE},
+ {"VOLUME_SHORT", EmitSingleChar, SCC_VOLUME_SHORT, 1, C_NONE},
+ {"WEIGHT_LONG", EmitSingleChar, SCC_WEIGHT_LONG, 1, C_NONE},
+ {"WEIGHT_SHORT", EmitSingleChar, SCC_WEIGHT_SHORT, 1, C_NONE},
+ {"FORCE", EmitSingleChar, SCC_FORCE, 1, C_NONE},
+ {"VELOCITY", EmitSingleChar, SCC_VELOCITY, 1, C_NONE},
+ {"HEIGHT", EmitSingleChar, SCC_HEIGHT, 1, C_NONE},
+
+ {"P", EmitPlural, 0, 0, C_DONTCOUNT}, // plural specifier
+ {"G", EmitGender, 0, 0, C_DONTCOUNT}, // gender specifier
+
+ {"DATE_TINY", EmitSingleChar, SCC_DATE_TINY, 1, C_NONE},
+ {"DATE_SHORT", EmitSingleChar, SCC_DATE_SHORT, 1, C_CASE},
+ {"DATE_LONG", EmitSingleChar, SCC_DATE_LONG, 1, C_CASE},
+ {"DATE_ISO", EmitSingleChar, SCC_DATE_ISO, 1, C_NONE},
+
+ {"STRING", EmitSingleChar, SCC_STRING, 1, C_CASE | C_GENDER},
+ {"RAW_STRING", EmitSingleChar, SCC_RAW_STRING_POINTER, 1, C_NONE | C_GENDER},
/* Numbers */
- {"COMMA", EmitSingleChar, SCC_COMMA, 1, C_NONE}, // Number with comma
- {"DECIMAL", EmitSingleChar, SCC_DECIMAL, 2, C_NONE}, // Number with comma and fractional part. Second parameter is number of fractional digits, first parameter is number times 10**(second parameter).
- {"NUM", EmitSingleChar, SCC_NUM, 1, C_NONE}, // Signed number
- {"ZEROFILL_NUM", EmitSingleChar, SCC_ZEROFILL_NUM, 2, C_NONE}, // Unsigned number with zero fill, e.g. "02". First parameter is number, second minimum length
- {"BYTES", EmitSingleChar, SCC_BYTES, 1, C_NONE}, // Unsigned number with "bytes", i.e. "1.02 MiB or 123 KiB"
- {"HEX", EmitSingleChar, SCC_HEX, 1, C_NONE}, // Hexadecimally printed number
-
- {"CURRENCY", EmitSingleChar, SCC_CURRENCY, 1, C_NONE},
-
- {"WAYPOINT", EmitSingleChar, SCC_WAYPOINT_NAME, 1, C_NONE | C_GENDER}, // waypoint name
- {"STATION", EmitSingleChar, SCC_STATION_NAME, 1, C_NONE | C_GENDER},
- {"DEPOT", EmitSingleChar, SCC_DEPOT_NAME, 2, C_NONE | C_GENDER},
- {"TOWN", EmitSingleChar, SCC_TOWN_NAME, 1, C_NONE | C_GENDER},
- {"GROUP", EmitSingleChar, SCC_GROUP_NAME, 1, C_NONE | C_GENDER},
- {"SIGN", EmitSingleChar, SCC_SIGN_NAME, 1, C_NONE | C_GENDER},
- {"ENGINE", EmitSingleChar, SCC_ENGINE_NAME, 1, C_NONE | C_GENDER},
- {"VEHICLE", EmitSingleChar, SCC_VEHICLE_NAME, 1, C_NONE | C_GENDER},
- {"COMPANY", EmitSingleChar, SCC_COMPANY_NAME, 1, C_NONE | C_GENDER},
- {"COMPANYNUM", EmitSingleChar, SCC_COMPANY_NUM, 1, C_NONE},
- {"PRESIDENTNAME", EmitSingleChar, SCC_PRESIDENT_NAME, 1, C_NONE | C_GENDER},
-
- {"", EmitSingleChar, '\n', 0, C_DONTCOUNT},
- {"{", EmitSingleChar, '{', 0, C_DONTCOUNT},
- {"UPARROW", EmitSingleChar, SCC_UPARROW, 0, C_DONTCOUNT},
- {"SMALLUPARROW", EmitSingleChar, SCC_SMALLUPARROW, 0, C_DONTCOUNT},
- {"SMALLDOWNARROW", EmitSingleChar, SCC_SMALLDOWNARROW, 0, C_DONTCOUNT},
- {"TRAIN", EmitSingleChar, SCC_TRAIN, 0, C_DONTCOUNT},
- {"LORRY", EmitSingleChar, SCC_LORRY, 0, C_DONTCOUNT},
- {"BUS", EmitSingleChar, SCC_BUS, 0, C_DONTCOUNT},
- {"PLANE", EmitSingleChar, SCC_PLANE, 0, C_DONTCOUNT},
- {"SHIP", EmitSingleChar, SCC_SHIP, 0, C_DONTCOUNT},
- {"NBSP", EmitSingleChar, 0xA0, 0, C_DONTCOUNT},
- {"CENT", EmitSingleChar, 0xA2, 0, C_DONTCOUNT},
- {"POUNDSIGN", EmitSingleChar, 0xA3, 0, C_DONTCOUNT},
- {"EURO", EmitSingleChar, 0x20AC, 0, C_DONTCOUNT},
- {"YENSIGN", EmitSingleChar, 0xA5, 0, C_DONTCOUNT},
- {"COPYRIGHT", EmitSingleChar, 0xA9, 0, C_DONTCOUNT},
- {"DOWNARROW", EmitSingleChar, SCC_DOWNARROW, 0, C_DONTCOUNT},
- {"CHECKMARK", EmitSingleChar, SCC_CHECKMARK, 0, C_DONTCOUNT},
- {"CROSS", EmitSingleChar, SCC_CROSS, 0, C_DONTCOUNT},
- {"REGISTERED", EmitSingleChar, 0xAE, 0, C_DONTCOUNT},
- {"RIGHTARROW", EmitSingleChar, SCC_RIGHTARROW, 0, C_DONTCOUNT},
- {"SMALLLEFTARROW", EmitSingleChar, SCC_LESSTHAN, 0, C_DONTCOUNT},
- {"SMALLRIGHTARROW", EmitSingleChar, SCC_GREATERTHAN, 0, C_DONTCOUNT},
+ {"COMMA", EmitSingleChar, SCC_COMMA, 1, C_NONE}, // Number with comma
+ {"DECIMAL", EmitSingleChar, SCC_DECIMAL, 2, C_NONE}, // Number with comma and fractional part. Second parameter is number of fractional digits, first parameter is number times 10**(second parameter).
+ {"NUM", EmitSingleChar, SCC_NUM, 1, C_NONE}, // Signed number
+ {"ZEROFILL_NUM", EmitSingleChar, SCC_ZEROFILL_NUM, 2, C_NONE}, // Unsigned number with zero fill, e.g. "02". First parameter is number, second minimum length
+ {"BYTES", EmitSingleChar, SCC_BYTES, 1, C_NONE}, // Unsigned number with "bytes", i.e. "1.02 MiB or 123 KiB"
+ {"HEX", EmitSingleChar, SCC_HEX, 1, C_NONE}, // Hexadecimally printed number
+
+ {"CURRENCY_LONG", EmitSingleChar, SCC_CURRENCY_LONG, 1, C_NONE},
+ {"CURRENCY_SHORT", EmitSingleChar, SCC_CURRENCY_SHORT, 1, C_NONE}, // compact currency
+
+ {"WAYPOINT", EmitSingleChar, SCC_WAYPOINT_NAME, 1, C_NONE | C_GENDER}, // waypoint name
+ {"STATION", EmitSingleChar, SCC_STATION_NAME, 1, C_NONE | C_GENDER},
+ {"DEPOT", EmitSingleChar, SCC_DEPOT_NAME, 2, C_NONE | C_GENDER},
+ {"TOWN", EmitSingleChar, SCC_TOWN_NAME, 1, C_NONE | C_GENDER},
+ {"GROUP", EmitSingleChar, SCC_GROUP_NAME, 1, C_NONE | C_GENDER},
+ {"SIGN", EmitSingleChar, SCC_SIGN_NAME, 1, C_NONE | C_GENDER},
+ {"ENGINE", EmitSingleChar, SCC_ENGINE_NAME, 1, C_NONE | C_GENDER},
+ {"VEHICLE", EmitSingleChar, SCC_VEHICLE_NAME, 1, C_NONE | C_GENDER},
+ {"COMPANY", EmitSingleChar, SCC_COMPANY_NAME, 1, C_NONE | C_GENDER},
+ {"COMPANY_NUM", EmitSingleChar, SCC_COMPANY_NUM, 1, C_NONE},
+ {"PRESIDENT_NAME", EmitSingleChar, SCC_PRESIDENT_NAME, 1, C_NONE | C_GENDER},
+
+ {"", EmitSingleChar, '\n', 0, C_DONTCOUNT},
+ {"{", EmitSingleChar, '{', 0, C_DONTCOUNT},
+ {"UP_ARROW", EmitSingleChar, SCC_UP_ARROW, 0, C_DONTCOUNT},
+ {"SMALL_UP_ARROW", EmitSingleChar, SCC_SMALL_UP_ARROW, 0, C_DONTCOUNT},
+ {"SMALL_DOWN_ARROW", EmitSingleChar, SCC_SMALL_DOWN_ARROW, 0, C_DONTCOUNT},
+ {"TRAIN", EmitSingleChar, SCC_TRAIN, 0, C_DONTCOUNT},
+ {"LORRY", EmitSingleChar, SCC_LORRY, 0, C_DONTCOUNT},
+ {"BUS", EmitSingleChar, SCC_BUS, 0, C_DONTCOUNT},
+ {"PLANE", EmitSingleChar, SCC_PLANE, 0, C_DONTCOUNT},
+ {"SHIP", EmitSingleChar, SCC_SHIP, 0, C_DONTCOUNT},
+ {"NBSP", EmitSingleChar, 0xA0, 0, C_DONTCOUNT},
+ {"CENT", EmitSingleChar, 0xA2, 0, C_DONTCOUNT},
+ {"POUND_SIGN", EmitSingleChar, 0xA3, 0, C_DONTCOUNT},
+ {"EURO", EmitSingleChar, 0x20AC, 0, C_DONTCOUNT},
+ {"YEN_SIGN", EmitSingleChar, 0xA5, 0, C_DONTCOUNT},
+ {"COPYRIGHT", EmitSingleChar, 0xA9, 0, C_DONTCOUNT},
+ {"DOWN_ARROW", EmitSingleChar, SCC_DOWN_ARROW, 0, C_DONTCOUNT},
+ {"CHECKMARK", EmitSingleChar, SCC_CHECKMARK, 0, C_DONTCOUNT},
+ {"CROSS", EmitSingleChar, SCC_CROSS, 0, C_DONTCOUNT},
+ {"REGISTERED", EmitSingleChar, 0xAE, 0, C_DONTCOUNT},
+ {"RIGHT_ARROW", EmitSingleChar, SCC_RIGHT_ARROW, 0, C_DONTCOUNT},
+ {"SMALL_LEFT_ARROW", EmitSingleChar, SCC_LESS_THAN, 0, C_DONTCOUNT},
+ {"SMALL_RIGHT_ARROW", EmitSingleChar, SCC_GREATER_THAN, 0, C_DONTCOUNT},
/* The following are directional formatting codes used to get the RTL strings right:
* http://www.unicode.org/unicode/reports/tr9/#Directional_Formatting_Codes */
- {"LRM", EmitSingleChar, CHAR_TD_LRM, 0, C_DONTCOUNT},
- {"RLM", EmitSingleChar, CHAR_TD_RLM, 0, C_DONTCOUNT},
- {"LRE", EmitSingleChar, CHAR_TD_LRE, 0, C_DONTCOUNT},
- {"RLE", EmitSingleChar, CHAR_TD_RLE, 0, C_DONTCOUNT},
- {"LRO", EmitSingleChar, CHAR_TD_LRO, 0, C_DONTCOUNT},
- {"RLO", EmitSingleChar, CHAR_TD_RLO, 0, C_DONTCOUNT},
- {"PDF", EmitSingleChar, CHAR_TD_PDF, 0, C_DONTCOUNT},
+ {"LRM", EmitSingleChar, CHAR_TD_LRM, 0, C_DONTCOUNT},
+ {"RLM", EmitSingleChar, CHAR_TD_RLM, 0, C_DONTCOUNT},
+ {"LRE", EmitSingleChar, CHAR_TD_LRE, 0, C_DONTCOUNT},
+ {"RLE", EmitSingleChar, CHAR_TD_RLE, 0, C_DONTCOUNT},
+ {"LRO", EmitSingleChar, CHAR_TD_LRO, 0, C_DONTCOUNT},
+ {"RLO", EmitSingleChar, CHAR_TD_RLO, 0, C_DONTCOUNT},
+ {"PDF", EmitSingleChar, CHAR_TD_PDF, 0, C_DONTCOUNT},
};
/** Description of a plural form */