patch 8.2.1125: Vim9: double quote can be a string or a comment
Problem: Vim9: double quote can be a string or a comment.
Solution: Only support comments starting with # to avoid confusion.
diff --git a/src/vim9script.c b/src/vim9script.c
index 14586f9..ef447c7 100644
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -342,7 +342,7 @@
goto erret;
}
- arg = skipwhite_and_linebreak_keep_string(arg + 4, evalarg);
+ arg = skipwhite_and_linebreak(arg + 4, evalarg);
tv.v_type = VAR_UNKNOWN;
// TODO: should we accept any expression?
if (*arg == '\'')