mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.1891: Vim9: skipping over expression doesn't handle line breaks
Problem: Vim9: skipping over expression doesn't handle line breaks. Solution: Pass evalarg to skip_expr(). (closes #7157)
This commit is contained in:
@@ -368,12 +368,12 @@ eval_to_string_skip(
|
||||
* Return FAIL for an error, OK otherwise.
|
||||
*/
|
||||
int
|
||||
skip_expr(char_u **pp)
|
||||
skip_expr(char_u **pp, evalarg_T *evalarg)
|
||||
{
|
||||
typval_T rettv;
|
||||
|
||||
*pp = skipwhite(*pp);
|
||||
return eval1(pp, &rettv, NULL);
|
||||
return eval1(pp, &rettv, evalarg);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user