patch 7.4.1983
Problem: farsi.c and arabic.c are included in a strange way.
Solution: Build them like other files.
diff --git a/src/arabic.c b/src/arabic.c
index 1c30598..818aae6 100644
--- a/src/arabic.c
+++ b/src/arabic.c
@@ -10,14 +10,13 @@
/*
* arabic.c: functions for Arabic language
*
- * Included by main.c, when FEAT_ARABIC & FEAT_GUI is defined.
- *
- * --
- *
* Author: Nadim Shaikli & Isam Bayazidi
- *
*/
+#include "vim.h"
+
+#if defined(FEAT_ARABIC) || defined(PROTO)
+
static int A_is_a(int cur_c);
static int A_is_s(int cur_c);
static int A_is_f(int cur_c);
@@ -1148,3 +1147,5 @@
{
return (c == a_HAMZA || c == a_s_HAMZA);
}
+
+#endif /* FEAT_ARABIC */