Mercurial > vim
comparison src/ops.c @ 7484:1fe988587423 v7.4.1044
commit https://github.com/vim/vim/commit/718272a7e13c71095ce07eb3b3d5e1f9790a6991
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 3 22:56:45 2016 +0100
patch 7.4.1044
Problem: Can't build without the +eval feature.
Solution: Add #ifdef.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 03 Jan 2016 23:00:05 +0100 |
parents | a49163681559 |
children | 6d969668bfc8 |
comparison
equal
deleted
inserted
replaced
7483:2fc484f5b182 | 7484:1fe988587423 |
---|---|
7203 p_shm = (char_u *)""; | 7203 p_shm = (char_u *)""; |
7204 msg(IObuff); | 7204 msg(IObuff); |
7205 p_shm = p; | 7205 p_shm = p; |
7206 } | 7206 } |
7207 } | 7207 } |
7208 #if defined(FEAT_EVAL) | |
7208 if (dict != NULL) | 7209 if (dict != NULL) |
7209 { | 7210 { |
7210 dict_add_nr_str(dict, "words", (long)word_count, NULL); | 7211 dict_add_nr_str(dict, "words", (long)word_count, NULL); |
7211 dict_add_nr_str(dict, "chars", (long)char_count, NULL); | 7212 dict_add_nr_str(dict, "chars", (long)char_count, NULL); |
7212 dict_add_nr_str(dict, "bytes", (long)byte_count + bom_count, NULL); | 7213 dict_add_nr_str(dict, "bytes", (long)byte_count + bom_count, NULL); |
7221 dict_add_nr_str(dict, "cursor_bytes", (long)byte_count_cursor, NULL); | 7222 dict_add_nr_str(dict, "cursor_bytes", (long)byte_count_cursor, NULL); |
7222 dict_add_nr_str(dict, "cursor_chars", (long)char_count_cursor, NULL); | 7223 dict_add_nr_str(dict, "cursor_chars", (long)char_count_cursor, NULL); |
7223 dict_add_nr_str(dict, "cursor_words", (long)word_count_cursor, NULL); | 7224 dict_add_nr_str(dict, "cursor_words", (long)word_count_cursor, NULL); |
7224 } | 7225 } |
7225 } | 7226 } |
7226 } | 7227 #endif |
7228 } |