Mercurial > vim
comparison src/ex_docmd.c @ 23378:8e956ea07bb2 v8.2.2232
patch 8.2.2232: compiler error for falling through into next case
Commit: https://github.com/vim/vim/commit/9618a25b9c054f0ee4e267d2db96b6e7c113ed7a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 27 19:18:03 2020 +0100
patch 8.2.2232: compiler error for falling through into next case
Problem: Compiler error for falling through into next case.
Solution: Move FALLTHROUGH below the #endif
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 27 Dec 2020 19:30:03 +0100 |
parents | 86d155b29dd7 |
children | 9a5f12b36273 |
comparison
equal
deleted
inserted
replaced
23377:9ab713bd803a | 23378:8e956ea07bb2 |
---|---|
8651 break; | 8651 break; |
8652 } | 8652 } |
8653 #ifdef FEAT_EVAL | 8653 #ifdef FEAT_EVAL |
8654 // "%%" alternate file | 8654 // "%%" alternate file |
8655 off = 1; | 8655 off = 1; |
8656 #endif | |
8656 // FALLTHROUGH | 8657 // FALLTHROUGH |
8657 #endif | |
8658 | |
8659 case SPEC_HASH: // '#' or "#99": alternate file | 8658 case SPEC_HASH: // '#' or "#99": alternate file |
8660 if (off == 0 ? src[1] == '#' : src[2] == '%') | 8659 if (off == 0 ? src[1] == '#' : src[2] == '%') |
8661 { | 8660 { |
8662 // "##" or "%%%": the argument list | 8661 // "##" or "%%%": the argument list |
8663 result = arg_all(); | 8662 result = arg_all(); |