From 65e63554227246d16a9bbb5eca3edbd98f14f1c7 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 29 Nov 2009 17:24:39 +0000 Subject: (svn r18339) -Cleanup: remove SKIP support from strgen too --- src/strings.cpp | 4 ---- src/table/control_codes.h | 1 - src/table/strgen_tables.h | 2 -- 3 files changed, 7 deletions(-) diff --git a/src/strings.cpp b/src/strings.cpp index e54edd36b..2151ac7b7 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -801,10 +801,6 @@ static char *FormatString(char *buff, const char *str, int64 *argv, uint casei, break; } - case SCC_SKIP: // {SKIP} - argv++; - break; - /* This sets up the gender for the string. * We just ignore this one. It's used in {G 0 Der Die Das} to determine the case. */ case SCC_GENDER_INDEX: // {GENDER 0} diff --git a/src/table/control_codes.h b/src/table/control_codes.h index cf533847a..38c7f6362 100644 --- a/src/table/control_codes.h +++ b/src/table/control_codes.h @@ -68,7 +68,6 @@ enum StringControlCode { SCC_STRING4, SCC_STRING5, - SCC_SKIP, SCC_STRING, SCC_COMMA, SCC_NUM, diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h index 8140d1c00..97f543d5f 100644 --- a/src/table/strgen_tables.h +++ b/src/table/strgen_tables.h @@ -85,8 +85,6 @@ static const CmdStruct _cmd_structs[] = { {"DATE_LONG", EmitSingleChar, SCC_DATE_LONG, 1, C_NONE}, {"DATE_ISO", EmitSingleChar, SCC_DATE_ISO, 1, C_NONE}, - {"SKIP", EmitSingleChar, SCC_SKIP, 1, C_NONE}, - {"STRING", EmitSingleChar, SCC_STRING, 1, C_CASE}, {"RAW_STRING", EmitSingleChar, SCC_RAW_STRING_POINTER, 1, C_NONE}, -- cgit v1.2.3-70-g09d2