Mercurial > vim
comparison src/errors.h @ 30333:fc0830246f49 v9.0.0502
patch 9.0.0502: a closure in a nested loop in a :def function does not work
Commit: https://github.com/vim/vim/commit/cc34181f9994d64f8c8fa2f5845eaf0cc963067f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 19 15:54:34 2022 +0100
patch 9.0.0502: a closure in a nested loop in a :def function does not work
Problem: A closure in a nested loop in a :def function does not work.
Solution: Use an array of loopvars, one per loop level.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 19 Sep 2022 17:00:07 +0200 |
parents | 8496a2c45962 |
children | ea2935ec4435 |
comparison
equal
deleted
inserted
replaced
30332:462d122636b3 | 30333:fc0830246f49 |
---|---|
3327 #endif | 3327 #endif |
3328 #ifdef FEAT_PROP_POPUP | 3328 #ifdef FEAT_PROP_POPUP |
3329 EXTERN char e_cannot_use_length_endcol_and_endlnum_with_text[] | 3329 EXTERN char e_cannot_use_length_endcol_and_endlnum_with_text[] |
3330 INIT(= N_("E1305: Cannot use \"length\", \"end_col\" and \"end_lnum\" with \"text\"")); | 3330 INIT(= N_("E1305: Cannot use \"length\", \"end_col\" and \"end_lnum\" with \"text\"")); |
3331 #endif | 3331 #endif |
3332 #ifdef FEAT_EVAL | |
3333 EXTERN char e_loop_nesting_too_deep[] | |
3334 INIT(= N_("E1306: Loop nesting too deep")); | |
3335 #endif |