updated for version 7.0b01
diff --git a/src/option.c b/src/option.c
index ff33e0f..4b669be 100644
--- a/src/option.c
+++ b/src/option.c
@@ -649,8 +649,13 @@
#endif
},
{"casemap", "cmp", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
+#ifdef FEAT_MBYTE
(char_u *)&p_cmp, PV_NONE,
{(char_u *)"internal,keepascii", (char_u *)0L}
+#else
+ (char_u *)NULL, PV_NONE,
+ {(char_u *)0L, (char_u *)0L}
+#endif
},
{"cdpath", "cd", P_STRING|P_EXPAND|P_VI_DEF|P_COMMA|P_NODUP,
#ifdef FEAT_SEARCHPATH
@@ -4928,7 +4933,9 @@
/* initialize the table for 'iskeyword' et.al. */
(void)init_chartab();
+#ifdef FEAT_MBYTE
(void)opt_strings_flags(p_cmp, p_cmp_values, &cmp_flags, TRUE);
+#endif
(void)opt_strings_flags(p_bkc, p_bkc_values, &bkc_flags, TRUE);
#ifdef FEAT_SESSION
(void)opt_strings_flags(p_ssop, p_ssop_values, &ssop_flags, TRUE);
@@ -6377,12 +6384,14 @@
errmsg = e_invarg;
}
+#ifdef FEAT_MBYTE
/* 'casemap' */
else if (varp == &p_cmp)
{
if (opt_strings_flags(p_cmp, p_cmp_values, &cmp_flags, TRUE) != OK)
errmsg = e_invarg;
}
+#endif
#ifdef FEAT_DIFF
/* 'diffopt' */
diff --git a/src/option.h b/src/option.h
index 1bd9d7d..7bc952e 100644
--- a/src/option.h
+++ b/src/option.h
@@ -350,13 +350,15 @@
#ifdef FEAT_LINEBREAK
EXTERN char_u *p_breakat; /* 'breakat' */
#endif
+#ifdef FEAT_MBYTE
EXTERN char_u *p_cmp; /* 'casemap' */
EXTERN unsigned cmp_flags;
-#ifdef IN_OPTION_C
+# ifdef IN_OPTION_C
static char *(p_cmp_values[]) = {"internal", "keepascii", NULL};
+# endif
+# define CMP_INTERNAL 0x001
+# define CMP_KEEPASCII 0x002
#endif
-#define CMP_INTERNAL 0x001
-#define CMP_KEEPASCII 0x002
#ifdef FEAT_MBYTE
EXTERN char_u *p_enc; /* 'encoding' */
EXTERN int p_deco; /* 'delcombine' */
diff --git a/src/po/ja.sjis.po b/src/po/ja.sjis.po
index 56a4a63..411fc3f 100644
--- a/src/po/ja.sjis.po
+++ b/src/po/ja.sjis.po
@@ -4708,7 +4708,7 @@
#, c-format
msgid "Missing FOL/LOW/UPP line in %s"
-msgstr "%d sÚÉ FOL/LOW/UPP ª èܹñ"
+msgstr "%s sÚÉ FOL/LOW/UPP ª èܹñ"
msgid "COMPOUNDSYLMAX used without SYLLABLE"
msgstr "SYLLABLE ªwè³êÈ¢ COMPOUNDSYLMAX"
@@ -4772,7 +4772,7 @@
#, c-format
msgid "Reading word file %s ..."
-msgstr "WüÍ©çÇÝ..."
+msgstr "WüÍ©çÇÝ %s ..."
#, c-format
msgid "Duplicate /encoding= line ignored in %s line %d: %s"
@@ -4780,7 +4780,7 @@
#, c-format
msgid "/encoding= line after word ignored in %s line %d: %s"
-msgstr "s Ì %d sÚÌ PêÌãÌ /encoding= sð³µÜµ½: %s"
+msgstr "%s s Ì %d sÚÌ PêÌãÌ /encoding= sð³µÜµ½: %s"
#, c-format
msgid "Duplicate /regions= line ignored in %s line %d: %s"
@@ -4891,7 +4891,7 @@
#, c-format
msgid "E779: Old .sug file, needs to be updated: %s"
-msgstr "E779: â .sug t@CÈÌÅ, Abvf[gµÄ¾³¢"
+msgstr "E779: â .sug t@CÈÌÅ, Abvf[gµÄ¾³¢: %s"
#, c-format
msgid "E780: .sug file is for newer version of Vim: %s"
diff --git a/src/testdir/test61.in b/src/testdir/test61.in
index 172c36e..749d8ad 100644
--- a/src/testdir/test61.in
+++ b/src/testdir/test61.in
@@ -30,7 +30,7 @@
:"
:/^222/w >>test.out
:" Delay for three seconds and go some seconds forward and backward
-:sleep 3
+:sleep 2
Aa:set ul=100
Ab:set ul=100
Ac:set ul=100