Mercurial > vim
comparison src/vim9class.c @ 31833:3516e35f409f v9.0.1249
patch 9.0.1249: cannot export an abstract class
Commit: https://github.com/vim/vim/commit/657aea7fc47fb919ce76fad64ba0ec55a1af80f1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 27 13:16:19 2023 +0000
patch 9.0.1249: cannot export an abstract class
Problem: Cannot export an abstract class. (Ernie Rael)
Solution: Add the EX_EXPORT flag to :abstract. (closes https://github.com/vim/vim/issues/11884)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Jan 2023 14:30:04 +0100 |
parents | 64f03e860c91 |
children | ffa11e2757e7 |
comparison
equal
deleted
inserted
replaced
31832:b8c29a701f66 | 31833:3516e35f409f |
---|---|
421 break; | 421 break; |
422 } | 422 } |
423 char *wrong_name = is_class ? "endinterface" : "endclass"; | 423 char *wrong_name = is_class ? "endinterface" : "endclass"; |
424 if (checkforcmd(&p, wrong_name, is_class ? 5 : 4)) | 424 if (checkforcmd(&p, wrong_name, is_class ? 5 : 4)) |
425 { | 425 { |
426 semsg(_(e_invalid_command_str), line); | 426 semsg(_(e_invalid_command_str_expected_str), line, end_name); |
427 break; | 427 break; |
428 } | 428 } |
429 | 429 |
430 int has_public = FALSE; | 430 int has_public = FALSE; |
431 if (checkforcmd(&p, "public", 3)) | 431 if (checkforcmd(&p, "public", 3)) |