comparison src/structs.h @ 30249:c0f0118b6790 v9.0.0460

patch 9.0.0460: loop variable can't be found Commit: https://github.com/vim/vim/commit/766ae5b252eaa6ee2bff70f1913d1cbfb51101bd Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 14 00:30:51 2022 +0100 patch 9.0.0460: loop variable can't be found Problem: Loop variable can't be found. Solution: Adjust block_id of the loop variable each round.
author Bram Moolenaar <Bram@vim.org>
date Wed, 14 Sep 2022 01:45:04 +0200
parents bc8ad1c28b51
children d3cfd12839ef
comparison
equal deleted inserted replaced
30248:025e37804c32 30249:c0f0118b6790
1624 } getline_opt_T; 1624 } getline_opt_T;
1625 1625
1626 typedef struct svar_S svar_T; 1626 typedef struct svar_S svar_T;
1627 1627
1628 #if defined(FEAT_EVAL) || defined(PROTO) 1628 #if defined(FEAT_EVAL) || defined(PROTO)
1629 /*
1630 * Info used by a ":for" loop.
1631 */
1632 typedef struct
1633 {
1634 int fi_semicolon; // TRUE if ending in '; var]'
1635 int fi_varcount; // nr of variables in the list
1636 int fi_break_count; // nr of line breaks encountered
1637 listwatch_T fi_lw; // keep an eye on the item used.
1638 list_T *fi_list; // list being used
1639 int fi_bi; // index of blob
1640 blob_T *fi_blob; // blob being used
1641 char_u *fi_string; // copy of string being used
1642 int fi_byte_idx; // byte index in fi_string
1643 int fi_cs_flags; // cs_flags or'ed together
1644 } forinfo_T;
1645
1629 typedef struct funccall_S funccall_T; 1646 typedef struct funccall_S funccall_T;
1630 1647
1631 // values used for "uf_def_status" 1648 // values used for "uf_def_status"
1632 typedef enum { 1649 typedef enum {
1633 UF_NOT_COMPILED, // executed with interpreter 1650 UF_NOT_COMPILED, // executed with interpreter