From cbb37ad6fd6143ca812a693ae47c484a4e478dab Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 16 Aug 2006 15:04:21 +0000 Subject: [PATCH] updated for version 7.0-056 --- src/ex_docmd.c | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ex_docmd.c b/src/ex_docmd.c index f54777155..e78f76244 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -1710,6 +1710,10 @@ do_one_cmd(cmdlinep, sourcing, save_cmdmod = cmdmod; vim_memset(&cmdmod, 0, sizeof(cmdmod)); + /* "#!anything" is handled like a comment. */ + if ((*cmdlinep)[0] == '#' && (*cmdlinep)[1] == '!') + goto doend; + /* * Repeat until no more command modifiers are found. */ diff --git a/src/version.c b/src/version.c index 675985f1d..cfa4666d4 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 56, /**/ 55, /**/ -- 2.50.1