Fix many instances of "delimeter" to "delimiter".

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2007-10-08 12:02:56 +00:00
commit 3777b685a6
7 changed files with 24 additions and 24 deletions

View file

@ -651,11 +651,11 @@ static String *get_filename(String *str, int *sysfile) {
}
#if defined(_WIN32) || defined(MACSWIG)
/* accept Unix path separator on non-Unix systems */
Replaceall(fn, "/", SWIG_FILE_DELIMETER);
Replaceall(fn, "/", SWIG_FILE_DELIMITER);
#endif
#if defined(__CYGWIN__)
/* accept Windows path separator in addition to Unix path separator */
Replaceall(fn, "\\", SWIG_FILE_DELIMETER);
Replaceall(fn, "\\", SWIG_FILE_DELIMITER);
#endif
Seek(fn, 0, SEEK_SET);
return fn;
@ -1610,7 +1610,7 @@ String *Preprocessor_parse(String *s) {
if (sysfile || !strlen(dirname))
dirname = 0;
if (dirname) {
dirname[strlen(dirname) - 1] = 0; /* Kill trailing directory delimeter */
dirname[strlen(dirname) - 1] = 0; /* Kill trailing directory delimiter */
Swig_push_directory(dirname);
}
s2 = Preprocessor_parse(s1);
@ -1746,7 +1746,7 @@ String *Preprocessor_parse(String *s) {
if (sysfile || !strlen(dirname))
dirname = 0;
if (dirname) {
dirname[strlen(dirname) - 1] = 0; /* Kill trailing directory delimeter */
dirname[strlen(dirname) - 1] = 0; /* Kill trailing directory delimiter */
Swig_push_directory(dirname);
}
s2 = Preprocessor_parse(s1);