comparison src/vim.h @ 19013:dd9ab0674eec v8.2.0067

patch 8.2.0067: ERROR_UNKNOWN clashes on some systems Commit: https://github.com/vim/vim/commit/ef140544f6703a7a4c0f6a15f610508ed6b09e89 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 31 21:27:13 2019 +0100 patch 8.2.0067: ERROR_UNKNOWN clashes on some systems Problem: ERROR_UNKNOWN clashes on some systems. Solution: Rename ERROR_ to FCERR_. (Ola S?der, closes https://github.com/vim/vim/issues/5415)
author Bram Moolenaar <Bram@vim.org>
date Tue, 31 Dec 2019 21:30:04 +0100
parents e378907d79bf
children 90da7f8130ca
comparison
equal deleted inserted replaced
19012:5eb079827641 19013:dd9ab0674eec
2549 2549
2550 #define DO_NOT_FREE_CNT 99999 // refcount for dict or list that should not 2550 #define DO_NOT_FREE_CNT 99999 // refcount for dict or list that should not
2551 // be freed. 2551 // be freed.
2552 2552
2553 // errors for when calling a function 2553 // errors for when calling a function
2554 #define ERROR_UNKNOWN 0 2554 #define FCERR_UNKNOWN 0
2555 #define ERROR_TOOMANY 1 2555 #define FCERR_TOOMANY 1
2556 #define ERROR_TOOFEW 2 2556 #define FCERR_TOOFEW 2
2557 #define ERROR_SCRIPT 3 2557 #define FCERR_SCRIPT 3
2558 #define ERROR_DICT 4 2558 #define FCERR_DICT 4
2559 #define ERROR_NONE 5 2559 #define FCERR_NONE 5
2560 #define ERROR_OTHER 6 2560 #define FCERR_OTHER 6
2561 #define ERROR_DELETED 7 2561 #define FCERR_DELETED 7
2562 #define ERROR_NOTMETHOD 8 // function cannot be used as a method 2562 #define FCERR_NOTMETHOD 8 // function cannot be used as a method
2563 2563
2564 // flags for find_name_end() 2564 // flags for find_name_end()
2565 #define FNE_INCL_BR 1 // include [] in name 2565 #define FNE_INCL_BR 1 // include [] in name
2566 #define FNE_CHECK_START 2 // check name starts with valid character 2566 #define FNE_CHECK_START 2 // check name starts with valid character
2567 2567