diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-20 21:23:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-20 21:23:14 +0100 |
commit | 99880f96cf444014d589fc1d99bb164deaba71ce (patch) | |
tree | c06cd75862453e8ea2409f69ecfc6a9191e3b7f3 /src/errors.h | |
parent | a28639e71198238d5c09c43445dc448d7f3fb29b (diff) | |
download | vim-git-99880f96cf444014d589fc1d99bb164deaba71ce.tar.gz |
patch 8.2.2378: Vim9: no error message for dividing by zerov8.2.2378
Problem: Vim9: no error message for dividing by zero.
Solution: Give an error message. (issue #7704)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index eb5ee1de2..4bd4efea6 100644 --- a/src/errors.h +++ b/src/errors.h @@ -343,3 +343,5 @@ EXTERN char e_mismatched_enddef[] INIT(= N_("E1152: Mismatched enddef")); EXTERN char e_invalid_operation_for_bool[] INIT(= N_("E1153: Invalid operation for bool")); +EXTERN char e_divide_by_zero[] + INIT(= N_("E1154: Divide by zero")); |