From 2c5ed4e3300378ce76c8d9c3818d6f73e5119f68 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 20 Apr 2020 19:42:10 +0200 Subject: patch 8.2.0612: Vim9: no check for space before #comment Problem: Vim9: no check for space before #comment. Solution: Add space checks. --- src/proto/regexp.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/proto/regexp.pro') diff --git a/src/proto/regexp.pro b/src/proto/regexp.pro index 27ba8e59a..d3a775415 100644 --- a/src/proto/regexp.pro +++ b/src/proto/regexp.pro @@ -1,6 +1,7 @@ /* regexp.c */ int re_multiline(regprog_T *prog); -char_u *skip_regexp(char_u *startp, int dirc, int magic); +char_u *skip_regexp(char_u *startp, int delim, int magic); +char_u *skip_regexp_err(char_u *startp, int delim, int magic); char_u *skip_regexp_ex(char_u *startp, int dirc, int magic, char_u **newp, int *dropped); reg_extmatch_T *ref_extmatch(reg_extmatch_T *em); void unref_extmatch(reg_extmatch_T *em); -- cgit v1.2.1