Mercurial > vim
diff src/if_ruby.c @ 20548:6564dafe5005 v8.2.0828
patch 8.2.0828: Travis: regexp patttern doesn't work everywhere
Commit: https://github.com/vim/vim/commit/92c098d18e435a7a762409744ebe2dbb3746ed77
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 26 20:09:11 2020 +0200
patch 8.2.0828: Travis: regexp patttern doesn't work everywhere
Problem: Travis: regexp patttern doesn't work everywhere.
Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/6146)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 May 2020 20:15:04 +0200 |
parents | a042d2a3b13d |
children | d571231175b4 |
line wrap: on
line diff
--- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -100,7 +100,8 @@ #endif // On macOS pre-installed Ruby defines "SIZEOF_TIME_T" as "SIZEOF_LONG" so it -// conflicts with the definition in config.h then causes macro-redifned warning. +// conflicts with the definition in config.h then causes a macro-redefined +// warning. #ifdef SIZEOF_TIME_T # undef SIZEOF_TIME_T #endif @@ -113,6 +114,11 @@ # include <st.h> // for ST_STOP and ST_CONTINUE #endif +// See above. +#ifdef SIZEOF_TIME_T +# undef SIZEOF_TIME_T +#endif + #undef off_t // ruby defines off_t as _int64, Mingw uses long #undef EXTERN #undef _